pub const MAX_COINBASE_HEIGHT_DATA_LEN: usize = 6;
Expand description

The maximum length of the encoded coinbase height.

§Consensus

The length of heightBytes MUST be in the range {1 .. 5}. Then the encoding is the length of heightBytes encoded as one byte, followed by heightBytes itself.

https://zips.z.cash/protocol/protocol.pdf#txnconsensus