referrerpolicy=no-referrer-when-downgrade

Crate sp_consensus_pow

Source
Expand description

Primitives for Substrate Proof-of-Work (PoW) consensus.

Constants§

POW_ENGINE_ID
The ConsensusEngineId of PoW.

Traits§

DifficultyApi
API for those chains that put their difficulty adjustment algorithm directly onto runtime. Note that while putting difficulty adjustment algorithm to runtime is safe, putting the PoW algorithm on runtime is not.
TimestampApi
API necessary for timestamp-based difficulty adjustment algorithms.
TotalDifficulty
Define methods that total difficulty should implement.

Type Aliases§

Seal
Type of seal.