Module reth::blockchain_tree

source ·
Expand description

Re-exported from reth_blockchain_tree.

Modules§

Structs§

Enums§

  • Represents what kind of block is being executed and validated.
  • From Engine API spec, block inclusion can be valid, accepted or invalid. Invalid case is already covered by error, but we need to make distinction between valid blocks that extend canonical chain and the ones that fork off into side chains (see BlockAttachment). If we don’t know the block parent we are returning Disconnected status as we can’t make a claim if block is valid or not.
  • Represents the kind of validation that should be performed when inserting a block.
  • All possible outcomes of a canonicalization attempt of BlockchainTreeEngine::make_canonical.
  • How a payload was inserted if it was valid.

Traits§