commitment

package
v0.8.22 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitmentManager

type CommitmentManager struct {
	// contains filtered or unexported fields
}

CommitmentManager takes the new block commitments and submits them to L1

func NewCommitmentManager

func NewCommitmentManager(vm *vm.VM) *CommitmentManager

func (*CommitmentManager) Commit added in v0.8.22

func (w *CommitmentManager) Commit(maxBlocks *big.Int, seq *sequencer.Sequencer, client *ethclient.Client)

func (*CommitmentManager) Run

func (w *CommitmentManager) Run()

func (*CommitmentManager) SyncRequest added in v0.8.22

func (w *CommitmentManager) SyncRequest(
	maxBlocks *big.Int,
	seq *sequencer.Sequencer,
	client *ethclient.Client,
) error

you must hold [w.l] when calling this function

Jump to

Keyboard shortcuts

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