# Packages
No description provided by the author
# Functions
CopyAttestation copies the provided attestation object.
CopyAttestationData copies the provided AttestationData object.
CopyAttestations copies the provided Attestation array.
CopyAttesterSlashings copies the provided AttesterSlashings array (of size 1).
CopyBeaconBlock copies the provided BeaconBlock.
CopyBeaconBlockBody copies the provided BeaconBlockBody.
CopyBeaconBlockHeader copies the provided BeaconBlockHeader.
CopyCheckpoint copies the provided checkpoint.
CopyDeposit copies the provided deposit.
CopyDepositData copies the provided deposit data.
CopyDeposits copies the provided deposit array.
CopyETH1Data copies the provided eth1data object.
CopyIndexedAttestation copies the provided IndexedAttestation.
CopyPendingAttestation copies the provided pending attestation object.
CopyProposerSlashing copies the provided ProposerSlashing.
CopyProposerSlashings copies the provided ProposerSlashing array.
CopySignedBeaconBlock copies the provided SignedBeaconBlock.
CopySignedBeaconBlockHeader copies the provided SignedBeaconBlockHeader.
CopySignedVoluntaryExit copies the provided SignedVoluntaryExit.
CopySignedVoluntaryExits copies the provided SignedVoluntaryExits array.
InitializeFromProto the beacon state from a protobuf representation.
InitializeFromProtoUnsafe directly uses the beacon state protobuf pointer and sets it as the inner state of the BeaconState type.
NewFieldTrie is the constructor for the field trie data structure.
# Variables
ErrNilInnerState returns when the inner state is nil and no copy set or get operations can be performed on state.
# Structs
BeaconState defines a struct containing utilities for the eth2 chain state, defining getters and setters for its respective values and helpful functions such as HashTreeRoot().
FieldTrie is the representation of the representative trie of the particular field.
ReadOnlyValidator returns a wrapper that only allows fields from a validator to be read, and prevents any modification of internal validator fields.