bips
bips copied to clipboard
Require canonical, minimum-length encoding of height.
As discussed in pull request https://github.com/bitcoin/bitcoin/pull/1764 -- consensus is that the block height encoding should be strictly specified, on the general principle that allowing non-canonical encodings are more likely to open up security holes or trigger implementation-specific bugs.