types

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IntermediateTransitionVersion = byte(255)
)

Functions

This section is empty.

Types

type OptimisticBlock

type OptimisticBlock struct {
	BlockHash  common.Hash
	OutputRoot eth.Bytes32
}

type TransitionState

type TransitionState struct {
	SuperRoot       []byte
	PendingProgress []OptimisticBlock
	Step            uint64
}

func UnmarshalTransitionState

func UnmarshalTransitionState(data []byte) (*TransitionState, error)

func (*TransitionState) Hash

func (i *TransitionState) Hash() common.Hash

func (*TransitionState) Marshal

func (i *TransitionState) Marshal() []byte

func (*TransitionState) String

func (t *TransitionState) String() string

func (*TransitionState) Version

func (i *TransitionState) Version() byte

Jump to

Keyboard shortcuts

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