Skip to main content

Module block

Module block 

Source
Expand description

Block and block header.

The header is deliberately Zcash-shaped so Equihash ASIC/pool tooling can consume it: a 140-byte fixed region (version, prev hash, merkle root, a 32-byte reserved/state root, time, bits, 32-byte nonce) followed by the compactsize-prefixed Equihash solution. The Equihash puzzle input is the first 108 bytes; the nonce is the puzzle’s second input; the block hash is double-SHA256 of the full serialization.

Structs§

Block
BlockHeader