Skip to main content

GENESIS_HASH

Constant GENESIS_HASH 

Source
pub const GENESIS_HASH: &str = "sha256:0000000000000000000000000000000000000000000000000000000000000000";
Expand description

Genesis hash for the first event in the hash chain.

Uses all-zeros — a valid SHA-256 representation that cannot collide with any real event hash. The first event has prev: GENESIS_HASH.