l2_sync

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL