Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Log log.Logger Name string // API to submit txs to L1Client *ethclient.Client // API to hit for batch data L2Client *ethclient.Client RollupNode *sources.RollupClient // Limit the size of txs MinL1TxSize uint64 MaxL1TxSize uint64 // Where to send the batch txs to. BatchInboxAddress common.Address // The batcher can decide to set it shorter than the actual timeout, // since submitting continued channel data to L1 is not instantaneous. // It's not worth it to work with nearly timed-out channels. ChannelTimeout uint64 // Chain ID of the L1 chain to submit txs to. ChainID *big.Int // Private key to sign batch txs with PrivKey *ecdsa.PrivateKey PollInterval time.Duration }
Click to show internal directories.
Click to hide internal directories.