Documentation ¶
Overview ¶
Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3
Code generated by fastssz. DO NOT EDIT. Hash: 08636ad5a6add4599e6b010f2318fc2d68a65ba8f1b4397b0424fa97b0cbc352 Version: 0.1.3
Index ¶
- Variables
- type AggregateAttestationOpts
- type AttestationDataOpts
- type AttestationPoolOpts
- type AttesterDutiesOpts
- type BeaconBlockHeaderOpts
- type BeaconBlockRootOpts
- type BeaconCommitteesOpts
- type BeaconStateOpts
- type BeaconStateRandaoOpts
- type BeaconStateRootOpts
- type BlindedProposalOpts
- type BlobSidecars
- type BlobSidecarsOpts
- type CommonOpts
- type DepositContractOpts
- type Error
- type FinalityOpts
- type ForkChoiceOpts
- type ForkOpts
- type ForkScheduleOpts
- type GenesisOpts
- type NodePeersOpts
- type NodeSyncingOpts
- type NodeVersionOpts
- type ProposalOpts
- type ProposerDutiesOpts
- type Response
- type SignedBeaconBlockOpts
- type SpecOpts
- type SubmitBlindedProposalOpts
- type SubmitProposalOpts
- type SyncCommitteeContributionOpts
- type SyncCommitteeDutiesOpts
- type SyncCommitteeOpts
- type ValidatorBalancesOpts
- type ValidatorsOpts
- type VersionedBlindedBeaconBlock
- func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
- func (v *VersionedBlindedBeaconBlock) Graffiti() ([32]byte, error)
- func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
- func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VersionedBlindedBeaconBlock) IsEmpty() bool
- func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedBlindedBeaconBlock) RandaoReveal() (phase0.BLSSignature, error)
- func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int)
- func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) String() string
- func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error)
- func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error)
- func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
- type VersionedBlindedProposal
- func (v *VersionedBlindedProposal) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedBlindedProposal) BodyRoot() (phase0.Root, error)
- func (v *VersionedBlindedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedBlindedProposal) Graffiti() ([32]byte, error)
- func (v *VersionedBlindedProposal) IsEmpty() bool
- func (v *VersionedBlindedProposal) ParentRoot() (phase0.Root, error)
- func (v *VersionedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedBlindedProposal) RandaoReveal() (phase0.BLSSignature, error)
- func (v *VersionedBlindedProposal) Root() (phase0.Root, error)
- func (v *VersionedBlindedProposal) Slot() (phase0.Slot, error)
- func (v *VersionedBlindedProposal) StateRoot() (phase0.Root, error)
- func (v *VersionedBlindedProposal) String() string
- func (v *VersionedBlindedProposal) Timestamp() (uint64, error)
- func (v *VersionedBlindedProposal) TransactionsRoot() (phase0.Root, error)
- type VersionedBlockRequest
- func (v *VersionedBlockRequest) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedBlockRequest) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
- func (v *VersionedBlockRequest) BodyRoot() (phase0.Root, error)
- func (v *VersionedBlockRequest) ExecutionBlockHash() (phase0.Hash32, error)
- func (v *VersionedBlockRequest) ParentRoot() (phase0.Root, error)
- func (v *VersionedBlockRequest) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
- func (v *VersionedBlockRequest) Root() (phase0.Root, error)
- func (v *VersionedBlockRequest) Slot() (phase0.Slot, error)
- func (v *VersionedBlockRequest) StateRoot() (phase0.Root, error)
- func (v *VersionedBlockRequest) String() string
- func (v *VersionedBlockRequest) SyncAggregate() (*altair.SyncAggregate, error)
- type VersionedProposal
- func (v *VersionedProposal) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedProposal) Blobs() ([]deneb.Blob, error)
- func (v *VersionedProposal) BodyRoot() (phase0.Root, error)
- func (v *VersionedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedProposal) Graffiti() ([32]byte, error)
- func (v *VersionedProposal) IsEmpty() bool
- func (v *VersionedProposal) KZGProofs() ([]deneb.KZGProof, error)
- func (v *VersionedProposal) ParentRoot() (phase0.Root, error)
- func (v *VersionedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedProposal) RandaoReveal() (phase0.BLSSignature, error)
- func (v *VersionedProposal) Root() (phase0.Root, error)
- func (v *VersionedProposal) Slot() (phase0.Slot, error)
- func (v *VersionedProposal) StateRoot() (phase0.Root, error)
- func (v *VersionedProposal) String() string
- func (v *VersionedProposal) Timestamp() (uint64, error)
- func (v *VersionedProposal) Transactions() ([]bellatrix.Transaction, error)
- func (v *VersionedProposal) Value() *big.Int
- type VersionedSignedBlindedBeaconBlock
- func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockHash() (phase0.Hash32, error)
- func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber() (uint64, error)
- func (v *VersionedSignedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
- func (v *VersionedSignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
- func (v *VersionedSignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
- func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
- func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) Signature() (phase0.BLSSignature, error)
- func (v *VersionedSignedBlindedBeaconBlock) SizeSSZ() (size int)
- func (v *VersionedSignedBlindedBeaconBlock) Slot() (phase0.Slot, error)
- func (v *VersionedSignedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
- type VersionedSignedBlindedProposal
- func (v *VersionedSignedBlindedProposal) Attestations() ([]*phase0.Attestation, error)
- func (v *VersionedSignedBlindedProposal) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
- func (v *VersionedSignedBlindedProposal) BodyRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedProposal) ExecutionBlockHash() (phase0.Hash32, error)
- func (v *VersionedSignedBlindedProposal) ExecutionBlockNumber() (uint64, error)
- func (v *VersionedSignedBlindedProposal) ParentRoot() (phase0.Root, error)
- func (v *VersionedSignedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedSignedBlindedProposal) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
- func (v *VersionedSignedBlindedProposal) Root() (phase0.Root, error)
- func (v *VersionedSignedBlindedProposal) Signature() (phase0.BLSSignature, error)
- func (v *VersionedSignedBlindedProposal) Slot() (phase0.Slot, error)
- func (v *VersionedSignedBlindedProposal) StateRoot() (phase0.Root, error)
- type VersionedSignedProposal
- func (v *VersionedSignedProposal) AssertPresent() error
- func (v *VersionedSignedProposal) ExecutionBlockHash() (phase0.Hash32, error)
- func (v *VersionedSignedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
- func (v *VersionedSignedProposal) Slot() (phase0.Slot, error)
- func (v *VersionedSignedProposal) String() string
- type VersionedSignedValidatorRegistration
- func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
- func (v *VersionedSignedValidatorRegistration) GetTree() (*ssz.Node, error)
- func (v *VersionedSignedValidatorRegistration) HashTreeRoot() ([32]byte, error)
- func (v *VersionedSignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
- func (v *VersionedSignedValidatorRegistration) MarshalSSZ() ([]byte, error)
- func (v *VersionedSignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
- func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
- func (v *VersionedSignedValidatorRegistration) Root() (phase0.Root, error)
- func (v *VersionedSignedValidatorRegistration) SizeSSZ() (size int)
- func (v *VersionedSignedValidatorRegistration) Timestamp() (time.Time, error)
- func (v *VersionedSignedValidatorRegistration) UnmarshalSSZ(buf []byte) error
- type VersionedValidatorRegistration
- func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)
- func (v *VersionedValidatorRegistration) IsEmpty() bool
- func (v *VersionedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
- func (v *VersionedValidatorRegistration) Root() (phase0.Root, error)
- func (v *VersionedValidatorRegistration) Timestamp() (time.Time, error)
- type VoluntaryExitPoolOpts
Constants ¶
This section is empty.
Variables ¶
var ErrDataMissing = errors.New("data missing")
ErrDataMissing is returned when the data requested is missing from the versioned struct.
var ErrUnsupportedVersion = errors.New("unsupported version")
ErrUnsupportedVersion is returned when the data requested is not present for the version of the struct.
Functions ¶
This section is empty.
Types ¶
type AggregateAttestationOpts ¶ added in v0.19.0
type AggregateAttestationOpts struct { Common CommonOpts // Slot is the slot for which the data is obtained. Slot phase0.Slot // AttestationDataRoot is the root for which the data is obtained. AttestationDataRoot phase0.Root }
AggregateAttestationOpts are the options for obtaining aggregate attestations.
type AttestationDataOpts ¶ added in v0.19.0
type AttestationDataOpts struct { Common CommonOpts // Slot is the slot for which the data is obtained. Slot phase0.Slot // CommitteeIndex is the committee index for which the data is obtained. CommitteeIndex phase0.CommitteeIndex }
AttestationDataOpts are the options for obtaining attestation data.
type AttestationPoolOpts ¶ added in v0.19.0
type AttestationPoolOpts struct { Common CommonOpts // Slot is the slot for which the data is obtained. Slot phase0.Slot }
AttestationPoolOpts are the options for obtaining the attestation pool.
type AttesterDutiesOpts ¶ added in v0.19.0
type AttesterDutiesOpts struct { Common CommonOpts // Epoch is the epoch for which the data is obtained. Epoch phase0.Epoch // Indices is a list of validators for which to obtain the duties. Indices []phase0.ValidatorIndex }
AttesterDutiesOpts are the options for obtaining proposer duties.
type BeaconBlockHeaderOpts ¶ added in v0.19.0
type BeaconBlockHeaderOpts struct { Common CommonOpts // Block is the ID of the block which the data is obtained. Block string }
BeaconBlockHeaderOpts are the options for obtaining beacon block headers.
type BeaconBlockRootOpts ¶ added in v0.19.0
type BeaconBlockRootOpts struct { Common CommonOpts // Block is the ID of the block which the data is obtained. Block string }
BeaconBlockRootOpts are the options for obtaining the beacon block root.
type BeaconCommitteesOpts ¶ added in v0.19.0
type BeaconCommitteesOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string // Epoch is the epoch for which the data is obtained. // This is optional; if not supplied it will obtain the data at the epoch relating to the state. Epoch *phase0.Epoch }
BeaconCommitteesOpts are the options for obtaining proposer duties.
type BeaconStateOpts ¶ added in v0.19.0
type BeaconStateOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string }
BeaconStateOpts are the options for obtaining the beacon state.
type BeaconStateRandaoOpts ¶ added in v0.19.0
type BeaconStateRandaoOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string }
BeaconStateRandaoOpts are the options for obtaining the beacon state RANDAO.
type BeaconStateRootOpts ¶ added in v0.19.0
type BeaconStateRootOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string }
BeaconStateRootOpts are the options for obtaining the beacon state root.
type BlindedProposalOpts ¶ added in v0.19.0
type BlindedProposalOpts struct { Common CommonOpts // Slot is the slot for which the proposal should be fetched. Slot phase0.Slot // RandaoReveal is the RANDAO reveal for the proposal. RandaoReveal phase0.BLSSignature // Graffit is the graffiti to be included in the beacon block body. Graffiti [32]byte // SkipRandaoVerification is true if we do not want the server to verify our RANDAO reveal. // If this is set then the RANDAO reveal should be passed as the point at infinity (0xc0…00) SkipRandaoVerification bool }
BlindedProposalOpts are the options for obtaining blinded proposals.
type BlobSidecars ¶ added in v0.19.0
type BlobSidecars struct {
Sidecars []*deneb.BlobSidecar `ssz-max:"6"`
}
BlobSidecars is an API construct to allow decoding an array of blob sidecars.
func (*BlobSidecars) UnmarshalSSZ ¶ added in v0.19.0
func (b *BlobSidecars) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the BlobSidecars object. This is a hand-crafted function, as automatic generation does not support immediate arrays.
type BlobSidecarsOpts ¶ added in v0.19.0
type BlobSidecarsOpts struct { Common CommonOpts // Block is the ID of the block for which the data is obtained. Block string }
BlobSidecarsOpts are the options for obtaining blob sidecars.
type CommonOpts ¶ added in v0.19.5
type CommonOpts struct { // Timeout is a specific timeout for this call. // If 0 then the default timeout is used. Timeout time.Duration }
CommonOpts are options common for all calls.
type DepositContractOpts ¶ added in v0.19.5
type DepositContractOpts struct {
Common CommonOpts
}
DepositContractOpts are the options for obtaining the deposit contract.
type FinalityOpts ¶ added in v0.19.0
type FinalityOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string }
FinalityOpts are the options for obtaining finality checkpoints.
type ForkChoiceOpts ¶ added in v0.19.5
type ForkChoiceOpts struct {
Common CommonOpts
}
ForkChoiceOpts are the options for obtaining the fork choice.
type ForkOpts ¶ added in v0.19.0
type ForkOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string }
ForkOpts are the options for obtaining the fork.
type ForkScheduleOpts ¶ added in v0.19.5
type ForkScheduleOpts struct {
Common CommonOpts
}
ForkScheduleOpts are the options for obtaining the fork schedule.
type GenesisOpts ¶ added in v0.19.5
type GenesisOpts struct {
Common CommonOpts
}
GenesisOpts are the options for obtaining genesis information.
type NodePeersOpts ¶ added in v0.19.5
type NodePeersOpts struct { Common CommonOpts // State of the connection (disconnected, connecting, connected, disconnecting) State []string // Direction of the connection (inbound, outbound) Direction []string }
NodePeersOpts are the options for client side peer filtering.
type NodeSyncingOpts ¶ added in v0.19.5
type NodeSyncingOpts struct {
Common CommonOpts
}
NodeSyncingOpts are the options for obtaining node sync information.
type NodeVersionOpts ¶ added in v0.19.5
type NodeVersionOpts struct {
Common CommonOpts
}
NodeVersionOpts are the options for obtaining the node version.
type ProposalOpts ¶ added in v0.19.0
type ProposalOpts struct { Common CommonOpts // Slot is the slot for which the proposal should be fetched. Slot phase0.Slot // RandaoReveal is the RANDAO reveal for the proposal. RandaoReveal phase0.BLSSignature // Graffiti is the graffiti to be included in the beacon block body. Graffiti [32]byte // SkipRandaoVerification is true if we do not want the server to verify our RANDAO reveal. // If this is set then the RANDAO reveal should be passed as the point at infinity (0xc0…00) SkipRandaoVerification bool // BuilderBoostFactor is the relative weight of the builder payload versus a locally-produced // payload, as per https://ethereum.github.io/beacon-APIs/#/Validator/produceBlockV3 // This is optional; if not supplied it will use the default value of 100. BuilderBoostFactor *uint64 }
ProposalOpts are the options for obtaining proposals.
type ProposerDutiesOpts ¶ added in v0.19.0
type ProposerDutiesOpts struct { Common CommonOpts // Epoch is the epoch for which the data is obtained. Epoch phase0.Epoch // Indices is a list of validators to restrict the returned values. If no indices are supplied then no filter will be applied. Indices []phase0.ValidatorIndex }
ProposerDutiesOpts are the options for obtaining proposer duties.
type Response ¶ added in v0.19.0
Response is a response from the beacon API which may contain metadata.
type SignedBeaconBlockOpts ¶ added in v0.19.0
type SignedBeaconBlockOpts struct { Common CommonOpts // Block is the ID of the block which the data is obtained. Block string }
SignedBeaconBlockOpts are the options for obtaining signed beacon blocks.
type SpecOpts ¶ added in v0.19.5
type SpecOpts struct {
Common CommonOpts
}
SpecOpts are the options for obtaining the chain specification.
type SubmitBlindedProposalOpts ¶ added in v0.21.0
type SubmitBlindedProposalOpts struct { Common CommonOpts // Proposal is the proposal to submit. Proposal *VersionedSignedBlindedProposal // BroadcastValidation is the validation required of the consensus node before broadcasting the proposal. BroadcastValidation *v2.BroadcastValidation }
SubmitBlindedProposalOpts are the options for submitting proposals.
type SubmitProposalOpts ¶ added in v0.21.0
type SubmitProposalOpts struct { Common CommonOpts // Proposal is the proposal to submit. Proposal *VersionedSignedProposal // BroadcastValidation is the validation required of the consensus node before broadcasting the proposal. BroadcastValidation *v2.BroadcastValidation }
SubmitProposalOpts are the options for submitting proposals.
type SyncCommitteeContributionOpts ¶ added in v0.19.0
type SyncCommitteeContributionOpts struct { Common CommonOpts // Slot is the slot for which the data is obtained. Slot phase0.Slot // SubcommitteeIndex is the index of the sync subcommittee for which the data is obtained. SubcommitteeIndex uint64 // BeaconBlockRoot is the root of the beacon block for which the data is obtained. BeaconBlockRoot phase0.Root }
SyncCommitteeContributionOpts are the options for obtaining sync committee contributions.
type SyncCommitteeDutiesOpts ¶ added in v0.19.0
type SyncCommitteeDutiesOpts struct { Common CommonOpts // Epoch is the epoch for which the data is obtained. Epoch phase0.Epoch // Indices is a list of validators for which to obtain the duties. Indices []phase0.ValidatorIndex }
SyncCommitteeDutiesOpts are the options for obtaining sync committee duties.
type SyncCommitteeOpts ¶ added in v0.19.0
type SyncCommitteeOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string // Epoch is the epoch for which the data is obtained. // This is optional; if not supplied it will obtain the data at the epoch relating to the state. Epoch *phase0.Epoch }
SyncCommitteeOpts are the options for obtaining sync committees.
type ValidatorBalancesOpts ¶ added in v0.19.0
type ValidatorBalancesOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string // Indices is a list of validator indices to restrict the returned values. If no indices are supplied then no filter will be applied. Indices []phase0.ValidatorIndex }
ValidatorBalancesOpts are the options for obtaining validator balances.
type ValidatorsOpts ¶ added in v0.19.0
type ValidatorsOpts struct { Common CommonOpts // State is the state at which the data is obtained. // It can be a slot number or state root, or one of the special values "genesis", "head", "justified" or "finalized". State string // Indices is a list of validator indices to restrict the returned values. If no indices are supplied then no filter will be applied. Indices []phase0.ValidatorIndex // PubKeys is a list of validator public keys to restrict the returned values. If no public keys are supplied then no filter will be applied. PubKeys []phase0.BLSPubKey // ValidatorStates is a list of validator states to restric the returned values. If no validator states are supplied then no filter will be applied. ValidatorStates []apiv1.ValidatorState }
ValidatorsOpts are the options for obtaining validators.
type VersionedBlindedBeaconBlock ¶
type VersionedBlindedBeaconBlock struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.BlindedBeaconBlock Capella *apiv1capella.BlindedBeaconBlock Deneb *apiv1deneb.BlindedBeaconBlock }
VersionedBlindedBeaconBlock contains a versioned blinded beacon block.
func (*VersionedBlindedBeaconBlock) Attestations ¶
func (v *VersionedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) BodyRoot ¶
func (v *VersionedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) FeeRecipient ¶ added in v0.13.3
func (v *VersionedBlindedBeaconBlock) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) GetTree ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) Graffiti ¶ added in v0.18.0
func (v *VersionedBlindedBeaconBlock) Graffiti() ([32]byte, error)
Graffiti returns the graffiti of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) HashTreeRoot ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) HashTreeRootWith ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VersionedBlindedBeaconBlock object with a hasher
func (*VersionedBlindedBeaconBlock) IsEmpty ¶
func (v *VersionedBlindedBeaconBlock) IsEmpty() bool
IsEmpty returns true if there is no block.
func (*VersionedBlindedBeaconBlock) MarshalSSZ ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) MarshalSSZTo ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VersionedBlindedBeaconBlock object to a target array
func (*VersionedBlindedBeaconBlock) ParentRoot ¶
func (v *VersionedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) ProposerIndex ¶ added in v0.18.1
func (v *VersionedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the beacon block.
func (*VersionedBlindedBeaconBlock) RandaoReveal ¶ added in v0.18.0
func (v *VersionedBlindedBeaconBlock) RandaoReveal() (phase0.BLSSignature, error)
RandaoReveal returns the RANDAO reveal of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) Root ¶
func (v *VersionedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the root of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) SizeSSZ ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VersionedBlindedBeaconBlock object
func (*VersionedBlindedBeaconBlock) Slot ¶
func (v *VersionedBlindedBeaconBlock) Slot() (phase0.Slot, error)
Slot returns the slot of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) StateRoot ¶
func (v *VersionedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) String ¶ added in v0.12.0
func (v *VersionedBlindedBeaconBlock) String() string
String returns a string version of the structure.
func (*VersionedBlindedBeaconBlock) Timestamp ¶ added in v0.14.4
func (v *VersionedBlindedBeaconBlock) Timestamp() (uint64, error)
Timestamp returns the timestamp of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) TransactionsRoot ¶ added in v0.13.1
func (v *VersionedBlindedBeaconBlock) TransactionsRoot() (phase0.Root, error)
TransactionsRoot returns the transactions root of the blinded beacon block.
func (*VersionedBlindedBeaconBlock) UnmarshalSSZ ¶ added in v0.13.0
func (v *VersionedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VersionedBlindedBeaconBlock object
type VersionedBlindedProposal ¶ added in v0.19.0
type VersionedBlindedProposal struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.BlindedBeaconBlock Capella *apiv1capella.BlindedBeaconBlock Deneb *apiv1deneb.BlindedBeaconBlock }
VersionedBlindedProposal contains a versioned blinded proposal.
func (*VersionedBlindedProposal) Attestations ¶ added in v0.19.0
func (v *VersionedBlindedProposal) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the blinded proposal.
func (*VersionedBlindedProposal) BodyRoot ¶ added in v0.19.0
func (v *VersionedBlindedProposal) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the blinded proposal.
func (*VersionedBlindedProposal) FeeRecipient ¶ added in v0.19.0
func (v *VersionedBlindedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the blinded proposal.
func (*VersionedBlindedProposal) Graffiti ¶ added in v0.19.0
func (v *VersionedBlindedProposal) Graffiti() ([32]byte, error)
Graffiti returns the graffiti of the blinded proposal.
func (*VersionedBlindedProposal) IsEmpty ¶ added in v0.19.0
func (v *VersionedBlindedProposal) IsEmpty() bool
IsEmpty returns true if there is no proposal.
func (*VersionedBlindedProposal) ParentRoot ¶ added in v0.19.0
func (v *VersionedBlindedProposal) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the blinded proposal.
func (*VersionedBlindedProposal) ProposerIndex ¶ added in v0.19.0
func (v *VersionedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the blinded proposal.
func (*VersionedBlindedProposal) RandaoReveal ¶ added in v0.19.0
func (v *VersionedBlindedProposal) RandaoReveal() (phase0.BLSSignature, error)
RandaoReveal returns the RANDAO reveal of the blinded proposal.
func (*VersionedBlindedProposal) Root ¶ added in v0.19.0
func (v *VersionedBlindedProposal) Root() (phase0.Root, error)
Root returns the root of the blinded proposal.
func (*VersionedBlindedProposal) Slot ¶ added in v0.19.0
func (v *VersionedBlindedProposal) Slot() (phase0.Slot, error)
Slot returns the slot of the blinded proposal.
func (*VersionedBlindedProposal) StateRoot ¶ added in v0.19.0
func (v *VersionedBlindedProposal) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the blinded proposal.
func (*VersionedBlindedProposal) String ¶ added in v0.19.0
func (v *VersionedBlindedProposal) String() string
String returns a string version of the structure.
func (*VersionedBlindedProposal) Timestamp ¶ added in v0.19.0
func (v *VersionedBlindedProposal) Timestamp() (uint64, error)
Timestamp returns the timestamp of the blinded proposal.
func (*VersionedBlindedProposal) TransactionsRoot ¶ added in v0.19.0
func (v *VersionedBlindedProposal) TransactionsRoot() (phase0.Root, error)
TransactionsRoot returns the transactions root of the blinded proposal.
type VersionedBlockRequest ¶ added in v0.19.0
type VersionedBlockRequest struct { Version spec.DataVersion Bellatrix *bellatrix.SignedBeaconBlock Capella *capella.SignedBeaconBlock Deneb *deneb.SignedBeaconBlock }
VersionedBlockRequest contains a versioned signed beacon block request.
func (*VersionedBlockRequest) Attestations ¶ added in v0.19.0
func (v *VersionedBlockRequest) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the beacon block.
func (*VersionedBlockRequest) AttesterSlashings ¶ added in v0.19.0
func (v *VersionedBlockRequest) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
AttesterSlashings returns the attester slashings of the beacon block.
func (*VersionedBlockRequest) BodyRoot ¶ added in v0.19.0
func (v *VersionedBlockRequest) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the beacon block.
func (*VersionedBlockRequest) ExecutionBlockHash ¶ added in v0.19.0
func (v *VersionedBlockRequest) ExecutionBlockHash() (phase0.Hash32, error)
ExecutionBlockHash returns the block hash of the beacon block.
func (*VersionedBlockRequest) ParentRoot ¶ added in v0.19.0
func (v *VersionedBlockRequest) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the beacon block.
func (*VersionedBlockRequest) ProposerSlashings ¶ added in v0.19.0
func (v *VersionedBlockRequest) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
ProposerSlashings returns the proposer slashings of the beacon block.
func (*VersionedBlockRequest) Root ¶ added in v0.19.0
func (v *VersionedBlockRequest) Root() (phase0.Root, error)
Root returns the root of the beacon block.
func (*VersionedBlockRequest) Slot ¶ added in v0.19.0
func (v *VersionedBlockRequest) Slot() (phase0.Slot, error)
Slot returns the slot of the signed beacon block.
func (*VersionedBlockRequest) StateRoot ¶ added in v0.19.0
func (v *VersionedBlockRequest) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the beacon block.
func (*VersionedBlockRequest) String ¶ added in v0.19.0
func (v *VersionedBlockRequest) String() string
String returns a string version of the structure.
func (*VersionedBlockRequest) SyncAggregate ¶ added in v0.19.0
func (v *VersionedBlockRequest) SyncAggregate() (*altair.SyncAggregate, error)
SyncAggregate returns the sync aggregate of the beacon block.
type VersionedProposal ¶ added in v0.19.0
type VersionedProposal struct { Version spec.DataVersion Blinded bool ConsensusValue *big.Int ExecutionValue *big.Int Phase0 *phase0.BeaconBlock Altair *altair.BeaconBlock Bellatrix *bellatrix.BeaconBlock BellatrixBlinded *apiv1bellatrix.BlindedBeaconBlock Capella *capella.BeaconBlock CapellaBlinded *apiv1capella.BlindedBeaconBlock Deneb *apiv1deneb.BlockContents DenebBlinded *apiv1deneb.BlindedBeaconBlock }
VersionedProposal contains a versioned proposal.
func (*VersionedProposal) Attestations ¶ added in v0.19.0
func (v *VersionedProposal) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the proposal.
func (*VersionedProposal) Blobs ¶ added in v0.19.5
func (v *VersionedProposal) Blobs() ([]deneb.Blob, error)
Blobs returns the blobs of the proposal.
func (*VersionedProposal) BodyRoot ¶ added in v0.19.0
func (v *VersionedProposal) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the proposal.
func (*VersionedProposal) FeeRecipient ¶ added in v0.19.0
func (v *VersionedProposal) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the proposal.
func (*VersionedProposal) Graffiti ¶ added in v0.19.0
func (v *VersionedProposal) Graffiti() ([32]byte, error)
Graffiti returns the graffiti of the proposal.
func (*VersionedProposal) IsEmpty ¶ added in v0.19.0
func (v *VersionedProposal) IsEmpty() bool
IsEmpty returns true if there is no proposal.
func (*VersionedProposal) KZGProofs ¶ added in v0.19.5
func (v *VersionedProposal) KZGProofs() ([]deneb.KZGProof, error)
KZGProofs returns the KZG proofs of the proposal.
func (*VersionedProposal) ParentRoot ¶ added in v0.19.0
func (v *VersionedProposal) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the proposal.
func (*VersionedProposal) ProposerIndex ¶ added in v0.19.0
func (v *VersionedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the proposal.
func (*VersionedProposal) RandaoReveal ¶ added in v0.19.0
func (v *VersionedProposal) RandaoReveal() (phase0.BLSSignature, error)
RandaoReveal returns the RANDAO reveal of the proposal.
func (*VersionedProposal) Root ¶ added in v0.19.0
func (v *VersionedProposal) Root() (phase0.Root, error)
Root returns the root of the proposal.
func (*VersionedProposal) Slot ¶ added in v0.19.0
func (v *VersionedProposal) Slot() (phase0.Slot, error)
Slot returns the slot of the proposal.
func (*VersionedProposal) StateRoot ¶ added in v0.19.0
func (v *VersionedProposal) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the proposal.
func (*VersionedProposal) String ¶ added in v0.19.0
func (v *VersionedProposal) String() string
String returns a string version of the structure.
func (*VersionedProposal) Timestamp ¶ added in v0.19.0
func (v *VersionedProposal) Timestamp() (uint64, error)
Timestamp returns the timestamp of the proposal.
func (*VersionedProposal) Transactions ¶ added in v0.19.0
func (v *VersionedProposal) Transactions() ([]bellatrix.Transaction, error)
Transactions returns the transactions of the proposal.
func (*VersionedProposal) Value ¶ added in v0.21.0
func (v *VersionedProposal) Value() *big.Int
Value returns the value of the proposal, in Wei.
type VersionedSignedBlindedBeaconBlock ¶
type VersionedSignedBlindedBeaconBlock struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock Capella *apiv1capella.SignedBlindedBeaconBlock Deneb *apiv1deneb.SignedBlindedBeaconBlock }
VersionedSignedBlindedBeaconBlock contains a versioned signed blinded beacon block.
func (*VersionedSignedBlindedBeaconBlock) Attestations ¶
func (v *VersionedSignedBlindedBeaconBlock) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) AttesterSlashings ¶
func (v *VersionedSignedBlindedBeaconBlock) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
AttesterSlashings returns the attester slashings of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) BodyRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ExecutionBlockHash ¶ added in v0.18.1
func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockHash() (phase0.Hash32, error)
ExecutionBlockHash returns the hash of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber ¶ added in v0.18.1
func (v *VersionedSignedBlindedBeaconBlock) ExecutionBlockNumber() (uint64, error)
ExecutionBlockNumber returns the block number of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) GetTree ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VersionedSignedBlindedBeaconBlock object
func (*VersionedSignedBlindedBeaconBlock) HashTreeRoot ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VersionedSignedBlindedBeaconBlock object
func (*VersionedSignedBlindedBeaconBlock) HashTreeRootWith ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VersionedSignedBlindedBeaconBlock object with a hasher
func (*VersionedSignedBlindedBeaconBlock) MarshalSSZ ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VersionedSignedBlindedBeaconBlock object
func (*VersionedSignedBlindedBeaconBlock) MarshalSSZTo ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VersionedSignedBlindedBeaconBlock object to a target array
func (*VersionedSignedBlindedBeaconBlock) ParentRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ProposerIndex ¶ added in v0.18.1
func (v *VersionedSignedBlindedBeaconBlock) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) ProposerSlashings ¶
func (v *VersionedSignedBlindedBeaconBlock) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
ProposerSlashings returns the proposer slashings of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) Root ¶
func (v *VersionedSignedBlindedBeaconBlock) Root() (phase0.Root, error)
Root returns the root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) Signature ¶ added in v0.18.1
func (v *VersionedSignedBlindedBeaconBlock) Signature() (phase0.BLSSignature, error)
Signature returns the signature of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) SizeSSZ ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VersionedSignedBlindedBeaconBlock object
func (*VersionedSignedBlindedBeaconBlock) Slot ¶
func (v *VersionedSignedBlindedBeaconBlock) Slot() (phase0.Slot, error)
Slot returns the slot of the signed beacon block.
func (*VersionedSignedBlindedBeaconBlock) StateRoot ¶
func (v *VersionedSignedBlindedBeaconBlock) StateRoot() (phase0.Root, error)
StateRoot returns the state root of the beacon block.
func (*VersionedSignedBlindedBeaconBlock) UnmarshalSSZ ¶ added in v0.18.2
func (v *VersionedSignedBlindedBeaconBlock) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VersionedSignedBlindedBeaconBlock object
type VersionedSignedBlindedProposal ¶ added in v0.19.0
type VersionedSignedBlindedProposal struct { Version spec.DataVersion Bellatrix *apiv1bellatrix.SignedBlindedBeaconBlock Capella *apiv1capella.SignedBlindedBeaconBlock Deneb *apiv1deneb.SignedBlindedBeaconBlock }
VersionedSignedBlindedProposal contains a versioned signed blinded proposal.
func (*VersionedSignedBlindedProposal) Attestations ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) Attestations() ([]*phase0.Attestation, error)
Attestations returns the attestations of the blinded proposal.
func (*VersionedSignedBlindedProposal) AttesterSlashings ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) AttesterSlashings() ([]*phase0.AttesterSlashing, error)
AttesterSlashings returns the attester slashings of the blinded proposal.
func (*VersionedSignedBlindedProposal) BodyRoot ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) BodyRoot() (phase0.Root, error)
BodyRoot returns the body root of the blinded proposal.
func (*VersionedSignedBlindedProposal) ExecutionBlockHash ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) ExecutionBlockHash() (phase0.Hash32, error)
ExecutionBlockHash returns the hash of the blinded proposal.
func (*VersionedSignedBlindedProposal) ExecutionBlockNumber ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) ExecutionBlockNumber() (uint64, error)
ExecutionBlockNumber returns the block number of the blinded proposal.
func (*VersionedSignedBlindedProposal) ParentRoot ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) ParentRoot() (phase0.Root, error)
ParentRoot returns the parent root of the blinded proposal.
func (*VersionedSignedBlindedProposal) ProposerIndex ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the blinded proposal.
func (*VersionedSignedBlindedProposal) ProposerSlashings ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) ProposerSlashings() ([]*phase0.ProposerSlashing, error)
ProposerSlashings returns the proposer slashings of the blinded proposal.
func (*VersionedSignedBlindedProposal) Root ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) Root() (phase0.Root, error)
Root returns the root of the blinded proposal.
func (*VersionedSignedBlindedProposal) Signature ¶ added in v0.19.0
func (v *VersionedSignedBlindedProposal) Signature() (phase0.BLSSignature, error)
Signature returns the signature of the blinded proposal.
type VersionedSignedProposal ¶ added in v0.19.0
type VersionedSignedProposal struct { Version spec.DataVersion Blinded bool ConsensusValue *big.Int ExecutionValue *big.Int Phase0 *phase0.SignedBeaconBlock Altair *altair.SignedBeaconBlock Bellatrix *bellatrix.SignedBeaconBlock BellatrixBlinded *apiv1bellatrix.SignedBlindedBeaconBlock Capella *capella.SignedBeaconBlock CapellaBlinded *apiv1capella.SignedBlindedBeaconBlock Deneb *apiv1deneb.SignedBlockContents DenebBlinded *apiv1deneb.SignedBlindedBeaconBlock }
VersionedSignedProposal contains a versioned signed beacon node proposal.
func (*VersionedSignedProposal) AssertPresent ¶ added in v0.21.0
func (v *VersionedSignedProposal) AssertPresent() error
AssertPresnet throws an error if the expected proposal given the version and blinded fields is not present.
func (*VersionedSignedProposal) ExecutionBlockHash ¶ added in v0.19.6
func (v *VersionedSignedProposal) ExecutionBlockHash() (phase0.Hash32, error)
ExecutionBlockHash returns the hash of the execution payload.
func (*VersionedSignedProposal) ProposerIndex ¶ added in v0.20.0
func (v *VersionedSignedProposal) ProposerIndex() (phase0.ValidatorIndex, error)
ProposerIndex returns the proposer index of the signed proposal.
func (*VersionedSignedProposal) Slot ¶ added in v0.19.2
func (v *VersionedSignedProposal) Slot() (phase0.Slot, error)
Slot returns the slot of the signed proposal.
func (*VersionedSignedProposal) String ¶ added in v0.19.0
func (v *VersionedSignedProposal) String() string
String returns a string version of the structure.
type VersionedSignedValidatorRegistration ¶ added in v0.12.0
type VersionedSignedValidatorRegistration struct { Version spec.BuilderVersion `json:"version"` V1 *apiv1.SignedValidatorRegistration `json:"v1"` }
VersionedSignedValidatorRegistration contains a versioned SignedValidatorRegistrationV1.
func (*VersionedSignedValidatorRegistration) FeeRecipient ¶ added in v0.12.0
func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the signed validator registration.
func (*VersionedSignedValidatorRegistration) GasLimit ¶ added in v0.12.0
func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the signed validator registration.
func (*VersionedSignedValidatorRegistration) GetTree ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) GetTree() (*ssz.Node, error)
GetTree ssz hashes the VersionedSignedValidatorRegistration object
func (*VersionedSignedValidatorRegistration) HashTreeRoot ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) HashTreeRoot() ([32]byte, error)
HashTreeRoot ssz hashes the VersionedSignedValidatorRegistration object
func (*VersionedSignedValidatorRegistration) HashTreeRootWith ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) HashTreeRootWith(hh ssz.HashWalker) (err error)
HashTreeRootWith ssz hashes the VersionedSignedValidatorRegistration object with a hasher
func (*VersionedSignedValidatorRegistration) MarshalSSZ ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) MarshalSSZ() ([]byte, error)
MarshalSSZ ssz marshals the VersionedSignedValidatorRegistration object
func (*VersionedSignedValidatorRegistration) MarshalSSZTo ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) MarshalSSZTo(buf []byte) (dst []byte, err error)
MarshalSSZTo ssz marshals the VersionedSignedValidatorRegistration object to a target array
func (*VersionedSignedValidatorRegistration) PubKey ¶ added in v0.12.0
func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
PubKey returns the public key of the signed validator registration.
func (*VersionedSignedValidatorRegistration) Root ¶ added in v0.13.1
func (v *VersionedSignedValidatorRegistration) Root() (phase0.Root, error)
Root returns the root of the validator registration.
func (*VersionedSignedValidatorRegistration) SizeSSZ ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) SizeSSZ() (size int)
SizeSSZ returns the ssz encoded size in bytes for the VersionedSignedValidatorRegistration object
func (*VersionedSignedValidatorRegistration) Timestamp ¶ added in v0.12.0
func (v *VersionedSignedValidatorRegistration) Timestamp() (time.Time, error)
Timestamp returns the timestamp of the signed validator registration.
func (*VersionedSignedValidatorRegistration) UnmarshalSSZ ¶ added in v0.18.2
func (v *VersionedSignedValidatorRegistration) UnmarshalSSZ(buf []byte) error
UnmarshalSSZ ssz unmarshals the VersionedSignedValidatorRegistration object
type VersionedValidatorRegistration ¶ added in v0.12.0
type VersionedValidatorRegistration struct { Version spec.BuilderVersion V1 *apiv1.ValidatorRegistration }
VersionedValidatorRegistration contains a versioned ValidatorRegistrationV1.
func (*VersionedValidatorRegistration) FeeRecipient ¶ added in v0.12.0
func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the validator registration.
func (*VersionedValidatorRegistration) GasLimit ¶ added in v0.12.0
func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the validator registration.
func (*VersionedValidatorRegistration) IsEmpty ¶ added in v0.12.0
func (v *VersionedValidatorRegistration) IsEmpty() bool
IsEmpty returns true if there is no block.
func (*VersionedValidatorRegistration) PubKey ¶ added in v0.12.0
func (v *VersionedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
PubKey returns the public key of the validator registration.
type VoluntaryExitPoolOpts ¶ added in v0.19.5
type VoluntaryExitPoolOpts struct {
Common CommonOpts
}
VoluntaryExitPoolOpts are the options for obtaining the voluntary exit pool.
Source Files ¶
- aggregateattestationopts.go
- attestationdataopts.go
- attestationpoolopts.go
- attesterdutiesopts.go
- beaconblockheaderopts.go
- beaconblockrootopts.go
- beaconcommitteesopts.go
- beaconstateopts.go
- beaconstaterandaoopts.go
- beaconstaterootopts.go
- blindedproposalopts.go
- blobsidecars.go
- blobsidecarsopts.go
- commonopts.go
- depositcontractopts.go
- error.go
- errors.go
- finalityopts.go
- forkchoiceopts.go
- forkopts.go
- forkscheduleopts.go
- generate.go
- genesisopts.go
- nodepeersopts.go
- nodesyncingopts.go
- nodeversionopts.go
- proposalopts.go
- proposerdutiesopts.go
- response.go
- signedbeaconblockopts.go
- specopts.go
- submitblindedproposalopts.go
- submitproposalopts.go
- synccommitteecontributionopts.go
- synccommitteedutiesopts.go
- synccommitteeopts.go
- validatorbalancesopts.go
- validatorsopts.go
- versionedblindedbeaconblock.go
- versionedblindedbeaconblock_ssz.go
- versionedblindedproposal.go
- versionedblockrequest.go
- versionedproposal.go
- versionedsignedblindedbeaconblock.go
- versionedsignedblindedbeaconblock_ssz.go
- versionedsignedblindedproposal.go
- versionedsignedproposal.go
- versionedsignedvalidatorregistration.go
- versionedsignedvalidatorregistration_ssz.go
- versionedvalidatorregistration.go
- voluntaryexitpoolopts.go
Directories ¶
Path | Synopsis |
---|---|
Package metadata contains keys for well-known metadata fields provided in an API response.
|
Package metadata contains keys for well-known metadata fields provided in an API response. |
Code generated by fastssz.
|
Code generated by fastssz. |
bellatrix
Code generated by fastssz.
|
Code generated by fastssz. |
capella
Code generated by fastssz.
|
Code generated by fastssz. |
deneb
Code generated by fastssz.
|
Code generated by fastssz. |