Expand description
Primitives for Substrate Proof-of-Work (PoW) consensus.
Constants§
- POW_
ENGINE_ ID - The
ConsensusEngineId
of PoW.
Traits§
- Difficulty
Api - 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.
- Timestamp
Api - API necessary for timestamp-based difficulty adjustment algorithms.
- Total
Difficulty - Define methods that total difficulty should implement.
Type Aliases§
- Seal
- Type of seal.