Documentation ¶
Index ¶
- func NewConfig(ctx *cli.Context, log log.Logger) (*node.Config, error)
- func NewDriverConfig(ctx *cli.Context) *driver.Config
- func NewL1EndpointConfig(ctx *cli.Context) *node.L1EndpointConfig
- func NewL2EndpointConfig(ctx *cli.Context, log log.Logger) (*node.L2EndpointConfig, error)
- func NewL2SyncEndpointConfig(ctx *cli.Context) *node.L2SyncEndpointConfig
- func NewRollupConfig(ctx *cli.Context) (*rollup.Config, error)
- func NewSnapshotLogger(ctx *cli.Context) (log.Logger, error)
- func NewSyncConfig(ctx *cli.Context) *sync.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDriverConfig ¶
func NewL1EndpointConfig ¶
func NewL1EndpointConfig(ctx *cli.Context) *node.L1EndpointConfig
func NewL2EndpointConfig ¶
func NewL2EndpointConfig(ctx *cli.Context, log log.Logger) (*node.L2EndpointConfig, error)
func NewL2SyncEndpointConfig ¶
func NewL2SyncEndpointConfig(ctx *cli.Context) *node.L2SyncEndpointConfig
NewL2SyncEndpointConfig returns a pointer to a L2SyncEndpointConfig if the flag is set, otherwise nil.
func NewRollupConfig ¶
func NewSnapshotLogger ¶
func NewSyncConfig ¶ added in v1.0.2
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package heartbeat provides a service for sending heartbeats to a server.
|
Package heartbeat provides a service for sending heartbeats to a server. |
Package metrics provides a set of metrics for the kroma-node.
|
Package metrics provides a set of metrics for the kroma-node. |
derive
Package derive provides the data transformation functions that take L1 data and turn it into L2 blocks and results.
|
Package derive provides the data transformation functions that take L1 data and turn it into L2 blocks and results. |
sync
Package sync is responsible for reconciling L1 and L2.
|
Package sync is responsible for reconciling L1 and L2. |
Package sources exports a number of clients used to access ethereum chain data.
|
Package sources exports a number of clients used to access ethereum chain data. |
Package testlog provides a log handler for unit tests.
|
Package testlog provides a log handler for unit tests. |
Click to show internal directories.
Click to hide internal directories.