Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockAndCheckpoints ¶
type BlockAndCheckpoints struct { Block interfaces.BeaconBlock JustifiedCheckpoint *ethpb.Checkpoint FinalizedCheckpoint *ethpb.Checkpoint }
BlockAndCheckpoints to call the InsertOptimisticChain function
type Checkpoint ¶
type Checkpoint struct { Epoch types.Epoch Root [fieldparams.RootLength]byte }
Checkpoint is an array version of ethpb.Checkpoint. It is used internally in forkchoice, while the slice version is used in the interface to legagy code in other packages
Click to show internal directories.
Click to hide internal directories.