Skip to main content

Module serialize

Module serialize 

Source
Expand description

Serializes and deserializes transparent data.

Constants§

GENESIS_COINBASE_SCRIPT_SIG
The coinbase data for a genesis block.

Functions§

parse_coinbase_height 🔒
Parses the BIP-34 block-height prefix of a non-genesis coinbase script and returns the height along with the trailing miner data. Also enforces the coinbase script length bound, since every production parse path for coinbase inputs goes through this function.