eth2

package
v1.18.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: GPL-3.0 Imports: 5 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
	ValidatorProof(index uint64) ([][]byte, error)
	HistoricalSummaryProof(slot uint64) ([][]byte, error)
	HistoricalSummaryBlockRootProof(slot int) ([][]byte, error)
	BlockRootProof(slot uint64) ([][]byte, error)
	GetValidators() []*generic.Validator
}

func NewBeaconState added in v1.18.0

func NewBeaconState(data []byte, 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 []byte, fork string) (SignedBeaconBlock, error)

Directories

Path Synopsis
fork
deneb
Code generated by fastssz.
Code generated by fastssz.
electra
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.

Jump to

Keyboard shortcuts

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