Crate reth_auto_seal_consensus

source ·
Expand description

A [Consensus] implementation for local testing purposes that automatically seals blocks.

The Mining task polls a MiningMode, and will return a list of transactions that are ready to be mined.

These downloaders poll the miner, assemble the block, and return transactions that are ready to be mined.

Structs§

  • Builder type for configuring the setup
  • A download client that polls the miner for transactions and assembles blocks to be returned in the download process.
  • A consensus implementation intended for local development and testing purposes.
  • A miner that’s supposed to create a new block every interval, mining all transactions that are ready at that time.
  • A Future that listens for new ready transactions and puts new blocks into storage
  • A miner that Listens for new ready transactions

Enums§