Crate ergo_nipopow
source ·Expand description
Ergo NiPoPoW implementation See FC 20 (published) version https://fc20.ifca.ai/preproceedings/74.pdf
Structs
- A set of utilities for working with NiPoPoW protocol.
- A structure representing NiPoPow proof as a persistent modifier.
- A verifier for PoPoW proofs. During its lifetime, it processes many proofs with the aim of deducing at any given point what is the best (sub)chain rooted at the specified genesis.
- PoPowHeader structure. Represents the block header and unpacked interlinks
Enums
NipopowProof
errors
Constants
- Prefix for Block Interlinks
Functions
- The “compact” format is an encoding of a whole number
N
using an unsigned 32 bit number. This number encodes a base-256 scientific notation representation ofN
(similar to a floating point format):