Crate sc_consensus_manual_seal[−][src]
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
pub use self::consensus::ConsensusDataProvider;
pub use self::rpc::EngineCommand;
pub use self::rpc::CreatedBlock;
Modules
Extensions for manual seal to produce blocks valid for any runtime.
RPC interface for the ManualSeal
Engine.
Structs
params for block finalization.
Params required to start the manual sealing authorship task.
Params required to start the instant sealing authorship task.
params for sealing a new block
Enums
errors encountered by background block authorship task
Constants
The ConsensusEngineId
of Manual Seal.
max duration for creating a proposal in secs
Functions
finalizes a block in the backend with the given params.
Instantiate the import queue for the manual seal consensus engine.
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 manual seal engine.
seals a new block with the given params