binaryblob

package
v0.0.0-...-ff78b6e Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Case

type Case struct {
	CheckpointFs afero.Fs
	DominoFs     afero.Fs

	GenesisConfig *clparams.GenesisConfig
	BeaconConfig  *clparams.BeaconChainConfig
}

func (*Case) Checkpoint

func (c *Case) Checkpoint(ctx context.Context, slot uint64) (abstract.BeaconState, error)

Checkpoint should get the state at or before the slot selected

func (*Case) Domino

func (c *Case) Domino(ctx context.Context, slot uint64) (*cltypes.SignedBeaconBlock, error)

Dominos should get a block

func (*Case) EpochAndVersion

func (c *Case) EpochAndVersion() (epoch uint64, version int)

Jump to

Keyboard shortcuts

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