mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
1198 lines
45 KiB
Go
1198 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.12
|
|
// source: execution/execution.proto
|
|
|
|
package execution
|
|
|
|
import (
|
|
types "github.com/ledgerwatch/erigon-lib/gointerfaces/types"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type ValidationStatus int32
|
|
|
|
const (
|
|
ValidationStatus_Success ValidationStatus = 0 // State transition simulation is successful.
|
|
ValidationStatus_InvalidChain ValidationStatus = 1 // State transition simulation is Unsuccessful.
|
|
ValidationStatus_TooFarAway ValidationStatus = 2 // Chain hash is too far away from current chain head and unfeasible to validate.
|
|
ValidationStatus_MissingSegment ValidationStatus = 3 // Chain segments are missing.
|
|
)
|
|
|
|
// Enum value maps for ValidationStatus.
|
|
var (
|
|
ValidationStatus_name = map[int32]string{
|
|
0: "Success",
|
|
1: "InvalidChain",
|
|
2: "TooFarAway",
|
|
3: "MissingSegment",
|
|
}
|
|
ValidationStatus_value = map[string]int32{
|
|
"Success": 0,
|
|
"InvalidChain": 1,
|
|
"TooFarAway": 2,
|
|
"MissingSegment": 3,
|
|
}
|
|
)
|
|
|
|
func (x ValidationStatus) Enum() *ValidationStatus {
|
|
p := new(ValidationStatus)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ValidationStatus) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ValidationStatus) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_execution_execution_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (ValidationStatus) Type() protoreflect.EnumType {
|
|
return &file_execution_execution_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x ValidationStatus) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ValidationStatus.Descriptor instead.
|
|
func (ValidationStatus) EnumDescriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ForkChoiceReceipt struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // Forkchoice is either successful or unsuccessful.
|
|
LatestValidHash *types.H256 `protobuf:"bytes,2,opt,name=latestValidHash,proto3" json:"latestValidHash,omitempty"` // Return latest valid hash in case of halt of execution.
|
|
}
|
|
|
|
func (x *ForkChoiceReceipt) Reset() {
|
|
*x = ForkChoiceReceipt{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForkChoiceReceipt) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForkChoiceReceipt) ProtoMessage() {}
|
|
|
|
func (x *ForkChoiceReceipt) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ForkChoiceReceipt.ProtoReflect.Descriptor instead.
|
|
func (*ForkChoiceReceipt) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ForkChoiceReceipt) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ForkChoiceReceipt) GetLatestValidHash() *types.H256 {
|
|
if x != nil {
|
|
return x.LatestValidHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Result we receive after validation
|
|
type ValidationReceipt struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ValidationStatus ValidationStatus `protobuf:"varint,1,opt,name=validationStatus,proto3,enum=execution.ValidationStatus" json:"validationStatus,omitempty"`
|
|
LatestValidHash *types.H256 `protobuf:"bytes,2,opt,name=latestValidHash,proto3" json:"latestValidHash,omitempty"`
|
|
MissingHash *types.H256 `protobuf:"bytes,3,opt,name=missingHash,proto3,oneof" json:"missingHash,omitempty"` // The missing hash, in case we receive MissingSegment so that we can reverse download it.
|
|
}
|
|
|
|
func (x *ValidationReceipt) Reset() {
|
|
*x = ValidationReceipt{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ValidationReceipt) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ValidationReceipt) ProtoMessage() {}
|
|
|
|
func (x *ValidationReceipt) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ValidationReceipt.ProtoReflect.Descriptor instead.
|
|
func (*ValidationReceipt) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ValidationReceipt) GetValidationStatus() ValidationStatus {
|
|
if x != nil {
|
|
return x.ValidationStatus
|
|
}
|
|
return ValidationStatus_Success
|
|
}
|
|
|
|
func (x *ValidationReceipt) GetLatestValidHash() *types.H256 {
|
|
if x != nil {
|
|
return x.LatestValidHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ValidationReceipt) GetMissingHash() *types.H256 {
|
|
if x != nil {
|
|
return x.MissingHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type IsCanonicalResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Canonical bool `protobuf:"varint,1,opt,name=canonical,proto3" json:"canonical,omitempty"` // Whether hash is canonical or not.
|
|
}
|
|
|
|
func (x *IsCanonicalResponse) Reset() {
|
|
*x = IsCanonicalResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *IsCanonicalResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IsCanonicalResponse) ProtoMessage() {}
|
|
|
|
func (x *IsCanonicalResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use IsCanonicalResponse.ProtoReflect.Descriptor instead.
|
|
func (*IsCanonicalResponse) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *IsCanonicalResponse) GetCanonical() bool {
|
|
if x != nil {
|
|
return x.Canonical
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Header is an header for execution
|
|
type Header struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ParentHash *types.H256 `protobuf:"bytes,1,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
|
|
Coinbase *types.H160 `protobuf:"bytes,2,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
|
|
StateRoot *types.H256 `protobuf:"bytes,3,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"`
|
|
ReceiptRoot *types.H256 `protobuf:"bytes,4,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"`
|
|
LogsBloom *types.H2048 `protobuf:"bytes,5,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"`
|
|
MixDigest *types.H256 `protobuf:"bytes,6,opt,name=mixDigest,proto3" json:"mixDigest,omitempty"`
|
|
BlockNumber uint64 `protobuf:"varint,7,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
|
|
GasLimit uint64 `protobuf:"varint,8,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
|
|
GasUsed uint64 `protobuf:"varint,9,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
|
|
Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
ExtraData []byte `protobuf:"bytes,11,opt,name=extraData,proto3" json:"extraData,omitempty"`
|
|
BaseFeePerGas *types.H256 `protobuf:"bytes,12,opt,name=baseFeePerGas,proto3" json:"baseFeePerGas,omitempty"`
|
|
BlockHash *types.H256 `protobuf:"bytes,13,opt,name=blockHash,proto3" json:"blockHash,omitempty"` // We keep this so that we can validate it
|
|
OmmerHash *types.H256 `protobuf:"bytes,14,opt,name=ommerHash,proto3" json:"ommerHash,omitempty"`
|
|
}
|
|
|
|
func (x *Header) Reset() {
|
|
*x = Header{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Header) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Header) ProtoMessage() {}
|
|
|
|
func (x *Header) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
|
|
func (*Header) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Header) GetParentHash() *types.H256 {
|
|
if x != nil {
|
|
return x.ParentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetCoinbase() *types.H160 {
|
|
if x != nil {
|
|
return x.Coinbase
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetStateRoot() *types.H256 {
|
|
if x != nil {
|
|
return x.StateRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetReceiptRoot() *types.H256 {
|
|
if x != nil {
|
|
return x.ReceiptRoot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetLogsBloom() *types.H2048 {
|
|
if x != nil {
|
|
return x.LogsBloom
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetMixDigest() *types.H256 {
|
|
if x != nil {
|
|
return x.MixDigest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetBlockNumber() uint64 {
|
|
if x != nil {
|
|
return x.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Header) GetGasLimit() uint64 {
|
|
if x != nil {
|
|
return x.GasLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Header) GetGasUsed() uint64 {
|
|
if x != nil {
|
|
return x.GasUsed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Header) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Header) GetExtraData() []byte {
|
|
if x != nil {
|
|
return x.ExtraData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetBaseFeePerGas() *types.H256 {
|
|
if x != nil {
|
|
return x.BaseFeePerGas
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetBlockHash() *types.H256 {
|
|
if x != nil {
|
|
return x.BlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Header) GetOmmerHash() *types.H256 {
|
|
if x != nil {
|
|
return x.OmmerHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Body is a block body for execution
|
|
type BlockBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BlockHash *types.H256 `protobuf:"bytes,1,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
|
|
BlockNumber uint64 `protobuf:"varint,2,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
|
|
// Raw transactions in byte format.
|
|
Transactions [][]byte `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
|
|
}
|
|
|
|
func (x *BlockBody) Reset() {
|
|
*x = BlockBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlockBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlockBody) ProtoMessage() {}
|
|
|
|
func (x *BlockBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlockBody.ProtoReflect.Descriptor instead.
|
|
func (*BlockBody) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *BlockBody) GetBlockHash() *types.H256 {
|
|
if x != nil {
|
|
return x.BlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlockBody) GetBlockNumber() uint64 {
|
|
if x != nil {
|
|
return x.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlockBody) GetTransactions() [][]byte {
|
|
if x != nil {
|
|
return x.Transactions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetHeaderResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Header *Header `protobuf:"bytes,1,opt,name=header,proto3,oneof" json:"header,omitempty"`
|
|
}
|
|
|
|
func (x *GetHeaderResponse) Reset() {
|
|
*x = GetHeaderResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetHeaderResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHeaderResponse) ProtoMessage() {}
|
|
|
|
func (x *GetHeaderResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHeaderResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetHeaderResponse) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetHeaderResponse) GetHeader() *Header {
|
|
if x != nil {
|
|
return x.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetBodyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Body *BlockBody `protobuf:"bytes,1,opt,name=body,proto3,oneof" json:"body,omitempty"`
|
|
}
|
|
|
|
func (x *GetBodyResponse) Reset() {
|
|
*x = GetBodyResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetBodyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBodyResponse) ProtoMessage() {}
|
|
|
|
func (x *GetBodyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBodyResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetBodyResponse) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetBodyResponse) GetBody() *BlockBody {
|
|
if x != nil {
|
|
return x.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetHeaderHashNumberResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BlockNumber *uint64 `protobuf:"varint,1,opt,name=blockNumber,proto3,oneof" json:"blockNumber,omitempty"` // null if not found.
|
|
}
|
|
|
|
func (x *GetHeaderHashNumberResponse) Reset() {
|
|
*x = GetHeaderHashNumberResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetHeaderHashNumberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetHeaderHashNumberResponse) ProtoMessage() {}
|
|
|
|
func (x *GetHeaderHashNumberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetHeaderHashNumberResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetHeaderHashNumberResponse) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetHeaderHashNumberResponse) GetBlockNumber() uint64 {
|
|
if x != nil && x.BlockNumber != nil {
|
|
return *x.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetSegmentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Get headers/body by number or hash, invalid if none set.
|
|
BlockNumber *uint64 `protobuf:"varint,1,opt,name=blockNumber,proto3,oneof" json:"blockNumber,omitempty"`
|
|
BlockHash *types.H256 `protobuf:"bytes,2,opt,name=blockHash,proto3,oneof" json:"blockHash,omitempty"`
|
|
}
|
|
|
|
func (x *GetSegmentRequest) Reset() {
|
|
*x = GetSegmentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetSegmentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSegmentRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSegmentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSegmentRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSegmentRequest) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *GetSegmentRequest) GetBlockNumber() uint64 {
|
|
if x != nil && x.BlockNumber != nil {
|
|
return *x.BlockNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetSegmentRequest) GetBlockHash() *types.H256 {
|
|
if x != nil {
|
|
return x.BlockHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertHeadersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Headers []*Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
|
|
}
|
|
|
|
func (x *InsertHeadersRequest) Reset() {
|
|
*x = InsertHeadersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InsertHeadersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertHeadersRequest) ProtoMessage() {}
|
|
|
|
func (x *InsertHeadersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertHeadersRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertHeadersRequest) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *InsertHeadersRequest) GetHeaders() []*Header {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InsertBodiesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Bodies []*BlockBody `protobuf:"bytes,1,rep,name=bodies,proto3" json:"bodies,omitempty"`
|
|
}
|
|
|
|
func (x *InsertBodiesRequest) Reset() {
|
|
*x = InsertBodiesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InsertBodiesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InsertBodiesRequest) ProtoMessage() {}
|
|
|
|
func (x *InsertBodiesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InsertBodiesRequest.ProtoReflect.Descriptor instead.
|
|
func (*InsertBodiesRequest) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *InsertBodiesRequest) GetBodies() []*BlockBody {
|
|
if x != nil {
|
|
return x.Bodies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EmptyMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *EmptyMessage) Reset() {
|
|
*x = EmptyMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_execution_execution_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EmptyMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyMessage) ProtoMessage() {}
|
|
|
|
func (x *EmptyMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_execution_execution_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.
|
|
func (*EmptyMessage) Descriptor() ([]byte, []int) {
|
|
return file_execution_execution_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
var File_execution_execution_proto protoreflect.FileDescriptor
|
|
|
|
var file_execution_execution_proto_rawDesc = []byte{
|
|
0x0a, 0x19, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x78, 0x65, 0x63,
|
|
0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x65, 0x78, 0x65,
|
|
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x11, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x74, 0x79,
|
|
0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x11, 0x46, 0x6f, 0x72,
|
|
0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x18,
|
|
0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x0f, 0x6c, 0x61, 0x74, 0x65,
|
|
0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0f,
|
|
0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x61, 0x73, 0x68, 0x22,
|
|
0xd7, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x47, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x1b, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69,
|
|
0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x10, 0x76, 0x61,
|
|
0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35,
|
|
0x0a, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x48, 0x61, 0x73,
|
|
0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
|
|
0x48, 0x32, 0x35, 0x36, 0x52, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69,
|
|
0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x32, 0x0a, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67,
|
|
0x48, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70,
|
|
0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x69, 0x73, 0x73, 0x69,
|
|
0x6e, 0x67, 0x48, 0x61, 0x73, 0x68, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6d, 0x69,
|
|
0x73, 0x73, 0x69, 0x6e, 0x67, 0x48, 0x61, 0x73, 0x68, 0x22, 0x33, 0x0a, 0x13, 0x49, 0x73, 0x43,
|
|
0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x22, 0xac,
|
|
0x04, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x0a, 0x70, 0x61, 0x72,
|
|
0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65,
|
|
0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x08, 0x63, 0x6f, 0x69, 0x6e, 0x62, 0x61,
|
|
0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
|
|
0x2e, 0x48, 0x31, 0x36, 0x30, 0x52, 0x08, 0x63, 0x6f, 0x69, 0x6e, 0x62, 0x61, 0x73, 0x65, 0x12,
|
|
0x29, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52,
|
|
0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2d, 0x0a, 0x0b, 0x72, 0x65,
|
|
0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0b, 0x72, 0x65,
|
|
0x63, 0x65, 0x69, 0x70, 0x74, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x2a, 0x0a, 0x09, 0x6c, 0x6f, 0x67,
|
|
0x73, 0x42, 0x6c, 0x6f, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74,
|
|
0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x30, 0x34, 0x38, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x73,
|
|
0x42, 0x6c, 0x6f, 0x6f, 0x6d, 0x12, 0x29, 0x0a, 0x09, 0x6d, 0x69, 0x78, 0x44, 0x69, 0x67, 0x65,
|
|
0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
|
|
0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x09, 0x6d, 0x69, 0x78, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74,
|
|
0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62,
|
|
0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18,
|
|
0x0a, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61, 0x44,
|
|
0x61, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x78, 0x74, 0x72, 0x61,
|
|
0x44, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x50,
|
|
0x65, 0x72, 0x47, 0x61, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79,
|
|
0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65,
|
|
0x65, 0x50, 0x65, 0x72, 0x47, 0x61, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x48, 0x61, 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70,
|
|
0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x29, 0x0a, 0x09, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x18,
|
|
0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32,
|
|
0x35, 0x36, 0x52, 0x09, 0x6f, 0x6d, 0x6d, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x22, 0x7c, 0x0a,
|
|
0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x29, 0x0a, 0x09, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
|
|
0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x74,
|
|
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x4e, 0x0a, 0x11, 0x47,
|
|
0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x2e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x11, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x48, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01,
|
|
0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x0f, 0x47,
|
|
0x65, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d,
|
|
0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65,
|
|
0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f,
|
|
0x64, 0x79, 0x48, 0x00, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a,
|
|
0x05, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x54, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
|
|
0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c,
|
|
0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x88, 0x01, 0x0a,
|
|
0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x25, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65,
|
|
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x09, 0x62, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x74,
|
|
0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x48, 0x01, 0x52, 0x09, 0x62, 0x6c, 0x6f,
|
|
0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x62, 0x6c,
|
|
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x22, 0x43, 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x65, 0x72,
|
|
0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x2b, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x11, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x48, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x22, 0x43, 0x0a, 0x13,
|
|
0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x42, 0x6f, 0x64, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x62, 0x6f, 0x64, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x06, 0x62, 0x6f, 0x64, 0x69, 0x65,
|
|
0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x2a, 0x55, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x68, 0x61,
|
|
0x69, 0x6e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x6f, 0x6f, 0x46, 0x61, 0x72, 0x41, 0x77,
|
|
0x61, 0x79, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x53,
|
|
0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x32, 0xf7, 0x04, 0x0a, 0x09, 0x45, 0x78, 0x65,
|
|
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74,
|
|
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x12, 0x47, 0x0a, 0x0c, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x42, 0x6f, 0x64, 0x69, 0x65,
|
|
0x73, 0x12, 0x1e, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x6e,
|
|
0x73, 0x65, 0x72, 0x74, 0x42, 0x6f, 0x64, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x17, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x6d,
|
|
0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x56, 0x61,
|
|
0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x0b, 0x2e, 0x74, 0x79,
|
|
0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x1a, 0x1c, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x3d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x0b, 0x2e, 0x74, 0x79, 0x70,
|
|
0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x1a, 0x1c, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x68, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65,
|
|
0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x41, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c,
|
|
0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x17, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a,
|
|
0x17, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x47, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x48,
|
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x43, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x2e, 0x65,
|
|
0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x67, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x78, 0x65,
|
|
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0f, 0x49, 0x73, 0x43, 0x61, 0x6e, 0x6f,
|
|
0x6e, 0x69, 0x63, 0x61, 0x6c, 0x48, 0x61, 0x73, 0x68, 0x12, 0x0b, 0x2e, 0x74, 0x79, 0x70, 0x65,
|
|
0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x1a, 0x1e, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x43, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x0b, 0x2e,
|
|
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x48, 0x32, 0x35, 0x36, 0x1a, 0x26, 0x2e, 0x65, 0x78, 0x65,
|
|
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
0x48, 0x61, 0x73, 0x68, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x42, 0x17, 0x5a, 0x15, 0x2e, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x3b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_execution_execution_proto_rawDescOnce sync.Once
|
|
file_execution_execution_proto_rawDescData = file_execution_execution_proto_rawDesc
|
|
)
|
|
|
|
func file_execution_execution_proto_rawDescGZIP() []byte {
|
|
file_execution_execution_proto_rawDescOnce.Do(func() {
|
|
file_execution_execution_proto_rawDescData = protoimpl.X.CompressGZIP(file_execution_execution_proto_rawDescData)
|
|
})
|
|
return file_execution_execution_proto_rawDescData
|
|
}
|
|
|
|
var file_execution_execution_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_execution_execution_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
var file_execution_execution_proto_goTypes = []interface{}{
|
|
(ValidationStatus)(0), // 0: execution.ValidationStatus
|
|
(*ForkChoiceReceipt)(nil), // 1: execution.ForkChoiceReceipt
|
|
(*ValidationReceipt)(nil), // 2: execution.ValidationReceipt
|
|
(*IsCanonicalResponse)(nil), // 3: execution.IsCanonicalResponse
|
|
(*Header)(nil), // 4: execution.Header
|
|
(*BlockBody)(nil), // 5: execution.BlockBody
|
|
(*GetHeaderResponse)(nil), // 6: execution.GetHeaderResponse
|
|
(*GetBodyResponse)(nil), // 7: execution.GetBodyResponse
|
|
(*GetHeaderHashNumberResponse)(nil), // 8: execution.GetHeaderHashNumberResponse
|
|
(*GetSegmentRequest)(nil), // 9: execution.GetSegmentRequest
|
|
(*InsertHeadersRequest)(nil), // 10: execution.InsertHeadersRequest
|
|
(*InsertBodiesRequest)(nil), // 11: execution.InsertBodiesRequest
|
|
(*EmptyMessage)(nil), // 12: execution.EmptyMessage
|
|
(*types.H256)(nil), // 13: types.H256
|
|
(*types.H160)(nil), // 14: types.H160
|
|
(*types.H2048)(nil), // 15: types.H2048
|
|
(*types.ExecutionPayload)(nil), // 16: types.ExecutionPayload
|
|
}
|
|
var file_execution_execution_proto_depIdxs = []int32{
|
|
13, // 0: execution.ForkChoiceReceipt.latestValidHash:type_name -> types.H256
|
|
0, // 1: execution.ValidationReceipt.validationStatus:type_name -> execution.ValidationStatus
|
|
13, // 2: execution.ValidationReceipt.latestValidHash:type_name -> types.H256
|
|
13, // 3: execution.ValidationReceipt.missingHash:type_name -> types.H256
|
|
13, // 4: execution.Header.parentHash:type_name -> types.H256
|
|
14, // 5: execution.Header.coinbase:type_name -> types.H160
|
|
13, // 6: execution.Header.stateRoot:type_name -> types.H256
|
|
13, // 7: execution.Header.receiptRoot:type_name -> types.H256
|
|
15, // 8: execution.Header.logsBloom:type_name -> types.H2048
|
|
13, // 9: execution.Header.mixDigest:type_name -> types.H256
|
|
13, // 10: execution.Header.baseFeePerGas:type_name -> types.H256
|
|
13, // 11: execution.Header.blockHash:type_name -> types.H256
|
|
13, // 12: execution.Header.ommerHash:type_name -> types.H256
|
|
13, // 13: execution.BlockBody.blockHash:type_name -> types.H256
|
|
4, // 14: execution.GetHeaderResponse.header:type_name -> execution.Header
|
|
5, // 15: execution.GetBodyResponse.body:type_name -> execution.BlockBody
|
|
13, // 16: execution.GetSegmentRequest.blockHash:type_name -> types.H256
|
|
4, // 17: execution.InsertHeadersRequest.headers:type_name -> execution.Header
|
|
5, // 18: execution.InsertBodiesRequest.bodies:type_name -> execution.BlockBody
|
|
10, // 19: execution.Execution.InsertHeaders:input_type -> execution.InsertHeadersRequest
|
|
11, // 20: execution.Execution.InsertBodies:input_type -> execution.InsertBodiesRequest
|
|
13, // 21: execution.Execution.ValidateChain:input_type -> types.H256
|
|
13, // 22: execution.Execution.UpdateForkChoice:input_type -> types.H256
|
|
12, // 23: execution.Execution.AssembleBlock:input_type -> execution.EmptyMessage
|
|
9, // 24: execution.Execution.GetHeader:input_type -> execution.GetSegmentRequest
|
|
9, // 25: execution.Execution.GetBody:input_type -> execution.GetSegmentRequest
|
|
13, // 26: execution.Execution.IsCanonicalHash:input_type -> types.H256
|
|
13, // 27: execution.Execution.GetHeaderHashNumber:input_type -> types.H256
|
|
12, // 28: execution.Execution.InsertHeaders:output_type -> execution.EmptyMessage
|
|
12, // 29: execution.Execution.InsertBodies:output_type -> execution.EmptyMessage
|
|
2, // 30: execution.Execution.ValidateChain:output_type -> execution.ValidationReceipt
|
|
1, // 31: execution.Execution.UpdateForkChoice:output_type -> execution.ForkChoiceReceipt
|
|
16, // 32: execution.Execution.AssembleBlock:output_type -> types.ExecutionPayload
|
|
6, // 33: execution.Execution.GetHeader:output_type -> execution.GetHeaderResponse
|
|
7, // 34: execution.Execution.GetBody:output_type -> execution.GetBodyResponse
|
|
3, // 35: execution.Execution.IsCanonicalHash:output_type -> execution.IsCanonicalResponse
|
|
8, // 36: execution.Execution.GetHeaderHashNumber:output_type -> execution.GetHeaderHashNumberResponse
|
|
28, // [28:37] is the sub-list for method output_type
|
|
19, // [19:28] is the sub-list for method input_type
|
|
19, // [19:19] is the sub-list for extension type_name
|
|
19, // [19:19] is the sub-list for extension extendee
|
|
0, // [0:19] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_execution_execution_proto_init() }
|
|
func file_execution_execution_proto_init() {
|
|
if File_execution_execution_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_execution_execution_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForkChoiceReceipt); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ValidationReceipt); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*IsCanonicalResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Header); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlockBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetHeaderResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetBodyResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetHeaderHashNumberResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetSegmentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InsertHeadersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InsertBodiesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EmptyMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_execution_execution_proto_msgTypes[1].OneofWrappers = []interface{}{}
|
|
file_execution_execution_proto_msgTypes[5].OneofWrappers = []interface{}{}
|
|
file_execution_execution_proto_msgTypes[6].OneofWrappers = []interface{}{}
|
|
file_execution_execution_proto_msgTypes[7].OneofWrappers = []interface{}{}
|
|
file_execution_execution_proto_msgTypes[8].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_execution_execution_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 12,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_execution_execution_proto_goTypes,
|
|
DependencyIndexes: file_execution_execution_proto_depIdxs,
|
|
EnumInfos: file_execution_execution_proto_enumTypes,
|
|
MessageInfos: file_execution_execution_proto_msgTypes,
|
|
}.Build()
|
|
File_execution_execution_proto = out.File
|
|
file_execution_execution_proto_rawDesc = nil
|
|
file_execution_execution_proto_goTypes = nil
|
|
file_execution_execution_proto_depIdxs = nil
|
|
}
|