types

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: GPL-3.0 Imports: 4 Imported by: 3

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 primitives.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

type ProposerBoostRootArgs

type ProposerBoostRootArgs struct {
	BlockRoot       [32]byte
	BlockSlot       primitives.Slot
	CurrentSlot     primitives.Slot
	SecondsIntoSlot uint64
}

ProposerBoostRootArgs to call the BoostProposerRoot function.

Jump to

Keyboard shortcuts

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