package
0.16.6
Repository: https://github.com/jefmcl/go-eth2-client.git
Documentation: pkg.go.dev

# Packages

Code generated by fastssz.
Code generated by fastssz.
Code generated by fastssz.

# Functions

ValidatorToState is a helper that calculates the validator status given a validator struct.

# Constants

ValidatorStateActiveExiting means the validator is active but exiting.
ValidatorStateActiveOngoing means the validator is active.
ValidatorStateActiveSlashed means the validator is active but exiting due to being slashed.
ValidatorStateExitedSlashed means the validator has exited due to being slashed.
ValidatorStateExitedUnslashed means the validator has exited without being slashed.
ValidatorStatePendingInitialized means the validator is not yet in the queue to be activated.
ValidatorStatePendingQueued means the validator is in the queue to be activated.
ValidatorStateUnknown means no information can be found about the validator.
ValidatorStateWithdrawalDone means funds have been withdrawn from the validator.
ValidatorStateWithdrawalPossible means it is possible to withdraw funds from the validator.

# Variables

SupportedEventTopics is a map of supported event topics.

# Structs

AttesterDuty is the data regarding which validators have the duty to attest in a slot.
BeaconBlockHeader is the data providing information about beacon blocks.
BeaconCommittee is the data providing information validator membership of committees.
BeaconCommitteeSubscription is the data required for a beacon committee subscription.
BlockEvent is the data for the block event.
ChainReorgEvent is the data for the head event.
DepositContract represents the details of the Ethereum 1 deposit contract for a chain.
Event is the container for events sent from the API.
Finality is the data regarding finality checkpoints at a given state.
FinalizedCheckpointEvent is the data for the finalized checkpoint event.
Genesis provides information about the genesis of a chain.
HeadEvent is the data for the head event.
PayloadAttributesData represents the data of a payload_attributes event.
PayloadAttributesEvent represents the data of a payload_attributes event.
PayloadAttributes represents the payload attributes.
PayloadAttributesV2 represents the payload attributes v2.
ProposalPreparation is the data required for proposal preparation.
ProposerDuty represents a duty of a validator to propose a slot.
SignedValidatorRegistration is a signed ValidatorRegistrationV1.
SyncCommittee is the data providing validator membership of sync committees.
SyncCommitteeDuty is the data regarding which validators have the duty to contribute to sync committees in a slot.
SyncCommitteeSubscription is the data required for a sync committee subscription.
SyncState is the data regarding the node's synchronization state to the chain.
Validator contains the spec validator plus additional fields.
ValidatorBalance contains the balance of a validator.
ValidatorRegistration represents a ValidatorRegistrationV1.

# Type aliases

ValidatorState defines the state of the validator.