Documentation ¶
Index ¶
- Variables
- type ExecutionPayload
- func (*ExecutionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayload) GetBaseFeePerGas() *H256
- func (x *ExecutionPayload) GetBlockHash() *H256
- func (x *ExecutionPayload) GetBlockNumber() uint64
- func (x *ExecutionPayload) GetCoinbase() *H160
- func (x *ExecutionPayload) GetExtraData() []byte
- func (x *ExecutionPayload) GetGasLimit() uint64
- func (x *ExecutionPayload) GetGasUsed() uint64
- func (x *ExecutionPayload) GetLogsBloom() *H2048
- func (x *ExecutionPayload) GetParentHash() *H256
- func (x *ExecutionPayload) GetPrevRandao() *H256
- func (x *ExecutionPayload) GetReceiptRoot() *H256
- func (x *ExecutionPayload) GetStateRoot() *H256
- func (x *ExecutionPayload) GetTimestamp() uint64
- func (x *ExecutionPayload) GetTransactions() [][]byte
- func (*ExecutionPayload) ProtoMessage()
- func (x *ExecutionPayload) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayload) Reset()
- func (x *ExecutionPayload) String() string
- type ExecutionPayloadV2
- func (*ExecutionPayloadV2) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionPayloadV2) GetPayload() *ExecutionPayload
- func (x *ExecutionPayloadV2) GetWithdrawals() []*Withdrawal
- func (*ExecutionPayloadV2) ProtoMessage()
- func (x *ExecutionPayloadV2) ProtoReflect() protoreflect.Message
- func (x *ExecutionPayloadV2) Reset()
- func (x *ExecutionPayloadV2) String() string
- type H1024
- type H128
- type H160
- type H2048
- type H256
- type H512
- type NodeInfoPorts
- func (*NodeInfoPorts) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoPorts) GetDiscovery() uint32
- func (x *NodeInfoPorts) GetListener() uint32
- func (*NodeInfoPorts) ProtoMessage()
- func (x *NodeInfoPorts) ProtoReflect() protoreflect.Message
- func (x *NodeInfoPorts) Reset()
- func (x *NodeInfoPorts) String() string
- type NodeInfoReply
- func (*NodeInfoReply) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoReply) GetEnode() string
- func (x *NodeInfoReply) GetEnr() string
- func (x *NodeInfoReply) GetId() string
- func (x *NodeInfoReply) GetListenerAddr() string
- func (x *NodeInfoReply) GetName() string
- func (x *NodeInfoReply) GetPorts() *NodeInfoPorts
- func (x *NodeInfoReply) GetProtocols() []byte
- func (*NodeInfoReply) ProtoMessage()
- func (x *NodeInfoReply) ProtoReflect() protoreflect.Message
- func (x *NodeInfoReply) Reset()
- func (x *NodeInfoReply) String() string
- type PeerInfo
- func (*PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PeerInfo) GetCaps() []string
- func (x *PeerInfo) GetConnIsInbound() bool
- func (x *PeerInfo) GetConnIsStatic() bool
- func (x *PeerInfo) GetConnIsTrusted() bool
- func (x *PeerInfo) GetConnLocalAddr() string
- func (x *PeerInfo) GetConnRemoteAddr() string
- func (x *PeerInfo) GetEnode() string
- func (x *PeerInfo) GetEnr() string
- func (x *PeerInfo) GetId() string
- func (x *PeerInfo) GetName() string
- func (*PeerInfo) ProtoMessage()
- func (x *PeerInfo) ProtoReflect() protoreflect.Message
- func (x *PeerInfo) Reset()
- func (x *PeerInfo) String() string
- type VersionReply
- func (*VersionReply) Descriptor() ([]byte, []int)deprecated
- func (x *VersionReply) GetMajor() uint32
- func (x *VersionReply) GetMinor() uint32
- func (x *VersionReply) GetPatch() uint32
- func (*VersionReply) ProtoMessage()
- func (x *VersionReply) ProtoReflect() protoreflect.Message
- func (x *VersionReply) Reset()
- func (x *VersionReply) String() string
- type Withdrawal
- func (*Withdrawal) Descriptor() ([]byte, []int)deprecated
- func (x *Withdrawal) GetAddress() *H160
- func (x *Withdrawal) GetAmount() *H256
- func (x *Withdrawal) GetIndex() uint64
- func (x *Withdrawal) GetValidatorIndex() uint64
- func (*Withdrawal) ProtoMessage()
- func (x *Withdrawal) ProtoReflect() protoreflect.Message
- func (x *Withdrawal) Reset()
- func (x *Withdrawal) String() string
Constants ¶
This section is empty.
Variables ¶
var ( // optional uint32 service_major_version = 50001; E_ServiceMajorVersion = &file_types_types_proto_extTypes[0] // optional uint32 service_minor_version = 50002; E_ServiceMinorVersion = &file_types_types_proto_extTypes[1] // optional uint32 service_patch_version = 50003; E_ServicePatchVersion = &file_types_types_proto_extTypes[2] )
Extension fields to descriptorpb.FileOptions.
var File_types_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExecutionPayload ¶
type ExecutionPayload struct { ParentHash *H256 `protobuf:"bytes,1,opt,name=parentHash,proto3" json:"parentHash,omitempty"` Coinbase *H160 `protobuf:"bytes,2,opt,name=coinbase,proto3" json:"coinbase,omitempty"` StateRoot *H256 `protobuf:"bytes,3,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` ReceiptRoot *H256 `protobuf:"bytes,4,opt,name=receiptRoot,proto3" json:"receiptRoot,omitempty"` LogsBloom *H2048 `protobuf:"bytes,5,opt,name=logsBloom,proto3" json:"logsBloom,omitempty"` PrevRandao *H256 `protobuf:"bytes,6,opt,name=prevRandao,proto3" json:"prevRandao,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 *H256 `protobuf:"bytes,12,opt,name=baseFeePerGas,proto3" json:"baseFeePerGas,omitempty"` BlockHash *H256 `protobuf:"bytes,13,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Transactions [][]byte `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
------------------------------------------------------------------------ Engine API types See https://github.com/ethereum/execution-apis/blob/main/src/engine/specification.md
func (*ExecutionPayload) Descriptor
deprecated
func (*ExecutionPayload) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayload.ProtoReflect.Descriptor instead.
func (*ExecutionPayload) GetBaseFeePerGas ¶
func (x *ExecutionPayload) GetBaseFeePerGas() *H256
func (*ExecutionPayload) GetBlockHash ¶
func (x *ExecutionPayload) GetBlockHash() *H256
func (*ExecutionPayload) GetBlockNumber ¶
func (x *ExecutionPayload) GetBlockNumber() uint64
func (*ExecutionPayload) GetCoinbase ¶
func (x *ExecutionPayload) GetCoinbase() *H160
func (*ExecutionPayload) GetExtraData ¶
func (x *ExecutionPayload) GetExtraData() []byte
func (*ExecutionPayload) GetGasLimit ¶
func (x *ExecutionPayload) GetGasLimit() uint64
func (*ExecutionPayload) GetGasUsed ¶
func (x *ExecutionPayload) GetGasUsed() uint64
func (*ExecutionPayload) GetLogsBloom ¶
func (x *ExecutionPayload) GetLogsBloom() *H2048
func (*ExecutionPayload) GetParentHash ¶
func (x *ExecutionPayload) GetParentHash() *H256
func (*ExecutionPayload) GetPrevRandao ¶
func (x *ExecutionPayload) GetPrevRandao() *H256
func (*ExecutionPayload) GetReceiptRoot ¶
func (x *ExecutionPayload) GetReceiptRoot() *H256
func (*ExecutionPayload) GetStateRoot ¶
func (x *ExecutionPayload) GetStateRoot() *H256
func (*ExecutionPayload) GetTimestamp ¶
func (x *ExecutionPayload) GetTimestamp() uint64
func (*ExecutionPayload) GetTransactions ¶
func (x *ExecutionPayload) GetTransactions() [][]byte
func (*ExecutionPayload) ProtoMessage ¶
func (*ExecutionPayload) ProtoMessage()
func (*ExecutionPayload) ProtoReflect ¶
func (x *ExecutionPayload) ProtoReflect() protoreflect.Message
func (*ExecutionPayload) Reset ¶
func (x *ExecutionPayload) Reset()
func (*ExecutionPayload) String ¶
func (x *ExecutionPayload) String() string
type ExecutionPayloadV2 ¶
type ExecutionPayloadV2 struct { Payload *ExecutionPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Withdrawals []*Withdrawal `protobuf:"bytes,2,rep,name=withdrawals,proto3" json:"withdrawals,omitempty"` // contains filtered or unexported fields }
func (*ExecutionPayloadV2) Descriptor
deprecated
func (*ExecutionPayloadV2) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionPayloadV2.ProtoReflect.Descriptor instead.
func (*ExecutionPayloadV2) GetPayload ¶
func (x *ExecutionPayloadV2) GetPayload() *ExecutionPayload
func (*ExecutionPayloadV2) GetWithdrawals ¶
func (x *ExecutionPayloadV2) GetWithdrawals() []*Withdrawal
func (*ExecutionPayloadV2) ProtoMessage ¶
func (*ExecutionPayloadV2) ProtoMessage()
func (*ExecutionPayloadV2) ProtoReflect ¶
func (x *ExecutionPayloadV2) ProtoReflect() protoreflect.Message
func (*ExecutionPayloadV2) Reset ¶
func (x *ExecutionPayloadV2) Reset()
func (*ExecutionPayloadV2) String ¶
func (x *ExecutionPayloadV2) String() string
type H1024 ¶
type H1024 struct { Hi *H512 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H512 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H1024) Descriptor
deprecated
func (*H1024) ProtoMessage ¶
func (*H1024) ProtoMessage()
func (*H1024) ProtoReflect ¶
func (x *H1024) ProtoReflect() protoreflect.Message
type H128 ¶
type H128 struct { Hi uint64 `protobuf:"varint,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo uint64 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H128) Descriptor
deprecated
func (*H128) ProtoMessage ¶
func (*H128) ProtoMessage()
func (*H128) ProtoReflect ¶
func (x *H128) ProtoReflect() protoreflect.Message
type H160 ¶
type H160 struct { Hi *H128 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo uint32 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H160) Descriptor
deprecated
func (*H160) ProtoMessage ¶
func (*H160) ProtoMessage()
func (*H160) ProtoReflect ¶
func (x *H160) ProtoReflect() protoreflect.Message
type H2048 ¶
type H2048 struct { Hi *H1024 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H1024 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H2048) Descriptor
deprecated
func (*H2048) ProtoMessage ¶
func (*H2048) ProtoMessage()
func (*H2048) ProtoReflect ¶
func (x *H2048) ProtoReflect() protoreflect.Message
type H256 ¶
type H256 struct { Hi *H128 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H128 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H256) Descriptor
deprecated
func (*H256) ProtoMessage ¶
func (*H256) ProtoMessage()
func (*H256) ProtoReflect ¶
func (x *H256) ProtoReflect() protoreflect.Message
type H512 ¶
type H512 struct { Hi *H256 `protobuf:"bytes,1,opt,name=hi,proto3" json:"hi,omitempty"` Lo *H256 `protobuf:"bytes,2,opt,name=lo,proto3" json:"lo,omitempty"` // contains filtered or unexported fields }
func (*H512) Descriptor
deprecated
func (*H512) ProtoMessage ¶
func (*H512) ProtoMessage()
func (*H512) ProtoReflect ¶
func (x *H512) ProtoReflect() protoreflect.Message
type NodeInfoPorts ¶
type NodeInfoPorts struct { Discovery uint32 `protobuf:"varint,1,opt,name=discovery,proto3" json:"discovery,omitempty"` Listener uint32 `protobuf:"varint,2,opt,name=listener,proto3" json:"listener,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoPorts) Descriptor
deprecated
func (*NodeInfoPorts) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoPorts.ProtoReflect.Descriptor instead.
func (*NodeInfoPorts) GetDiscovery ¶
func (x *NodeInfoPorts) GetDiscovery() uint32
func (*NodeInfoPorts) GetListener ¶
func (x *NodeInfoPorts) GetListener() uint32
func (*NodeInfoPorts) ProtoMessage ¶
func (*NodeInfoPorts) ProtoMessage()
func (*NodeInfoPorts) ProtoReflect ¶
func (x *NodeInfoPorts) ProtoReflect() protoreflect.Message
func (*NodeInfoPorts) Reset ¶
func (x *NodeInfoPorts) Reset()
func (*NodeInfoPorts) String ¶
func (x *NodeInfoPorts) String() string
type NodeInfoReply ¶
type NodeInfoReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enode string `protobuf:"bytes,3,opt,name=enode,proto3" json:"enode,omitempty"` Enr string `protobuf:"bytes,4,opt,name=enr,proto3" json:"enr,omitempty"` Ports *NodeInfoPorts `protobuf:"bytes,5,opt,name=ports,proto3" json:"ports,omitempty"` ListenerAddr string `protobuf:"bytes,6,opt,name=listenerAddr,proto3" json:"listenerAddr,omitempty"` Protocols []byte `protobuf:"bytes,7,opt,name=protocols,proto3" json:"protocols,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoReply) Descriptor
deprecated
func (*NodeInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoReply.ProtoReflect.Descriptor instead.
func (*NodeInfoReply) GetEnode ¶
func (x *NodeInfoReply) GetEnode() string
func (*NodeInfoReply) GetEnr ¶
func (x *NodeInfoReply) GetEnr() string
func (*NodeInfoReply) GetId ¶
func (x *NodeInfoReply) GetId() string
func (*NodeInfoReply) GetListenerAddr ¶
func (x *NodeInfoReply) GetListenerAddr() string
func (*NodeInfoReply) GetName ¶
func (x *NodeInfoReply) GetName() string
func (*NodeInfoReply) GetPorts ¶
func (x *NodeInfoReply) GetPorts() *NodeInfoPorts
func (*NodeInfoReply) GetProtocols ¶
func (x *NodeInfoReply) GetProtocols() []byte
func (*NodeInfoReply) ProtoMessage ¶
func (*NodeInfoReply) ProtoMessage()
func (*NodeInfoReply) ProtoReflect ¶
func (x *NodeInfoReply) ProtoReflect() protoreflect.Message
func (*NodeInfoReply) Reset ¶
func (x *NodeInfoReply) Reset()
func (*NodeInfoReply) String ¶
func (x *NodeInfoReply) String() string
type PeerInfo ¶
type PeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Enode string `protobuf:"bytes,3,opt,name=enode,proto3" json:"enode,omitempty"` Enr string `protobuf:"bytes,4,opt,name=enr,proto3" json:"enr,omitempty"` Caps []string `protobuf:"bytes,5,rep,name=caps,proto3" json:"caps,omitempty"` ConnLocalAddr string `protobuf:"bytes,6,opt,name=connLocalAddr,proto3" json:"connLocalAddr,omitempty"` ConnRemoteAddr string `protobuf:"bytes,7,opt,name=connRemoteAddr,proto3" json:"connRemoteAddr,omitempty"` ConnIsInbound bool `protobuf:"varint,8,opt,name=connIsInbound,proto3" json:"connIsInbound,omitempty"` ConnIsTrusted bool `protobuf:"varint,9,opt,name=connIsTrusted,proto3" json:"connIsTrusted,omitempty"` ConnIsStatic bool `protobuf:"varint,10,opt,name=connIsStatic,proto3" json:"connIsStatic,omitempty"` // contains filtered or unexported fields }
func (*PeerInfo) Descriptor
deprecated
func (*PeerInfo) GetConnIsInbound ¶
func (*PeerInfo) GetConnIsStatic ¶
func (*PeerInfo) GetConnIsTrusted ¶
func (*PeerInfo) GetConnLocalAddr ¶
func (*PeerInfo) GetConnRemoteAddr ¶
func (*PeerInfo) ProtoMessage ¶
func (*PeerInfo) ProtoMessage()
func (*PeerInfo) ProtoReflect ¶
func (x *PeerInfo) ProtoReflect() protoreflect.Message
type VersionReply ¶
type VersionReply struct { Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
Reply message containing the current service version on the service side
func (*VersionReply) Descriptor
deprecated
func (*VersionReply) Descriptor() ([]byte, []int)
Deprecated: Use VersionReply.ProtoReflect.Descriptor instead.
func (*VersionReply) GetMajor ¶
func (x *VersionReply) GetMajor() uint32
func (*VersionReply) GetMinor ¶
func (x *VersionReply) GetMinor() uint32
func (*VersionReply) GetPatch ¶
func (x *VersionReply) GetPatch() uint32
func (*VersionReply) ProtoMessage ¶
func (*VersionReply) ProtoMessage()
func (*VersionReply) ProtoReflect ¶
func (x *VersionReply) ProtoReflect() protoreflect.Message
func (*VersionReply) Reset ¶
func (x *VersionReply) Reset()
func (*VersionReply) String ¶
func (x *VersionReply) String() string
type Withdrawal ¶
type Withdrawal struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validatorIndex,proto3" json:"validatorIndex,omitempty"` Address *H160 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Amount *H256 `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Withdrawal) Descriptor
deprecated
func (*Withdrawal) Descriptor() ([]byte, []int)
Deprecated: Use Withdrawal.ProtoReflect.Descriptor instead.
func (*Withdrawal) GetAddress ¶
func (x *Withdrawal) GetAddress() *H160
func (*Withdrawal) GetAmount ¶
func (x *Withdrawal) GetAmount() *H256
func (*Withdrawal) GetIndex ¶
func (x *Withdrawal) GetIndex() uint64
func (*Withdrawal) GetValidatorIndex ¶
func (x *Withdrawal) GetValidatorIndex() uint64
func (*Withdrawal) ProtoMessage ¶
func (*Withdrawal) ProtoMessage()
func (*Withdrawal) ProtoReflect ¶
func (x *Withdrawal) ProtoReflect() protoreflect.Message
func (*Withdrawal) Reset ¶
func (x *Withdrawal) Reset()
func (*Withdrawal) String ¶
func (x *Withdrawal) String() string