types

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_types_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlobsBundleV1

type BlobsBundleV1 struct {

	// TODO(eip-4844): define a protobuf message for type KZGCommitment
	Commitments [][]byte `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
	// TODO(eip-4844): define a protobuf message for type Blob
	Blobs  [][]byte `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"`
	Proofs [][]byte `protobuf:"bytes,3,rep,name=proofs,proto3" json:"proofs,omitempty"`
	// contains filtered or unexported fields
}

func (*BlobsBundleV1) Descriptor deprecated

func (*BlobsBundleV1) Descriptor() ([]byte, []int)

Deprecated: Use BlobsBundleV1.ProtoReflect.Descriptor instead.

func (*BlobsBundleV1) GetBlobs

func (x *BlobsBundleV1) GetBlobs() [][]byte

func (*BlobsBundleV1) GetCommitments

func (x *BlobsBundleV1) GetCommitments() [][]byte

func (*BlobsBundleV1) GetProofs

func (x *BlobsBundleV1) GetProofs() [][]byte

func (*BlobsBundleV1) ProtoMessage

func (*BlobsBundleV1) ProtoMessage()

func (*BlobsBundleV1) ProtoReflect

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

func (*BlobsBundleV1) Reset

func (x *BlobsBundleV1) Reset()

func (*BlobsBundleV1) String

func (x *BlobsBundleV1) String() string

type ExecutionPayload

type ExecutionPayload struct {
	Version       uint32        `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // v1 - no withdrawals, v2 - with withdrawals, v3 - with blob gas
	ParentHash    *H256         `protobuf:"bytes,2,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	Coinbase      *H160         `protobuf:"bytes,3,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	StateRoot     *H256         `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	ReceiptRoot   *H256         `protobuf:"bytes,5,opt,name=receipt_root,json=receiptRoot,proto3" json:"receipt_root,omitempty"`
	LogsBloom     *H2048        `protobuf:"bytes,6,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"`
	PrevRandao    *H256         `protobuf:"bytes,7,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty"`
	BlockNumber   uint64        `protobuf:"varint,8,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit      uint64        `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed       uint64        `protobuf:"varint,10,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp     uint64        `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData     []byte        `protobuf:"bytes,12,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	BaseFeePerGas *H256         `protobuf:"bytes,13,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty"`
	BlockHash     *H256         `protobuf:"bytes,14,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Transactions  [][]byte      `protobuf:"bytes,15,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Withdrawals   []*Withdrawal `protobuf:"bytes,16,rep,name=withdrawals,proto3" json:"withdrawals,omitempty"`
	BlobGasUsed   *uint64       `protobuf:"varint,17,opt,name=blob_gas_used,json=blobGasUsed,proto3,oneof" json:"blob_gas_used,omitempty"`
	ExcessBlobGas *uint64       `protobuf:"varint,18,opt,name=excess_blob_gas,json=excessBlobGas,proto3,oneof" json:"excess_blob_gas,omitempty"`
	// contains filtered or unexported fields
}

------------------------------------------------------------------------ Engine API types See https://github.com/ethereum/execution-apis/blob/main/src/engine

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) GetBlobGasUsed

func (x *ExecutionPayload) GetBlobGasUsed() uint64

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) GetExcessBlobGas

func (x *ExecutionPayload) GetExcessBlobGas() uint64

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) GetVersion

func (x *ExecutionPayload) GetVersion() uint32

func (*ExecutionPayload) GetWithdrawals

func (x *ExecutionPayload) GetWithdrawals() []*Withdrawal

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 ExecutionPayloadBodyV1

type ExecutionPayloadBodyV1 struct {
	Transactions [][]byte      `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	Withdrawals  []*Withdrawal `protobuf:"bytes,2,rep,name=withdrawals,proto3" json:"withdrawals,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadBodyV1) Descriptor deprecated

func (*ExecutionPayloadBodyV1) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayloadBodyV1.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadBodyV1) GetTransactions

func (x *ExecutionPayloadBodyV1) GetTransactions() [][]byte

func (*ExecutionPayloadBodyV1) GetWithdrawals

func (x *ExecutionPayloadBodyV1) GetWithdrawals() []*Withdrawal

func (*ExecutionPayloadBodyV1) ProtoMessage

func (*ExecutionPayloadBodyV1) ProtoMessage()

func (*ExecutionPayloadBodyV1) ProtoReflect

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

func (*ExecutionPayloadBodyV1) Reset

func (x *ExecutionPayloadBodyV1) Reset()

func (*ExecutionPayloadBodyV1) String

func (x *ExecutionPayloadBodyV1) 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=listener_addr,json=listenerAddr,proto3" json:"listener_addr,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=conn_local_addr,json=connLocalAddr,proto3" json:"conn_local_addr,omitempty"`
	ConnRemoteAddr string   `protobuf:"bytes,7,opt,name=conn_remote_addr,json=connRemoteAddr,proto3" json:"conn_remote_addr,omitempty"`
	ConnIsInbound  bool     `protobuf:"varint,8,opt,name=conn_is_inbound,json=connIsInbound,proto3" json:"conn_is_inbound,omitempty"`
	ConnIsTrusted  bool     `protobuf:"varint,9,opt,name=conn_is_trusted,json=connIsTrusted,proto3" json:"conn_is_trusted,omitempty"`
	ConnIsStatic   bool     `protobuf:"varint,10,opt,name=conn_is_static,json=connIsStatic,proto3" json:"conn_is_static,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

type Withdrawal

type Withdrawal struct {
	Index          uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
	Address        *H160  `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Amount         uint64 `protobuf:"varint,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() uint64

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

Jump to

Keyboard shortcuts

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