types

package
v1.5.1-patch Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_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"`
	//
	//Array of transaction objects, each object is a byte list.
	//See https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.2/src/engine/interop/specification.md
	Transactions [][]byte `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

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 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) Descriptor() ([]byte, []int)

Deprecated: Use H1024.ProtoReflect.Descriptor instead.

func (*H1024) GetHi

func (x *H1024) GetHi() *H512

func (*H1024) GetLo

func (x *H1024) GetLo() *H512

func (*H1024) ProtoMessage

func (*H1024) ProtoMessage()

func (*H1024) ProtoReflect

func (x *H1024) ProtoReflect() protoreflect.Message

func (*H1024) Reset

func (x *H1024) Reset()

func (*H1024) String

func (x *H1024) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use H128.ProtoReflect.Descriptor instead.

func (*H128) GetHi

func (x *H128) GetHi() uint64

func (*H128) GetLo

func (x *H128) GetLo() uint64

func (*H128) ProtoMessage

func (*H128) ProtoMessage()

func (*H128) ProtoReflect

func (x *H128) ProtoReflect() protoreflect.Message

func (*H128) Reset

func (x *H128) Reset()

func (*H128) String

func (x *H128) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use H160.ProtoReflect.Descriptor instead.

func (*H160) GetHi

func (x *H160) GetHi() *H128

func (*H160) GetLo

func (x *H160) GetLo() uint32

func (*H160) ProtoMessage

func (*H160) ProtoMessage()

func (*H160) ProtoReflect

func (x *H160) ProtoReflect() protoreflect.Message

func (*H160) Reset

func (x *H160) Reset()

func (*H160) String

func (x *H160) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use H2048.ProtoReflect.Descriptor instead.

func (*H2048) GetHi

func (x *H2048) GetHi() *H1024

func (*H2048) GetLo

func (x *H2048) GetLo() *H1024

func (*H2048) ProtoMessage

func (*H2048) ProtoMessage()

func (*H2048) ProtoReflect

func (x *H2048) ProtoReflect() protoreflect.Message

func (*H2048) Reset

func (x *H2048) Reset()

func (*H2048) String

func (x *H2048) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use H256.ProtoReflect.Descriptor instead.

func (*H256) GetHi

func (x *H256) GetHi() *H128

func (*H256) GetLo

func (x *H256) GetLo() *H128

func (*H256) ProtoMessage

func (*H256) ProtoMessage()

func (*H256) ProtoReflect

func (x *H256) ProtoReflect() protoreflect.Message

func (*H256) Reset

func (x *H256) Reset()

func (*H256) String

func (x *H256) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use H512.ProtoReflect.Descriptor instead.

func (*H512) GetHi

func (x *H512) GetHi() *H256

func (*H512) GetLo

func (x *H512) GetLo() *H256

func (*H512) ProtoMessage

func (*H512) ProtoMessage()

func (*H512) ProtoReflect

func (x *H512) ProtoReflect() protoreflect.Message

func (*H512) Reset

func (x *H512) Reset()

func (*H512) String

func (x *H512) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetCaps

func (x *PeerInfo) GetCaps() []string

func (*PeerInfo) GetConnIsInbound

func (x *PeerInfo) GetConnIsInbound() bool

func (*PeerInfo) GetConnIsStatic

func (x *PeerInfo) GetConnIsStatic() bool

func (*PeerInfo) GetConnIsTrusted

func (x *PeerInfo) GetConnIsTrusted() bool

func (*PeerInfo) GetConnLocalAddr

func (x *PeerInfo) GetConnLocalAddr() string

func (*PeerInfo) GetConnRemoteAddr

func (x *PeerInfo) GetConnRemoteAddr() string

func (*PeerInfo) GetEnode

func (x *PeerInfo) GetEnode() string

func (*PeerInfo) GetEnr

func (x *PeerInfo) GetEnr() string

func (*PeerInfo) GetId

func (x *PeerInfo) GetId() string

func (*PeerInfo) GetName

func (x *PeerInfo) GetName() string

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect

func (x *PeerInfo) ProtoReflect() protoreflect.Message

func (*PeerInfo) Reset

func (x *PeerInfo) Reset()

func (*PeerInfo) String

func (x *PeerInfo) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL