Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { BuildEnv string MtlNetworkName string L1EthRpc string L2MtlRpc string DtlClientUrl string DisperserEndpoint string RetrieverSocket string EigenDaHttpPort int GrpcPort int64 ChainId uint64 GraphProvider string PrivateKey string Mnemonic string SequencerHDPath string FeePrivateKey string FeeMnemonic string FeeHDPath string Passphrase string EigenContractAddress string EigenFeeContractAddress string DataStoreDuration uint64 DataStoreTimeout uint64 SentryEnable bool MainWorkerPollInterval time.Duration CheckerWorkerPollInterval time.Duration FeeWorkerPollInterval time.Duration BlockOffset uint64 RollUpMinTxn uint64 RollUpMaxSize uint64 EigenLayerNode int EigenLogConfig logging.Config MetricsServerEnable bool MetricsHostname string MetricsPort uint64 LogLevel string LogTerminal bool SentryDsn string SentryTraceRate time.Duration ResubmissionTimeout time.Duration RetrieverTimeout time.Duration PollingDuration time.Duration NumConfirmations uint64 SafeAbortNonceTooLowCount uint64 EchoDebug bool MtlBatcherEnable bool FeeSizeSec string FeePerBytePerTime uint64 FeeModelEnable bool DisableHTTP2 bool DbPath string CheckerBatchIndex uint64 CheckerEnable bool EnableHsm bool HsmAPIName string HsmCreden string HsmAddress string HsmFeeAPIName string HsmFeeAddress string MinTimeoutRollupTxn uint64 RollupTimeout time.Duration }
type MantleBatch ¶
type MantleBatch struct {
// contains filtered or unexported fields
}
func NewMantleBatch ¶
func NewMantleBatch(cfg Config) (*MantleBatch, error)
func (*MantleBatch) Start ¶
func (mb *MantleBatch) Start() error
func (*MantleBatch) Stop ¶
func (mb *MantleBatch) Stop()
Click to show internal directories.
Click to hide internal directories.