Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoContent = errors.New("no http content")
)
Functions ¶
func NewBlockBuilderClient ¶
func NewBlockBuilderClient(baseUrl string, beaconConfig *clparams.BeaconChainConfig) *builderClient
Types ¶
type BlindedBlockResponse ¶
type BlindedBlockResponse struct { Version string `json:"version"` Data json.RawMessage `json:"data"` }
type BuilderClient ¶
type BuilderClient interface { RegisterValidator(ctx context.Context, registers []*cltypes.ValidatorRegistration) error GetHeader(ctx context.Context, slot int64, parentHash common.Hash, pubKey common.Bytes48) (*ExecutionHeader, error) SubmitBlindedBlocks(ctx context.Context, block *cltypes.SignedBlindedBeaconBlock) (*cltypes.Eth1Block, *engine_types.BlobsBundleV1, error) GetStatus(ctx context.Context) error }
type ExecutionHeader ¶
type ExecutionHeader struct { Version string `json:"version"` Data ExecutionHeaderData `json:"data"` }
func (ExecutionHeader) BlockValue ¶
func (h ExecutionHeader) BlockValue() *big.Int
type ExecutionHeaderData ¶
type ExecutionHeaderData struct { Message ExecutionHeaderMessage `json:"message"` Signature common.Bytes96 `json:"signature"` }
type ExecutionHeaderMessage ¶
type ExecutionHeaderMessage struct { Header *cltypes.Eth1Header `json:"header"` BlobKzgCommitments *solid.ListSSZ[*cltypes.KZGCommitment] `json:"blob_kzg_commitments"` Value string `json:"value"` PubKey common.Bytes48 `json:"pubkey"` }
Directories
¶
Path | Synopsis |
---|---|
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.