reth

Module api

Source
Expand description

Re-exported from reth_node_api.

Modules§

  • Traits, validation methods, and helper types used to abstract over engine types.
  • Traits for configuring a node.
  • This crate defines abstractions to create and update payloads (blocks)
  • This crate defines abstractions to create and update payloads (blocks)

Structs§

Enums§

Traits§

Functions§

  • Validate the presence of the parentBeaconBlockRoot field according to the given timestamp. This method is meant to be used with either a payloadAttributes field or a full payload, with the engine_forkchoiceUpdated and engine_newPayload methods respectively.
  • Validates the timestamp depending on the version called:
  • Validates the presence or exclusion of fork-specific fields based on the ethereum execution payload, or payload attributes, and the message version.
  • Validates the presence of the withdrawals field according to the payload timestamp. After Shanghai, withdrawals field must be Some. Before Shanghai, withdrawals field must be None;

Type Aliases§