Documentation ¶
Index ¶
- type VersionedExecutionPayload
- type VersionedExecutionPayloadHeader
- type VersionedSignedValidatorRegistration
- func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
- func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
- func (v *VersionedSignedValidatorRegistration) PubKey() (phase0.BLSPubKey, error)
- func (v *VersionedSignedValidatorRegistration) Timestamp() (time.Time, 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) Timestamp() (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionedExecutionPayload ¶
type VersionedExecutionPayload struct { Version consensusspec.DataVersion Bellatrix *bellatrix.ExecutionPayload Capella *capella.ExecutionPayload }
VersionedExecutionPayload contains a versioned ExecutionPayloadV1.
func (*VersionedExecutionPayload) IsEmpty ¶
func (v *VersionedExecutionPayload) IsEmpty() bool
IsEmpty returns true if there is no payload.
func (*VersionedExecutionPayload) MarshalJSON ¶
func (v *VersionedExecutionPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*VersionedExecutionPayload) UnmarshalJSON ¶
func (v *VersionedExecutionPayload) UnmarshalJSON(input []byte) error
UnmarshalJSON implements json.Unmarshaler.
type VersionedExecutionPayloadHeader ¶
type VersionedExecutionPayloadHeader struct { Version consensusspec.DataVersion `json:"version"` Bellatrix *bellatrix.ExecutionPayloadHeader `json:"bellatrix,omitempty"` }
VersionedExecutionPayloadHeader contains a versioned ExecutionPayloadHeaderV1.
func (*VersionedExecutionPayloadHeader) IsEmpty ¶
func (v *VersionedExecutionPayloadHeader) IsEmpty() bool
IsEmpty returns true if there is no payload.
type VersionedSignedValidatorRegistration ¶
type VersionedSignedValidatorRegistration struct { Version spec.BuilderVersion V1 *apiv1.SignedValidatorRegistration }
VersionedSignedValidatorRegistration contains a versioned SignedValidatorRegistrationV1.
func (*VersionedSignedValidatorRegistration) FeeRecipient ¶
func (v *VersionedSignedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the signed validator registration.
func (*VersionedSignedValidatorRegistration) GasLimit ¶
func (v *VersionedSignedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the signed validator registration.
type VersionedValidatorRegistration ¶
type VersionedValidatorRegistration struct { Version spec.BuilderVersion V1 *apiv1.ValidatorRegistration }
VersionedValidatorRegistration contains a versioned ValidatorRegistrationV1.
func (*VersionedValidatorRegistration) FeeRecipient ¶
func (v *VersionedValidatorRegistration) FeeRecipient() (bellatrix.ExecutionAddress, error)
FeeRecipient returns the fee recipient of the validator registration.
func (*VersionedValidatorRegistration) GasLimit ¶
func (v *VersionedValidatorRegistration) GasLimit() (uint64, error)
GasLimit returns the gas limit of the validator registration.
func (*VersionedValidatorRegistration) IsEmpty ¶
func (v *VersionedValidatorRegistration) IsEmpty() bool
IsEmpty returns true if there is no block.