Crate reth_consensus

Source
Expand description

Consensus protocol functions

Modules§

  • A consensus implementation that does nothing.
  • test_utilstest-utils
    test helpers for mocking consensus

Structs§

Enums§

Traits§

  • Helper trait to cast Arc<dyn FullConsensus> to Arc<dyn Consensus>
  • Helper trait to cast Arc<dyn Consensus> to Arc<dyn HeaderValidator>
  • Consensus is a protocol that chooses canonical chain.
  • Consensus implementation which knows full node primitives and is able to validation block’s execution outcome.
  • HeaderValidator is a protocol that validates headers and their relationships.