op_stack

package
v0.0.0-...-5793453 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpEventProcessor

type OpEventProcessor struct {
	L1StartHeight               *big.Int
	L2StartHeight               *big.Int
	L1BedrockStartHeight        *big.Int
	L2BedrockStartHeight        *big.Int
	LatestL1L2InitL1Header      *common2.BlockHeader
	LatestL1L2L2Header          *common2.BlockHeader
	LatestL1L2FinalizedL2Header *common2.BlockHeader
	LatestStateRootL1Header     *common2.BlockHeader
	LatestL2L1InitL2Header      *common2.BlockHeader
	LatestProvenL1Header        *common2.BlockHeader
	LatestFinalizedL1Header     *common2.BlockHeader
	// contains filtered or unexported fields
}

func NewBridgeProcessor

func NewBridgeProcessor(db *database.DB, l1StartHeight *big.Int, l2StartHeight *big.Int,
	shutdown context.CancelCauseFunc, loopInterval time.Duration,
	epoch uint64, l1ChainId, l2ChainId string, isMainnet bool) (*OpEventProcessor, error)

func (*OpEventProcessor) ClosetUnpack

func (ep *OpEventProcessor) ClosetUnpack() error

func (*OpEventProcessor) StartUnpack

func (ep *OpEventProcessor) StartUnpack() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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