debugapi

package
v0.0.0-...-5f8afbd Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeaconChainHeads

func BeaconChainHeads(ctx context.Context, cli eth2api.Client, dest *[]eth2api.ChainHead) error

Retrieves all possible chain heads (leaves of fork choice tree).

func BeaconState

func BeaconState(ctx context.Context, cli eth2api.Client, stateId eth2api.StateId, dest *phase0.BeaconState) (exists bool, err error)

Retrieves phase0 BeaconState object for given stateId.

func BeaconStateV2

func BeaconStateV2(ctx context.Context, cli eth2api.Client, stateId eth2api.StateId, dest *eth2api.VersionedBeaconState) (exists bool, err error)

Retrieves versioned BeaconState object for given stateId.

Types

This section is empty.

Jump to

Keyboard shortcuts

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