Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenesisConf ¶
type GenesisConf struct { L2Hash common.Hash `ask:"--l2-hash" help:"Genesis block hash of L2"` L1Hash common.Hash `ask:"--l1-hash" help:"Block hash of L1 after (not incl.) which L1 starts deriving blocks"` L1Num uint64 `ask:"--l1-num" help:"Block number of L1 matching the l1-hash"` }
func (*GenesisConf) GetGenesis ¶
func (conf *GenesisConf) GetGenesis() l2.Genesis
type LogCmd ¶
type LogCmd struct { LogLvl LogLvl `ask:"--level" help:"Log level: trace, debug, info, warn, error, crit. Capitals are accepted too."` Color bool `ask:"--color" help:"Color the log output. Defaults to true if terminal is detected."` Format LogFormat `ask:"--format" help:"Format the log output. Supported formats: 'text', 'json'"` }
type OpNodeCmd ¶
type OpNodeCmd struct { L1NodeAddrs []string `ask:"--l1" help:"Addresses of L1 User JSON-RPC endpoints to use (eth namespace required)"` L2EngineAddrs []string `ask:"--l2" help:"Addresses of L2 Engine JSON-RPC endpoints to use (engine and eth namespace required)"` LogCmd `ask:".log" help:"Log configuration"` Genesis GenesisConf `ask:".genesis" help:"Genesis anchor point"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.