referrerpolicy=no-referrer-when-downgrade

Crate sc_consensus_manual_seal

source ·
Expand description

A manual sealing engine: the engine listens for rpc calls to seal blocks and create forks. This is suitable for a testing environment.

Re-exports§

Modules§

  • Extensions for manual seal to produce blocks valid for any runtime.
  • RPC interface for the ManualSeal Engine.

Structs§

Enums§

  • errors encountered by background block authorship task

Constants§

Functions§

  • finalizes a block in the backend with the given params.
  • Instantiate the import queue for the manual seal consensus engine.
  • Creates a future for delayed finalization of manual sealed blocks.
  • runs the background authorship task for the instant seal engine. instant-seal creates a new block for every transaction imported into the transaction pool.
  • Runs the background authorship task for the instant seal engine. instant-seal creates a new block for every transaction imported into the transaction pool.
  • Creates the background authorship task for the manually seal engine.
  • seals a new block with the given params