Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SequencerControl ¶
type SequencerControl interface { StartSequencer(ctx context.Context, hash common.Hash) error StopSequencer(ctx context.Context) (common.Hash, error) SequencerActive(ctx context.Context) (bool, error) LatestUnsafeBlock(ctx context.Context) (eth.BlockInfo, error) PostUnsafePayload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope) error }
SequencerControl defines the interface for controlling the sequencer.
func NewSequencerControl ¶
func NewSequencerControl(exec *sources.EthClient, node *sources.RollupClient) SequencerControl
NewSequencerControl creates a new SequencerControl instance.
Click to show internal directories.
Click to hide internal directories.