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)
SlotProof(slot 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)
Click to show internal directories.
Click to hide internal directories.