package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Functions

BlockToExecutableData constructs the ExecutableData structure by filling the fields from the given block.
ExecutableDataToBlock constructs a block from executable data.
ExecutableDataToBlockNoHash is analogous to ExecutableDataToBlock, but is used for stateless execution, so it skips checking if the executable data hashes to the requested hash (stateless has to *compute* the root hash, it's not given).

# Constants

Client identifiers to support ClientVersionV1.
Client identifiers to support ClientVersionV1.

# Variables

ACCEPTED is returned by the engine API in the following calls: - newPayloadV1: if the payload was accepted, but not processed (side chain).
INVALID is returned by the engine API in the following calls: - newPayloadV1: if the payload failed to execute on top of the local chain - forkchoiceUpdateV1: if the new head is unknown, pre-merge, or reorg to it fails.
SYNCING is returned by the engine API in the following calls: - newPayloadV1: if the payload was accepted on top of an active sync - forkchoiceUpdateV1: if the new head was seen before, but not part of the chain.
VALID is returned by the engine API in the following calls: - newPayloadV1: if the payload was already known or was just validated and executed - forkchoiceUpdateV1: if the chain accepted the reorg (might ignore if it's stale).

# Structs

ClientVersionV1 contains information which identifies a client implementation.
EngineAPIError is a standardized error message between consensus and execution clients, also containing any custom error message Geth might include.
ExecutableData is the data necessary to execute an EL payload.
ExecutionPayloadBody is used in the response to GetPayloadBodiesByHash and GetPayloadBodiesByRange.
PayloadAttributes describes the environment context in which a block should be built.
StatelessPayloadStatusV1 is the result of a stateless payload execution.

# Type aliases

PayloadID is an identifier of the payload build process.
PayloadVersion denotes the version of PayloadAttributes used to request the building of the payload to commence.