reth

Module payload

Source
Expand description

Re-exported payload related types

Modules§

  • A payload builder service task that does nothing.
  • test_utilstest-utils
    Utils for testing purposes.

Structs§

Enums§

Traits§

  • Represents a built payload type that contains a built SealedBlock and can be converted into engine API execution payloads.
  • The execution payload attribute type the CL node emits via the engine API. This trait should be implemented by types that could be used to spawn a payload job.
  • A builder that can return the current payload attribute.
  • A type that can request, subscribe to and resolve payloads.
  • This can be implemented by types that describe a currently running payload job.
  • A type that can build a payload.
  • A type that knows how to create new jobs for creating payloads.
  • A helper trait for internal usage to retrieve and resolve payloads.
  • The types that are used by the engine API.

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;