package
5.2.0
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# Packages

Package state_native defines how the beacon chain state for Ethereum functions in the running beacon node, using an advanced, immutable implementation of the state data structure.
Package stategen defines functions to regenerate beacon chain states by replaying blocks from a stored state checkpoint, useful for optimization and reducing a beacon node's resource consumption.

# Variables

ErrNilValidatorsInState returns when accessing validators in the state while the state has a nil slice for the validators field.

# Interfaces

BeaconState has read and write access to beacon state methods.
StateProver defines the ability to create Merkle proofs for beacon state fields.
ReadOnlyAttestations defines a struct which only has read access to attestations methods.
ReadOnlyBalances defines a struct which only has read access to balances methods.
ReadOnlyBeaconState defines a struct which only has read access to beacon state methods.
ReadOnlyBlockRoots defines a struct which only has read access to block roots methods.
ReadOnlyCheckpoint defines a struct which only has read access to checkpoint methods.
ReadOnlyEth1Data defines a struct which only has read access to eth1 data methods.
ReadOnlyExits defines a struct which only has read access to Exit related methods.
ReadOnlyInactivity defines a struct which only has read access to inactivity methods.
ReadOnlyParticipation defines a struct which only has read access to participation methods.
ReadOnlyRandaoMixes defines a struct which only has read access to randao mixes methods.
ReadOnlyStateRoots defines a struct which only has read access to state roots methods.
ReadOnlySyncCommittee defines a struct which only has read access to sync committee methods.
ReadOnlyValidator defines a struct which only has read access to validator methods.
ReadOnlyValidators defines a struct which only has read access to validators methods.
ReadOnlyWithdrawals defines a struct which only has read access to withdrawal methods.
SpecParametersProvider provides fork-specific configuration parameters as defined in the consensus specification for the beacon chain.
WriteOnlyAttestations defines a struct which only has write access to attestations methods.
WriteOnlyBalances defines a struct which only has write access to balances methods.
WriteOnlyBeaconState defines a struct which only has write access to beacon state methods.
WriteOnlyBlockRoots defines a struct which only has write access to block roots methods.
WriteOnlyCheckpoint defines a struct which only has write access to check point methods.
WriteOnlyEth1Data defines a struct which only has write access to eth1 data methods.
WriteOnlyInactivity defines a struct which only has write access to inactivity methods.
WriteOnlyParticipation defines a struct which only has write access to participation methods.
WriteOnlyRandaoMixes defines a struct which only has write access to randao mixes methods.
WriteOnlyStateRoots defines a struct which only has write access to state roots methods.
WriteOnlySyncCommittee defines a struct which only has write access to sync committee methods.
WriteOnlyValidators defines a struct which only has write access to validators methods.