enginev1

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: GPL-3.0 Imports: 16 Imported by: 2

Documentation

Overview

Code generated by fastssz. DO NOT EDIT. Hash: 0861ebfee0a62ce9e10d8b677c0f8aa1f12c99ee69d3a864018818270a981c57

Index

Constants

This section is empty.

Variables

View Source
var (
	PayloadStatus_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "VALID",
		2: "INVALID",
		3: "SYNCING",
		4: "ACCEPTED",
		5: "INVALID_BLOCK_HASH",
	}
	PayloadStatus_Status_value = map[string]int32{
		"UNKNOWN":            0,
		"VALID":              1,
		"INVALID":            2,
		"SYNCING":            3,
		"ACCEPTED":           4,
		"INVALID_BLOCK_HASH": 5,
	}
)

Enum value maps for PayloadStatus_Status.

View Source
var File_proto_engine_v1_execution_engine_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Blob added in v3.2.0

type Blob struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" ssz-size:"131072"`
	// contains filtered or unexported fields
}

func (*Blob) Descriptor deprecated added in v3.2.0

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

Deprecated: Use Blob.ProtoReflect.Descriptor instead.

func (*Blob) GetData added in v3.2.0

func (x *Blob) GetData() []byte

func (*Blob) ProtoMessage added in v3.2.0

func (*Blob) ProtoMessage()

func (*Blob) ProtoReflect added in v3.2.0

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

func (*Blob) Reset added in v3.2.0

func (x *Blob) Reset()

func (*Blob) String added in v3.2.0

func (x *Blob) String() string

type BlobsBundle added in v3.2.0

type BlobsBundle struct {
	BlockHash       []byte   `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"`
	KzgCommitments  [][]byte `` /* 132-byte string literal not displayed */
	Blobs           []*Blob  `protobuf:"bytes,3,rep,name=blobs,proto3" json:"blobs,omitempty" ssz-max:"16"`
	AggregatedProof []byte   `protobuf:"bytes,4,opt,name=aggregated_proof,json=aggregatedProof,proto3" json:"aggregated_proof,omitempty" ssz-size:"48"`
	// contains filtered or unexported fields
}

func (*BlobsBundle) Descriptor deprecated added in v3.2.0

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

Deprecated: Use BlobsBundle.ProtoReflect.Descriptor instead.

func (*BlobsBundle) GetAggregatedProof added in v3.2.0

func (x *BlobsBundle) GetAggregatedProof() []byte

func (*BlobsBundle) GetBlobs added in v3.2.0

func (x *BlobsBundle) GetBlobs() []*Blob

func (*BlobsBundle) GetBlockHash added in v3.2.0

func (x *BlobsBundle) GetBlockHash() []byte

func (*BlobsBundle) GetKzgCommitments added in v3.2.0

func (x *BlobsBundle) GetKzgCommitments() [][]byte

func (*BlobsBundle) ProtoMessage added in v3.2.0

func (*BlobsBundle) ProtoMessage()

func (*BlobsBundle) ProtoReflect added in v3.2.0

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

func (*BlobsBundle) Reset added in v3.2.0

func (x *BlobsBundle) Reset()

func (*BlobsBundle) String added in v3.2.0

func (x *BlobsBundle) String() string

type ExecutionBlock

type ExecutionBlock struct {
	gethtypes.Header
	Hash            common.Hash              `json:"hash"`
	Transactions    []*gethtypes.Transaction `json:"transactions"`
	TotalDifficulty string                   `json:"totalDifficulty"`
}

ExecutionBlock is the response kind received by the eth_getBlockByHash and eth_getBlockByNumber endpoints via JSON-RPC.

func (*ExecutionBlock) MarshalJSON

func (e *ExecutionBlock) MarshalJSON() ([]byte, error)

func (*ExecutionBlock) UnmarshalJSON

func (e *ExecutionBlock) UnmarshalJSON(enc []byte) error

type ExecutionPayload

type ExecutionPayload struct {
	ParentHash    []byte   `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"`
	FeeRecipient  []byte   `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"`
	StateRoot     []byte   `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	ReceiptsRoot  []byte   `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"`
	LogsBloom     []byte   `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"`
	PrevRandao    []byte   `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	BlockNumber   uint64   `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit      uint64   `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed       uint64   `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp     uint64   `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData     []byte   `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"`
	BaseFeePerGas []byte   `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"`
	BlockHash     []byte   `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"`
	Transactions  [][]byte `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty" ssz-max:"1048576,1073741824" ssz-size:"?,?"`
	// 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() []byte

func (*ExecutionPayload) GetBlockHash

func (x *ExecutionPayload) GetBlockHash() []byte

func (*ExecutionPayload) GetBlockNumber

func (x *ExecutionPayload) GetBlockNumber() uint64

func (*ExecutionPayload) GetExtraData

func (x *ExecutionPayload) GetExtraData() []byte

func (*ExecutionPayload) GetFeeRecipient

func (x *ExecutionPayload) GetFeeRecipient() []byte

func (*ExecutionPayload) GetGasLimit

func (x *ExecutionPayload) GetGasLimit() uint64

func (*ExecutionPayload) GetGasUsed

func (x *ExecutionPayload) GetGasUsed() uint64

func (*ExecutionPayload) GetLogsBloom

func (x *ExecutionPayload) GetLogsBloom() []byte

func (*ExecutionPayload) GetParentHash

func (x *ExecutionPayload) GetParentHash() []byte

func (*ExecutionPayload) GetPrevRandao

func (x *ExecutionPayload) GetPrevRandao() []byte

func (*ExecutionPayload) GetReceiptsRoot

func (x *ExecutionPayload) GetReceiptsRoot() []byte

func (*ExecutionPayload) GetStateRoot

func (x *ExecutionPayload) GetStateRoot() []byte

func (*ExecutionPayload) GetTimestamp

func (x *ExecutionPayload) GetTimestamp() uint64

func (*ExecutionPayload) GetTransactions

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

func (*ExecutionPayload) HashTreeRoot

func (e *ExecutionPayload) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayload object

func (*ExecutionPayload) HashTreeRootWith

func (e *ExecutionPayload) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayload object with a hasher

func (*ExecutionPayload) MarshalJSON

func (e *ExecutionPayload) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*ExecutionPayload) MarshalSSZ

func (e *ExecutionPayload) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayload object

func (*ExecutionPayload) MarshalSSZTo

func (e *ExecutionPayload) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayload object to a target array

func (*ExecutionPayload) ProtoMessage

func (*ExecutionPayload) ProtoMessage()

func (*ExecutionPayload) ProtoReflect

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

func (*ExecutionPayload) Reset

func (x *ExecutionPayload) Reset()

func (*ExecutionPayload) SizeSSZ

func (e *ExecutionPayload) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayload object

func (*ExecutionPayload) String

func (x *ExecutionPayload) String() string

func (*ExecutionPayload) UnmarshalJSON

func (e *ExecutionPayload) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

func (*ExecutionPayload) UnmarshalSSZ

func (e *ExecutionPayload) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayload object

type ExecutionPayloadCapella

type ExecutionPayloadCapella struct {
	ParentHash    []byte        `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"`
	FeeRecipient  []byte        `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"`
	StateRoot     []byte        `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	ReceiptsRoot  []byte        `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"`
	LogsBloom     []byte        `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"`
	PrevRandao    []byte        `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	BlockNumber   uint64        `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit      uint64        `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed       uint64        `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp     uint64        `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData     []byte        `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"`
	BaseFeePerGas []byte        `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"`
	BlockHash     []byte        `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"`
	Transactions  [][]byte      `protobuf:"bytes,14,rep,name=transactions,proto3" json:"transactions,omitempty" ssz-max:"1048576,1073741824" ssz-size:"?,?"`
	Withdrawals   []*Withdrawal `protobuf:"bytes,15,rep,name=withdrawals,proto3" json:"withdrawals,omitempty" ssz-max:"16"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadCapella) Descriptor deprecated

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

Deprecated: Use ExecutionPayloadCapella.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadCapella) GetBaseFeePerGas

func (x *ExecutionPayloadCapella) GetBaseFeePerGas() []byte

func (*ExecutionPayloadCapella) GetBlockHash

func (x *ExecutionPayloadCapella) GetBlockHash() []byte

func (*ExecutionPayloadCapella) GetBlockNumber

func (x *ExecutionPayloadCapella) GetBlockNumber() uint64

func (*ExecutionPayloadCapella) GetExtraData

func (x *ExecutionPayloadCapella) GetExtraData() []byte

func (*ExecutionPayloadCapella) GetFeeRecipient

func (x *ExecutionPayloadCapella) GetFeeRecipient() []byte

func (*ExecutionPayloadCapella) GetGasLimit

func (x *ExecutionPayloadCapella) GetGasLimit() uint64

func (*ExecutionPayloadCapella) GetGasUsed

func (x *ExecutionPayloadCapella) GetGasUsed() uint64

func (*ExecutionPayloadCapella) GetLogsBloom

func (x *ExecutionPayloadCapella) GetLogsBloom() []byte

func (*ExecutionPayloadCapella) GetParentHash

func (x *ExecutionPayloadCapella) GetParentHash() []byte

func (*ExecutionPayloadCapella) GetPrevRandao

func (x *ExecutionPayloadCapella) GetPrevRandao() []byte

func (*ExecutionPayloadCapella) GetReceiptsRoot

func (x *ExecutionPayloadCapella) GetReceiptsRoot() []byte

func (*ExecutionPayloadCapella) GetStateRoot

func (x *ExecutionPayloadCapella) GetStateRoot() []byte

func (*ExecutionPayloadCapella) GetTimestamp

func (x *ExecutionPayloadCapella) GetTimestamp() uint64

func (*ExecutionPayloadCapella) GetTransactions

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

func (*ExecutionPayloadCapella) GetWithdrawals

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

func (*ExecutionPayloadCapella) HashTreeRoot added in v3.1.2

func (e *ExecutionPayloadCapella) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadCapella object

func (*ExecutionPayloadCapella) HashTreeRootWith added in v3.1.2

func (e *ExecutionPayloadCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadCapella object with a hasher

func (*ExecutionPayloadCapella) MarshalSSZ added in v3.1.2

func (e *ExecutionPayloadCapella) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadCapella object

func (*ExecutionPayloadCapella) MarshalSSZTo added in v3.1.2

func (e *ExecutionPayloadCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayloadCapella object to a target array

func (*ExecutionPayloadCapella) ProtoMessage

func (*ExecutionPayloadCapella) ProtoMessage()

func (*ExecutionPayloadCapella) ProtoReflect

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

func (*ExecutionPayloadCapella) Reset

func (x *ExecutionPayloadCapella) Reset()

func (*ExecutionPayloadCapella) SizeSSZ added in v3.1.2

func (e *ExecutionPayloadCapella) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadCapella object

func (*ExecutionPayloadCapella) String

func (x *ExecutionPayloadCapella) String() string

func (*ExecutionPayloadCapella) UnmarshalSSZ added in v3.1.2

func (e *ExecutionPayloadCapella) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadCapella object

type ExecutionPayloadHeader

type ExecutionPayloadHeader struct {
	ParentHash       []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"`
	FeeRecipient     []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"`
	StateRoot        []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	ReceiptsRoot     []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"`
	LogsBloom        []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"`
	PrevRandao       []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	BlockNumber      uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit         uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed          uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp        uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData        []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"`
	BaseFeePerGas    []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"`
	BlockHash        []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"`
	TransactionsRoot []byte `protobuf:"bytes,14,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadHeader) Descriptor deprecated

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

Deprecated: Use ExecutionPayloadHeader.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadHeader) GetBaseFeePerGas

func (x *ExecutionPayloadHeader) GetBaseFeePerGas() []byte

func (*ExecutionPayloadHeader) GetBlockHash

func (x *ExecutionPayloadHeader) GetBlockHash() []byte

func (*ExecutionPayloadHeader) GetBlockNumber

func (x *ExecutionPayloadHeader) GetBlockNumber() uint64

func (*ExecutionPayloadHeader) GetExtraData

func (x *ExecutionPayloadHeader) GetExtraData() []byte

func (*ExecutionPayloadHeader) GetFeeRecipient

func (x *ExecutionPayloadHeader) GetFeeRecipient() []byte

func (*ExecutionPayloadHeader) GetGasLimit

func (x *ExecutionPayloadHeader) GetGasLimit() uint64

func (*ExecutionPayloadHeader) GetGasUsed

func (x *ExecutionPayloadHeader) GetGasUsed() uint64

func (*ExecutionPayloadHeader) GetLogsBloom

func (x *ExecutionPayloadHeader) GetLogsBloom() []byte

func (*ExecutionPayloadHeader) GetParentHash

func (x *ExecutionPayloadHeader) GetParentHash() []byte

func (*ExecutionPayloadHeader) GetPrevRandao

func (x *ExecutionPayloadHeader) GetPrevRandao() []byte

func (*ExecutionPayloadHeader) GetReceiptsRoot

func (x *ExecutionPayloadHeader) GetReceiptsRoot() []byte

func (*ExecutionPayloadHeader) GetStateRoot

func (x *ExecutionPayloadHeader) GetStateRoot() []byte

func (*ExecutionPayloadHeader) GetTimestamp

func (x *ExecutionPayloadHeader) GetTimestamp() uint64

func (*ExecutionPayloadHeader) GetTransactionsRoot

func (x *ExecutionPayloadHeader) GetTransactionsRoot() []byte

func (*ExecutionPayloadHeader) HashTreeRoot

func (e *ExecutionPayloadHeader) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadHeader object

func (*ExecutionPayloadHeader) HashTreeRootWith

func (e *ExecutionPayloadHeader) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadHeader object with a hasher

func (*ExecutionPayloadHeader) MarshalSSZ

func (e *ExecutionPayloadHeader) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadHeader object

func (*ExecutionPayloadHeader) MarshalSSZTo

func (e *ExecutionPayloadHeader) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayloadHeader object to a target array

func (*ExecutionPayloadHeader) ProtoMessage

func (*ExecutionPayloadHeader) ProtoMessage()

func (*ExecutionPayloadHeader) ProtoReflect

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

func (*ExecutionPayloadHeader) Reset

func (x *ExecutionPayloadHeader) Reset()

func (*ExecutionPayloadHeader) SizeSSZ

func (e *ExecutionPayloadHeader) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeader object

func (*ExecutionPayloadHeader) String

func (x *ExecutionPayloadHeader) String() string

func (*ExecutionPayloadHeader) UnmarshalSSZ

func (e *ExecutionPayloadHeader) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeader object

type ExecutionPayloadHeaderCapella

type ExecutionPayloadHeaderCapella struct {
	ParentHash       []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty" ssz-size:"32"`
	FeeRecipient     []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty" ssz-size:"20"`
	StateRoot        []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty" ssz-size:"32"`
	ReceiptsRoot     []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty" ssz-size:"32"`
	LogsBloom        []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty" ssz-size:"256"`
	PrevRandao       []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	BlockNumber      uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit         uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed          uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp        uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData        []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty" ssz-max:"32"`
	BaseFeePerGas    []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty" ssz-size:"32"`
	BlockHash        []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty" ssz-size:"32"`
	TransactionsRoot []byte `protobuf:"bytes,14,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty" ssz-size:"32"`
	WithdrawalsRoot  []byte `protobuf:"bytes,15,opt,name=withdrawals_root,json=withdrawalsRoot,proto3" json:"withdrawals_root,omitempty" ssz-size:"32"`
	// contains filtered or unexported fields
}

func (*ExecutionPayloadHeaderCapella) Descriptor deprecated

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

Deprecated: Use ExecutionPayloadHeaderCapella.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadHeaderCapella) GetBaseFeePerGas

func (x *ExecutionPayloadHeaderCapella) GetBaseFeePerGas() []byte

func (*ExecutionPayloadHeaderCapella) GetBlockHash

func (x *ExecutionPayloadHeaderCapella) GetBlockHash() []byte

func (*ExecutionPayloadHeaderCapella) GetBlockNumber

func (x *ExecutionPayloadHeaderCapella) GetBlockNumber() uint64

func (*ExecutionPayloadHeaderCapella) GetExtraData

func (x *ExecutionPayloadHeaderCapella) GetExtraData() []byte

func (*ExecutionPayloadHeaderCapella) GetFeeRecipient

func (x *ExecutionPayloadHeaderCapella) GetFeeRecipient() []byte

func (*ExecutionPayloadHeaderCapella) GetGasLimit

func (x *ExecutionPayloadHeaderCapella) GetGasLimit() uint64

func (*ExecutionPayloadHeaderCapella) GetGasUsed

func (x *ExecutionPayloadHeaderCapella) GetGasUsed() uint64

func (*ExecutionPayloadHeaderCapella) GetLogsBloom

func (x *ExecutionPayloadHeaderCapella) GetLogsBloom() []byte

func (*ExecutionPayloadHeaderCapella) GetParentHash

func (x *ExecutionPayloadHeaderCapella) GetParentHash() []byte

func (*ExecutionPayloadHeaderCapella) GetPrevRandao

func (x *ExecutionPayloadHeaderCapella) GetPrevRandao() []byte

func (*ExecutionPayloadHeaderCapella) GetReceiptsRoot

func (x *ExecutionPayloadHeaderCapella) GetReceiptsRoot() []byte

func (*ExecutionPayloadHeaderCapella) GetStateRoot

func (x *ExecutionPayloadHeaderCapella) GetStateRoot() []byte

func (*ExecutionPayloadHeaderCapella) GetTimestamp

func (x *ExecutionPayloadHeaderCapella) GetTimestamp() uint64

func (*ExecutionPayloadHeaderCapella) GetTransactionsRoot

func (x *ExecutionPayloadHeaderCapella) GetTransactionsRoot() []byte

func (*ExecutionPayloadHeaderCapella) GetWithdrawalsRoot

func (x *ExecutionPayloadHeaderCapella) GetWithdrawalsRoot() []byte

func (*ExecutionPayloadHeaderCapella) HashTreeRoot added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) HashTreeRootWith added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the ExecutionPayloadHeaderCapella object with a hasher

func (*ExecutionPayloadHeaderCapella) MarshalSSZ added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) MarshalSSZTo added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the ExecutionPayloadHeaderCapella object to a target array

func (*ExecutionPayloadHeaderCapella) ProtoMessage

func (*ExecutionPayloadHeaderCapella) ProtoMessage()

func (*ExecutionPayloadHeaderCapella) ProtoReflect

func (*ExecutionPayloadHeaderCapella) Reset

func (x *ExecutionPayloadHeaderCapella) Reset()

func (*ExecutionPayloadHeaderCapella) SizeSSZ added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the ExecutionPayloadHeaderCapella object

func (*ExecutionPayloadHeaderCapella) String

func (*ExecutionPayloadHeaderCapella) UnmarshalSSZ added in v3.1.2

func (e *ExecutionPayloadHeaderCapella) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the ExecutionPayloadHeaderCapella object

type ForkchoiceState

type ForkchoiceState struct {
	HeadBlockHash      []byte `protobuf:"bytes,1,opt,name=head_block_hash,json=headBlockHash,proto3" json:"head_block_hash,omitempty" ssz-size:"32"`
	SafeBlockHash      []byte `protobuf:"bytes,2,opt,name=safe_block_hash,json=safeBlockHash,proto3" json:"safe_block_hash,omitempty" ssz-size:"32"`
	FinalizedBlockHash []byte `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ForkchoiceState) Descriptor deprecated

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

Deprecated: Use ForkchoiceState.ProtoReflect.Descriptor instead.

func (*ForkchoiceState) GetFinalizedBlockHash

func (x *ForkchoiceState) GetFinalizedBlockHash() []byte

func (*ForkchoiceState) GetHeadBlockHash

func (x *ForkchoiceState) GetHeadBlockHash() []byte

func (*ForkchoiceState) GetSafeBlockHash

func (x *ForkchoiceState) GetSafeBlockHash() []byte

func (*ForkchoiceState) MarshalJSON

func (f *ForkchoiceState) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*ForkchoiceState) ProtoMessage

func (*ForkchoiceState) ProtoMessage()

func (*ForkchoiceState) ProtoReflect

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

func (*ForkchoiceState) Reset

func (x *ForkchoiceState) Reset()

func (*ForkchoiceState) String

func (x *ForkchoiceState) String() string

func (*ForkchoiceState) UnmarshalJSON

func (f *ForkchoiceState) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type PayloadAttributes

type PayloadAttributes struct {
	Timestamp             uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PrevRandao            []byte `protobuf:"bytes,2,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	SuggestedFeeRecipient []byte `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadAttributes) Descriptor deprecated

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

Deprecated: Use PayloadAttributes.ProtoReflect.Descriptor instead.

func (*PayloadAttributes) GetPrevRandao

func (x *PayloadAttributes) GetPrevRandao() []byte

func (*PayloadAttributes) GetSuggestedFeeRecipient

func (x *PayloadAttributes) GetSuggestedFeeRecipient() []byte

func (*PayloadAttributes) GetTimestamp

func (x *PayloadAttributes) GetTimestamp() uint64

func (*PayloadAttributes) MarshalJSON

func (p *PayloadAttributes) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*PayloadAttributes) ProtoMessage

func (*PayloadAttributes) ProtoMessage()

func (*PayloadAttributes) ProtoReflect

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

func (*PayloadAttributes) Reset

func (x *PayloadAttributes) Reset()

func (*PayloadAttributes) String

func (x *PayloadAttributes) String() string

func (*PayloadAttributes) UnmarshalJSON

func (p *PayloadAttributes) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type PayloadAttributesV2 added in v3.2.0

type PayloadAttributesV2 struct {
	Timestamp             uint64        `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PrevRandao            []byte        `protobuf:"bytes,2,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty" ssz-size:"32"`
	SuggestedFeeRecipient []byte        `` /* 140-byte string literal not displayed */
	Withdrawals           []*Withdrawal `protobuf:"bytes,4,rep,name=withdrawals,proto3" json:"withdrawals,omitempty" ssz-max:"16"`
	// contains filtered or unexported fields
}

func (*PayloadAttributesV2) Descriptor deprecated added in v3.2.0

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

Deprecated: Use PayloadAttributesV2.ProtoReflect.Descriptor instead.

func (*PayloadAttributesV2) GetPrevRandao added in v3.2.0

func (x *PayloadAttributesV2) GetPrevRandao() []byte

func (*PayloadAttributesV2) GetSuggestedFeeRecipient added in v3.2.0

func (x *PayloadAttributesV2) GetSuggestedFeeRecipient() []byte

func (*PayloadAttributesV2) GetTimestamp added in v3.2.0

func (x *PayloadAttributesV2) GetTimestamp() uint64

func (*PayloadAttributesV2) GetWithdrawals added in v3.2.0

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

func (*PayloadAttributesV2) ProtoMessage added in v3.2.0

func (*PayloadAttributesV2) ProtoMessage()

func (*PayloadAttributesV2) ProtoReflect added in v3.2.0

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

func (*PayloadAttributesV2) Reset added in v3.2.0

func (x *PayloadAttributesV2) Reset()

func (*PayloadAttributesV2) String added in v3.2.0

func (x *PayloadAttributesV2) String() string

type PayloadIDBytes

type PayloadIDBytes [8]byte

PayloadIDBytes defines a custom type for Payload IDs used by the engine API client with proper JSON Marshal and Unmarshal methods to hex.

func (PayloadIDBytes) MarshalJSON

func (b PayloadIDBytes) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*PayloadIDBytes) UnmarshalJSON

func (b *PayloadIDBytes) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type PayloadStatus

type PayloadStatus struct {
	Status          PayloadStatus_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ethereum.engine.v1.PayloadStatus_Status" json:"status,omitempty"`
	LatestValidHash []byte               `protobuf:"bytes,2,opt,name=latest_valid_hash,json=latestValidHash,proto3" json:"latest_valid_hash,omitempty" ssz-size:"32"`
	ValidationError string               `protobuf:"bytes,3,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadStatus) Descriptor deprecated

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

Deprecated: Use PayloadStatus.ProtoReflect.Descriptor instead.

func (*PayloadStatus) GetLatestValidHash

func (x *PayloadStatus) GetLatestValidHash() []byte

func (*PayloadStatus) GetStatus

func (x *PayloadStatus) GetStatus() PayloadStatus_Status

func (*PayloadStatus) GetValidationError

func (x *PayloadStatus) GetValidationError() string

func (*PayloadStatus) MarshalJSON

func (p *PayloadStatus) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*PayloadStatus) ProtoMessage

func (*PayloadStatus) ProtoMessage()

func (*PayloadStatus) ProtoReflect

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

func (*PayloadStatus) Reset

func (x *PayloadStatus) Reset()

func (*PayloadStatus) String

func (x *PayloadStatus) String() string

func (*PayloadStatus) UnmarshalJSON

func (p *PayloadStatus) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type PayloadStatus_Status

type PayloadStatus_Status int32
const (
	PayloadStatus_UNKNOWN            PayloadStatus_Status = 0
	PayloadStatus_VALID              PayloadStatus_Status = 1
	PayloadStatus_INVALID            PayloadStatus_Status = 2
	PayloadStatus_SYNCING            PayloadStatus_Status = 3
	PayloadStatus_ACCEPTED           PayloadStatus_Status = 4
	PayloadStatus_INVALID_BLOCK_HASH PayloadStatus_Status = 5
)

func (PayloadStatus_Status) Descriptor

func (PayloadStatus_Status) Enum

func (PayloadStatus_Status) EnumDescriptor deprecated

func (PayloadStatus_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use PayloadStatus_Status.Descriptor instead.

func (PayloadStatus_Status) Number

func (PayloadStatus_Status) String

func (x PayloadStatus_Status) String() string

func (PayloadStatus_Status) Type

type TransitionConfiguration

type TransitionConfiguration struct {
	TerminalTotalDifficulty string `` /* 132-byte string literal not displayed */
	TerminalBlockHash       []byte `protobuf:"bytes,2,opt,name=terminal_block_hash,json=terminalBlockHash,proto3" json:"terminal_block_hash,omitempty"`
	TerminalBlockNumber     []byte `protobuf:"bytes,3,opt,name=terminal_block_number,json=terminalBlockNumber,proto3" json:"terminal_block_number,omitempty"`
	// contains filtered or unexported fields
}

func (*TransitionConfiguration) Descriptor deprecated

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

Deprecated: Use TransitionConfiguration.ProtoReflect.Descriptor instead.

func (*TransitionConfiguration) GetTerminalBlockHash

func (x *TransitionConfiguration) GetTerminalBlockHash() []byte

func (*TransitionConfiguration) GetTerminalBlockNumber

func (x *TransitionConfiguration) GetTerminalBlockNumber() []byte

func (*TransitionConfiguration) GetTerminalTotalDifficulty

func (x *TransitionConfiguration) GetTerminalTotalDifficulty() string

func (*TransitionConfiguration) MarshalJSON

func (t *TransitionConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON --

func (*TransitionConfiguration) ProtoMessage

func (*TransitionConfiguration) ProtoMessage()

func (*TransitionConfiguration) ProtoReflect

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

func (*TransitionConfiguration) Reset

func (x *TransitionConfiguration) Reset()

func (*TransitionConfiguration) String

func (x *TransitionConfiguration) String() string

func (*TransitionConfiguration) UnmarshalJSON

func (t *TransitionConfiguration) UnmarshalJSON(enc []byte) error

UnmarshalJSON --

type Withdrawal

type Withdrawal struct {
	WithdrawalIndex  uint64                                                                      `protobuf:"varint,1,opt,name=withdrawal_index,json=withdrawalIndex,proto3" json:"withdrawal_index,omitempty"`
	ValidatorIndex   github_com_prysmaticlabs_prysm_v3_consensus_types_primitives.ValidatorIndex `` /* 192-byte string literal not displayed */
	ExecutionAddress []byte                                                                      `protobuf:"bytes,3,opt,name=execution_address,json=executionAddress,proto3" json:"execution_address,omitempty" ssz-size:"20"`
	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) GetAmount

func (x *Withdrawal) GetAmount() uint64

func (*Withdrawal) GetExecutionAddress

func (x *Withdrawal) GetExecutionAddress() []byte

func (*Withdrawal) GetValidatorIndex added in v3.1.2

func (*Withdrawal) GetWithdrawalIndex

func (x *Withdrawal) GetWithdrawalIndex() uint64

func (*Withdrawal) HashTreeRoot

func (w *Withdrawal) HashTreeRoot() ([32]byte, error)

HashTreeRoot ssz hashes the Withdrawal object

func (*Withdrawal) HashTreeRootWith

func (w *Withdrawal) HashTreeRootWith(hh *ssz.Hasher) (err error)

HashTreeRootWith ssz hashes the Withdrawal object with a hasher

func (*Withdrawal) MarshalSSZ

func (w *Withdrawal) MarshalSSZ() ([]byte, error)

MarshalSSZ ssz marshals the Withdrawal object

func (*Withdrawal) MarshalSSZTo

func (w *Withdrawal) MarshalSSZTo(buf []byte) (dst []byte, err error)

MarshalSSZTo ssz marshals the Withdrawal object to a target array

func (*Withdrawal) ProtoMessage

func (*Withdrawal) ProtoMessage()

func (*Withdrawal) ProtoReflect

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

func (*Withdrawal) Reset

func (x *Withdrawal) Reset()

func (*Withdrawal) SizeSSZ

func (w *Withdrawal) SizeSSZ() (size int)

SizeSSZ returns the ssz encoded size in bytes for the Withdrawal object

func (*Withdrawal) String

func (x *Withdrawal) String() string

func (*Withdrawal) UnmarshalSSZ

func (w *Withdrawal) UnmarshalSSZ(buf []byte) error

UnmarshalSSZ ssz unmarshals the Withdrawal object

Jump to

Keyboard shortcuts

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