Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlindedBlobsBundle ¶ added in v1.1.0
type BlobsBundle ¶ added in v1.1.0
type BlobsBundle interface { FromAPI(*beacon.Spec, *api.BlobsBundleV1) error ToAPI() (*api.BlobsBundleV1, error) GetCommitments() *beacon.KZGCommitments GetProofs() *beacon.KZGProofs GetBlobs() *deneb.Blobs }
type BuilderBid ¶
type BuilderBid interface { Build(spec *beacon.Spec, payload *api.ExecutableData, blobsBundle *api.BlobsBundleV1, parentBlockRoot tree.Root, slot beacon.Slot, proposerIndex beacon.ValidatorIndex) error FullPayload() ExecutionPayload FullBlobsBundle() BlobsBundle SetValue(*big.Int) SetPubKey(beacon.BLSPubkey) HashTreeRoot(spec *beacon.Spec, hFn tree.HashFn) tree.Root Sign(spec *beacon.Spec, domain beacon.BLSDomain, sk *blsu.SecretKey, pk *blsu.Pubkey) (*SignedBuilderBid, error) ValidateReveal(publicKey *blsu.Pubkey, signedBeaconResponse SignedBeaconResponse, spec *beacon.Spec, slot beacon.Slot, genesisValidatorsRoot *tree.Root) (*UnblindedResponse, error) Version() string }
type BuilderBidContext ¶ added in v1.1.0
type ExecutionPayload ¶
type SignedBeaconResponse ¶ added in v1.1.0
type SignedBuilderBid ¶
type SignedBuilderBid struct { Message BuilderBid `json:"message" yaml:"message"` Signature common.BLSSignature `json:"signature" yaml:"signature"` }
func (*SignedBuilderBid) Versioned ¶
func (s *SignedBuilderBid) Versioned() *VersionedSignedBuilderBid
type SignedValidatorRegistrationV1 ¶
type SignedValidatorRegistrationV1 struct { Message ValidatorRegistrationV1 `json:"message" yaml:"message"` Signature common.BLSSignature `json:"signature" yaml:"signature"` }
type UnblindedResponse ¶ added in v1.1.0
type UnblindedResponse struct { Version string `json:"version" yaml:"version"` Data interface{} `json:"data" yaml:"data"` }
type ValidatorRegistrationV1 ¶
type ValidatorRegistrationV1 struct { FeeRecipient common.Eth1Address `json:"fee_recipient" yaml:"fee_recipient"` GasLimit view.Uint64View `json:"gas_limit" yaml:"gas_limit"` Timestamp view.Uint64View `json:"timestamp" yaml:"timestamp"` PubKey common.BLSPubkey `json:"pubkey" yaml:"pubkey"` }
func (*ValidatorRegistrationV1) HashTreeRoot ¶
func (vr *ValidatorRegistrationV1) HashTreeRoot(hFn tree.HashFn) tree.Root
type VersionedSignedBuilderBid ¶
type VersionedSignedBuilderBid struct { Version string `json:"version" yaml:"version"` Data *SignedBuilderBid `json:"data" yaml:"data"` }
Click to show internal directories.
Click to hide internal directories.