darkfid::task

Module miner

Source

Structs§

Functions§

  • Auxiliary function to generate next block in an atomic manner.
  • Auxiliary function to generate a Money::PoWReward transaction.
  • Async task to listen for incoming proposals and check if the best fork has changed.
  • mine 🔒
    Async task to generate and mine provided fork index next block, while listening for a stop signal.
  • Async task to generate and mine provided fork index next block.
  • Async task used for participating in the PoW block production.
  • Async task to wait for listener’s stop signal.