eth2

package
v1.20.8 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconState added in v1.18.0

type BeaconState interface {
	GetSlot() uint64
	ValidatorAndSlotProof(validatorIndex uint64) (validatorProof [][]byte, slotProof [][]byte, err error)
	HistoricalSummaryProof(slot uint64, capellaOffset uint64) ([][]byte, error)
	HistoricalSummaryBlockRootProof(slot int) ([][]byte, error)
	BlockRootProof(slot uint64) ([][]byte, error)
	BlockHeaderProof() ([][]byte, error)
	GetValidators() []*generic.Validator
}

func NewBeaconState added in v1.18.0

func NewBeaconState(data io.ReadCloser, size int64, fork string) (BeaconState, error)

type SignedBeaconBlock added in v1.18.0

type SignedBeaconBlock interface {
	ProveWithdrawal(indexInWithdrawalsArray uint64) ([][]byte, error)
	HasExecutionPayload() bool
	Withdrawals() []*generic.Withdrawal
}

func NewSignedBeaconBlock added in v1.18.0

func NewSignedBeaconBlock(data io.ReadCloser, size int64, fork string) (SignedBeaconBlock, error)

Directories

Path Synopsis
fork
deneb
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.
electra
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.
fulu
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.
gloas
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.
Code generated by dynamic-ssz.

Jump to

Keyboard shortcuts

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