Crate sp_consensus_pow
source ·Expand description
Primitives for Substrate Proof-of-Work (PoW) consensus.
Constants
The
ConsensusEngineId
of PoW.Traits
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.
API necessary for timestamp-based difficulty adjustment algorithms.
Define methods that total difficulty should implement.
Type Definitions
Type of seal.