Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // AcceptEmptyClosedBatches is a flag to enable or disable the acceptance of empty batches. // if true, the synchronizer will accept empty batches and process them. AcceptEmptyClosedBatches bool `mapstructure:"AcceptEmptyClosedBatches"` // ReprocessFullBatchOnClose if is true when a batch is closed is force to reprocess again ReprocessFullBatchOnClose bool `mapstructure:"ReprocessFullBatchOnClose"` // CheckLastL2BlockHashOnCloseBatch if is true when a batch is closed is force to check the last L2Block hash CheckLastL2BlockHashOnCloseBatch bool `mapstructure:"CheckLastL2BlockHashOnCloseBatch"` }
Config configuration of L2 sync process
Directories ¶
Path | Synopsis |
---|---|
// https://www.digitalocean.com/community/tutorials/how-to-add-extra-information-to-errors-in-go
|
// https://www.digitalocean.com/community/tutorials/how-to-add-extra-information-to-errors-in-go |
Click to show internal directories.
Click to hide internal directories.