Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { L1Endpoint string L2Endpoint string L2EngineEndpoint string L2CheckPoint string TaikoL1Address common.Address TaikoL2Address common.Address JwtSecret string P2PSyncVerifiedBlocks bool P2PSyncTimeout time.Duration BackOffRetryInterval time.Duration }
Config contains the configurations to initialize a Taiko driver.
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from the command line inputs.
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver keeps the L2 execution engine's local block chain in sync with the TaikoL1 contract.
func (*Driver) ChainSyncer ¶ added in v0.1.5
func (d *Driver) ChainSyncer() *chainSyncer.L2ChainSyncer
ChainSyncer returns the driver's chain syncer.
func (*Driver) InitFromCli ¶
New initializes the given driver instance based on the command line flags.
Click to show internal directories.
Click to hide internal directories.