Module zebra_chain::transparent::serialize
source · Expand description
Serializes and deserializes transparent data.
Constants§
- The coinbase data for a genesis block.
- The maximum length of the coinbase data.
- The maximum length of the encoded coinbase height.
- The minimum length of the coinbase data.
Functions§
- Split
data
into a block height and remaining miner-controlled coinbase data. - Encode
height
into a block height, as a prefix of the coinbase data. Does not writecoinbase_data
.