Versions in this module Expand all Collapse all v1 v1.0.0 Sep 20, 2023 Changes in this version + const Execution_AssembleBlock_FullMethodName + const Execution_CurrentHeader_FullMethodName + const Execution_GetAssembledBlock_FullMethodName + const Execution_GetBodiesByHashes_FullMethodName + const Execution_GetBodiesByRange_FullMethodName + const Execution_GetBody_FullMethodName + const Execution_GetForkChoice_FullMethodName + const Execution_GetHeaderHashNumber_FullMethodName + const Execution_GetHeader_FullMethodName + const Execution_GetTD_FullMethodName + const Execution_InsertBlocks_FullMethodName + const Execution_IsCanonicalHash_FullMethodName + const Execution_Ready_FullMethodName + const Execution_UpdateForkChoice_FullMethodName + const Execution_ValidateChain_FullMethodName + var ExecutionStatus_name = map[int32]string + var ExecutionStatus_value = map[string]int32 + var Execution_ServiceDesc = grpc.ServiceDesc + var File_execution_execution_proto protoreflect.FileDescriptor + func RegisterExecutionServer(s grpc.ServiceRegistrar, srv ExecutionServer) + type AssembleBlockRequest struct + ParentBeaconBlockRoot *types.H256 + ParentHash *types.H256 + PrevRandao *types.H256 + SuggestedFeeRecipient *types.H160 + Timestamp uint64 + Withdrawals []*types.Withdrawal + func (*AssembleBlockRequest) Descriptor() ([]byte, []int) + func (*AssembleBlockRequest) ProtoMessage() + func (x *AssembleBlockRequest) GetParentBeaconBlockRoot() *types.H256 + func (x *AssembleBlockRequest) GetParentHash() *types.H256 + func (x *AssembleBlockRequest) GetPrevRandao() *types.H256 + func (x *AssembleBlockRequest) GetSuggestedFeeRecipient() *types.H160 + func (x *AssembleBlockRequest) GetTimestamp() uint64 + func (x *AssembleBlockRequest) GetWithdrawals() []*types.Withdrawal + func (x *AssembleBlockRequest) ProtoReflect() protoreflect.Message + func (x *AssembleBlockRequest) Reset() + func (x *AssembleBlockRequest) String() string + type AssembleBlockResponse struct + Busy bool + Id uint64 + func (*AssembleBlockResponse) Descriptor() ([]byte, []int) + func (*AssembleBlockResponse) ProtoMessage() + func (x *AssembleBlockResponse) GetBusy() bool + func (x *AssembleBlockResponse) GetId() uint64 + func (x *AssembleBlockResponse) ProtoReflect() protoreflect.Message + func (x *AssembleBlockResponse) Reset() + func (x *AssembleBlockResponse) String() string + type AssembledBlockData struct + BlobsBundle *types.BlobsBundleV1 + BlockValue *types.H256 + ExecutionPayload *types.ExecutionPayload + func (*AssembledBlockData) Descriptor() ([]byte, []int) + func (*AssembledBlockData) ProtoMessage() + func (x *AssembledBlockData) GetBlobsBundle() *types.BlobsBundleV1 + func (x *AssembledBlockData) GetBlockValue() *types.H256 + func (x *AssembledBlockData) GetExecutionPayload() *types.ExecutionPayload + func (x *AssembledBlockData) ProtoReflect() protoreflect.Message + func (x *AssembledBlockData) Reset() + func (x *AssembledBlockData) String() string + type Block struct + Body *BlockBody + Header *Header + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (x *Block) GetBody() *BlockBody + func (x *Block) GetHeader() *Header + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type BlockBody struct + BlockHash *types.H256 + BlockNumber uint64 + Transactions [][]byte + Uncles []*Header + Withdrawals []*types.Withdrawal + func (*BlockBody) Descriptor() ([]byte, []int) + func (*BlockBody) ProtoMessage() + func (x *BlockBody) GetBlockHash() *types.H256 + func (x *BlockBody) GetBlockNumber() uint64 + func (x *BlockBody) GetTransactions() [][]byte + func (x *BlockBody) GetUncles() []*Header + func (x *BlockBody) GetWithdrawals() []*types.Withdrawal + func (x *BlockBody) ProtoReflect() protoreflect.Message + func (x *BlockBody) Reset() + func (x *BlockBody) String() string + type ExecutionClient interface + AssembleBlock func(ctx context.Context, in *AssembleBlockRequest, opts ...grpc.CallOption) (*AssembleBlockResponse, error) + CurrentHeader func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetHeaderResponse, error) + GetAssembledBlock func(ctx context.Context, in *GetAssembledBlockRequest, opts ...grpc.CallOption) (*GetAssembledBlockResponse, error) + GetBodiesByHashes func(ctx context.Context, in *GetBodiesByHashesRequest, opts ...grpc.CallOption) (*GetBodiesBatchResponse, error) + GetBodiesByRange func(ctx context.Context, in *GetBodiesByRangeRequest, opts ...grpc.CallOption) (*GetBodiesBatchResponse, error) + GetBody func(ctx context.Context, in *GetSegmentRequest, opts ...grpc.CallOption) (*GetBodyResponse, error) + GetForkChoice func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ForkChoice, error) + GetHeader func(ctx context.Context, in *GetSegmentRequest, opts ...grpc.CallOption) (*GetHeaderResponse, error) + GetHeaderHashNumber func(ctx context.Context, in *types.H256, opts ...grpc.CallOption) (*GetHeaderHashNumberResponse, error) + GetTD func(ctx context.Context, in *GetSegmentRequest, opts ...grpc.CallOption) (*GetTDResponse, error) + InsertBlocks func(ctx context.Context, in *InsertBlocksRequest, opts ...grpc.CallOption) (*InsertionResult, error) + IsCanonicalHash func(ctx context.Context, in *types.H256, opts ...grpc.CallOption) (*IsCanonicalResponse, error) + Ready func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ReadyResponse, error) + UpdateForkChoice func(ctx context.Context, in *ForkChoice, opts ...grpc.CallOption) (*ForkChoiceReceipt, error) + ValidateChain func(ctx context.Context, in *ValidationRequest, opts ...grpc.CallOption) (*ValidationReceipt, error) + func NewExecutionClient(cc grpc.ClientConnInterface) ExecutionClient + type ExecutionServer interface + AssembleBlock func(context.Context, *AssembleBlockRequest) (*AssembleBlockResponse, error) + CurrentHeader func(context.Context, *emptypb.Empty) (*GetHeaderResponse, error) + GetAssembledBlock func(context.Context, *GetAssembledBlockRequest) (*GetAssembledBlockResponse, error) + GetBodiesByHashes func(context.Context, *GetBodiesByHashesRequest) (*GetBodiesBatchResponse, error) + GetBodiesByRange func(context.Context, *GetBodiesByRangeRequest) (*GetBodiesBatchResponse, error) + GetBody func(context.Context, *GetSegmentRequest) (*GetBodyResponse, error) + GetForkChoice func(context.Context, *emptypb.Empty) (*ForkChoice, error) + GetHeader func(context.Context, *GetSegmentRequest) (*GetHeaderResponse, error) + GetHeaderHashNumber func(context.Context, *types.H256) (*GetHeaderHashNumberResponse, error) + GetTD func(context.Context, *GetSegmentRequest) (*GetTDResponse, error) + InsertBlocks func(context.Context, *InsertBlocksRequest) (*InsertionResult, error) + IsCanonicalHash func(context.Context, *types.H256) (*IsCanonicalResponse, error) + Ready func(context.Context, *emptypb.Empty) (*ReadyResponse, error) + UpdateForkChoice func(context.Context, *ForkChoice) (*ForkChoiceReceipt, error) + ValidateChain func(context.Context, *ValidationRequest) (*ValidationReceipt, error) + type ExecutionStatus int32 + const ExecutionStatus_BadBlock + const ExecutionStatus_Busy + const ExecutionStatus_InvalidForkchoice + const ExecutionStatus_MissingSegment + const ExecutionStatus_Success + const ExecutionStatus_TooFarAway + func (ExecutionStatus) Descriptor() protoreflect.EnumDescriptor + func (ExecutionStatus) EnumDescriptor() ([]byte, []int) + func (ExecutionStatus) Type() protoreflect.EnumType + func (x ExecutionStatus) Enum() *ExecutionStatus + func (x ExecutionStatus) Number() protoreflect.EnumNumber + func (x ExecutionStatus) String() string + type ForkChoice struct + FinalizedBlockHash *types.H256 + HeadBlockHash *types.H256 + SafeBlockHash *types.H256 + Timeout uint64 + func (*ForkChoice) Descriptor() ([]byte, []int) + func (*ForkChoice) ProtoMessage() + func (x *ForkChoice) GetFinalizedBlockHash() *types.H256 + func (x *ForkChoice) GetHeadBlockHash() *types.H256 + func (x *ForkChoice) GetSafeBlockHash() *types.H256 + func (x *ForkChoice) GetTimeout() uint64 + func (x *ForkChoice) ProtoReflect() protoreflect.Message + func (x *ForkChoice) Reset() + func (x *ForkChoice) String() string + type ForkChoiceReceipt struct + LatestValidHash *types.H256 + Status ExecutionStatus + func (*ForkChoiceReceipt) Descriptor() ([]byte, []int) + func (*ForkChoiceReceipt) ProtoMessage() + func (x *ForkChoiceReceipt) GetLatestValidHash() *types.H256 + func (x *ForkChoiceReceipt) GetStatus() ExecutionStatus + func (x *ForkChoiceReceipt) ProtoReflect() protoreflect.Message + func (x *ForkChoiceReceipt) Reset() + func (x *ForkChoiceReceipt) String() string + type GetAssembledBlockRequest struct + Id uint64 + func (*GetAssembledBlockRequest) Descriptor() ([]byte, []int) + func (*GetAssembledBlockRequest) ProtoMessage() + func (x *GetAssembledBlockRequest) GetId() uint64 + func (x *GetAssembledBlockRequest) ProtoReflect() protoreflect.Message + func (x *GetAssembledBlockRequest) Reset() + func (x *GetAssembledBlockRequest) String() string + type GetAssembledBlockResponse struct + Busy bool + Data *AssembledBlockData + func (*GetAssembledBlockResponse) Descriptor() ([]byte, []int) + func (*GetAssembledBlockResponse) ProtoMessage() + func (x *GetAssembledBlockResponse) GetBusy() bool + func (x *GetAssembledBlockResponse) GetData() *AssembledBlockData + func (x *GetAssembledBlockResponse) ProtoReflect() protoreflect.Message + func (x *GetAssembledBlockResponse) Reset() + func (x *GetAssembledBlockResponse) String() string + type GetBodiesBatchResponse struct + Bodies []*BlockBody + func (*GetBodiesBatchResponse) Descriptor() ([]byte, []int) + func (*GetBodiesBatchResponse) ProtoMessage() + func (x *GetBodiesBatchResponse) GetBodies() []*BlockBody + func (x *GetBodiesBatchResponse) ProtoReflect() protoreflect.Message + func (x *GetBodiesBatchResponse) Reset() + func (x *GetBodiesBatchResponse) String() string + type GetBodiesByHashesRequest struct + Hashes []*types.H256 + func (*GetBodiesByHashesRequest) Descriptor() ([]byte, []int) + func (*GetBodiesByHashesRequest) ProtoMessage() + func (x *GetBodiesByHashesRequest) GetHashes() []*types.H256 + func (x *GetBodiesByHashesRequest) ProtoReflect() protoreflect.Message + func (x *GetBodiesByHashesRequest) Reset() + func (x *GetBodiesByHashesRequest) String() string + type GetBodiesByRangeRequest struct + Count uint64 + Start uint64 + func (*GetBodiesByRangeRequest) Descriptor() ([]byte, []int) + func (*GetBodiesByRangeRequest) ProtoMessage() + func (x *GetBodiesByRangeRequest) GetCount() uint64 + func (x *GetBodiesByRangeRequest) GetStart() uint64 + func (x *GetBodiesByRangeRequest) ProtoReflect() protoreflect.Message + func (x *GetBodiesByRangeRequest) Reset() + func (x *GetBodiesByRangeRequest) String() string + type GetBodyResponse struct + Body *BlockBody + func (*GetBodyResponse) Descriptor() ([]byte, []int) + func (*GetBodyResponse) ProtoMessage() + func (x *GetBodyResponse) GetBody() *BlockBody + func (x *GetBodyResponse) ProtoReflect() protoreflect.Message + func (x *GetBodyResponse) Reset() + func (x *GetBodyResponse) String() string + type GetHeaderHashNumberResponse struct + BlockNumber *uint64 + func (*GetHeaderHashNumberResponse) Descriptor() ([]byte, []int) + func (*GetHeaderHashNumberResponse) ProtoMessage() + func (x *GetHeaderHashNumberResponse) GetBlockNumber() uint64 + func (x *GetHeaderHashNumberResponse) ProtoReflect() protoreflect.Message + func (x *GetHeaderHashNumberResponse) Reset() + func (x *GetHeaderHashNumberResponse) String() string + type GetHeaderResponse struct + Header *Header + func (*GetHeaderResponse) Descriptor() ([]byte, []int) + func (*GetHeaderResponse) ProtoMessage() + func (x *GetHeaderResponse) GetHeader() *Header + func (x *GetHeaderResponse) ProtoReflect() protoreflect.Message + func (x *GetHeaderResponse) Reset() + func (x *GetHeaderResponse) String() string + type GetSegmentRequest struct + BlockHash *types.H256 + BlockNumber *uint64 + func (*GetSegmentRequest) Descriptor() ([]byte, []int) + func (*GetSegmentRequest) ProtoMessage() + func (x *GetSegmentRequest) GetBlockHash() *types.H256 + func (x *GetSegmentRequest) GetBlockNumber() uint64 + func (x *GetSegmentRequest) ProtoReflect() protoreflect.Message + func (x *GetSegmentRequest) Reset() + func (x *GetSegmentRequest) String() string + type GetTDResponse struct + Td *types.H256 + func (*GetTDResponse) Descriptor() ([]byte, []int) + func (*GetTDResponse) ProtoMessage() + func (x *GetTDResponse) GetTd() *types.H256 + func (x *GetTDResponse) ProtoReflect() protoreflect.Message + func (x *GetTDResponse) Reset() + func (x *GetTDResponse) String() string + type Header struct + AuraSeal []byte + AuraStep *uint64 + BaseFeePerGas *types.H256 + BlobGasUsed *uint64 + BlockHash *types.H256 + BlockNumber uint64 + Coinbase *types.H160 + Difficulty *types.H256 + ExcessBlobGas *uint64 + ExtraData []byte + GasLimit uint64 + GasUsed uint64 + LogsBloom *types.H2048 + Nonce uint64 + OmmerHash *types.H256 + ParentBeaconBlockRoot *types.H256 + ParentHash *types.H256 + PrevRandao *types.H256 + ReceiptRoot *types.H256 + StateRoot *types.H256 + Timestamp uint64 + TransactionHash *types.H256 + WithdrawalHash *types.H256 + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (x *Header) GetAuraSeal() []byte + func (x *Header) GetAuraStep() uint64 + func (x *Header) GetBaseFeePerGas() *types.H256 + func (x *Header) GetBlobGasUsed() uint64 + func (x *Header) GetBlockHash() *types.H256 + func (x *Header) GetBlockNumber() uint64 + func (x *Header) GetCoinbase() *types.H160 + func (x *Header) GetDifficulty() *types.H256 + func (x *Header) GetExcessBlobGas() uint64 + func (x *Header) GetExtraData() []byte + func (x *Header) GetGasLimit() uint64 + func (x *Header) GetGasUsed() uint64 + func (x *Header) GetLogsBloom() *types.H2048 + func (x *Header) GetNonce() uint64 + func (x *Header) GetOmmerHash() *types.H256 + func (x *Header) GetParentBeaconBlockRoot() *types.H256 + func (x *Header) GetParentHash() *types.H256 + func (x *Header) GetPrevRandao() *types.H256 + func (x *Header) GetReceiptRoot() *types.H256 + func (x *Header) GetStateRoot() *types.H256 + func (x *Header) GetTimestamp() uint64 + func (x *Header) GetTransactionHash() *types.H256 + func (x *Header) GetWithdrawalHash() *types.H256 + func (x *Header) ProtoReflect() protoreflect.Message + func (x *Header) Reset() + func (x *Header) String() string + type InsertBlocksRequest struct + Blocks []*Block + func (*InsertBlocksRequest) Descriptor() ([]byte, []int) + func (*InsertBlocksRequest) ProtoMessage() + func (x *InsertBlocksRequest) GetBlocks() []*Block + func (x *InsertBlocksRequest) ProtoReflect() protoreflect.Message + func (x *InsertBlocksRequest) Reset() + func (x *InsertBlocksRequest) String() string + type InsertionResult struct + Result ExecutionStatus + func (*InsertionResult) Descriptor() ([]byte, []int) + func (*InsertionResult) ProtoMessage() + func (x *InsertionResult) GetResult() ExecutionStatus + func (x *InsertionResult) ProtoReflect() protoreflect.Message + func (x *InsertionResult) Reset() + func (x *InsertionResult) String() string + type IsCanonicalResponse struct + Canonical bool + func (*IsCanonicalResponse) Descriptor() ([]byte, []int) + func (*IsCanonicalResponse) ProtoMessage() + func (x *IsCanonicalResponse) GetCanonical() bool + func (x *IsCanonicalResponse) ProtoReflect() protoreflect.Message + func (x *IsCanonicalResponse) Reset() + func (x *IsCanonicalResponse) String() string + type ReadyResponse struct + Ready bool + func (*ReadyResponse) Descriptor() ([]byte, []int) + func (*ReadyResponse) ProtoMessage() + func (x *ReadyResponse) GetReady() bool + func (x *ReadyResponse) ProtoReflect() protoreflect.Message + func (x *ReadyResponse) Reset() + func (x *ReadyResponse) String() string + type UnimplementedExecutionServer struct + func (UnimplementedExecutionServer) AssembleBlock(context.Context, *AssembleBlockRequest) (*AssembleBlockResponse, error) + func (UnimplementedExecutionServer) CurrentHeader(context.Context, *emptypb.Empty) (*GetHeaderResponse, error) + func (UnimplementedExecutionServer) GetAssembledBlock(context.Context, *GetAssembledBlockRequest) (*GetAssembledBlockResponse, error) + func (UnimplementedExecutionServer) GetBodiesByHashes(context.Context, *GetBodiesByHashesRequest) (*GetBodiesBatchResponse, error) + func (UnimplementedExecutionServer) GetBodiesByRange(context.Context, *GetBodiesByRangeRequest) (*GetBodiesBatchResponse, error) + func (UnimplementedExecutionServer) GetBody(context.Context, *GetSegmentRequest) (*GetBodyResponse, error) + func (UnimplementedExecutionServer) GetForkChoice(context.Context, *emptypb.Empty) (*ForkChoice, error) + func (UnimplementedExecutionServer) GetHeader(context.Context, *GetSegmentRequest) (*GetHeaderResponse, error) + func (UnimplementedExecutionServer) GetHeaderHashNumber(context.Context, *types.H256) (*GetHeaderHashNumberResponse, error) + func (UnimplementedExecutionServer) GetTD(context.Context, *GetSegmentRequest) (*GetTDResponse, error) + func (UnimplementedExecutionServer) InsertBlocks(context.Context, *InsertBlocksRequest) (*InsertionResult, error) + func (UnimplementedExecutionServer) IsCanonicalHash(context.Context, *types.H256) (*IsCanonicalResponse, error) + func (UnimplementedExecutionServer) Ready(context.Context, *emptypb.Empty) (*ReadyResponse, error) + func (UnimplementedExecutionServer) UpdateForkChoice(context.Context, *ForkChoice) (*ForkChoiceReceipt, error) + func (UnimplementedExecutionServer) ValidateChain(context.Context, *ValidationRequest) (*ValidationReceipt, error) + type UnsafeExecutionServer interface + type ValidationReceipt struct + LatestValidHash *types.H256 + ValidationStatus ExecutionStatus + func (*ValidationReceipt) Descriptor() ([]byte, []int) + func (*ValidationReceipt) ProtoMessage() + func (x *ValidationReceipt) GetLatestValidHash() *types.H256 + func (x *ValidationReceipt) GetValidationStatus() ExecutionStatus + func (x *ValidationReceipt) ProtoReflect() protoreflect.Message + func (x *ValidationReceipt) Reset() + func (x *ValidationReceipt) String() string + type ValidationRequest struct + Hash *types.H256 + Number uint64 + func (*ValidationRequest) Descriptor() ([]byte, []int) + func (*ValidationRequest) ProtoMessage() + func (x *ValidationRequest) GetHash() *types.H256 + func (x *ValidationRequest) GetNumber() uint64 + func (x *ValidationRequest) ProtoReflect() protoreflect.Message + func (x *ValidationRequest) Reset() + func (x *ValidationRequest) String() string