mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +00:00
This replaces the limited script number encoder previously used for block height with a version that matches the exact format generated by Bitcoin Core (which can include an additional byte for sign in some cases). With thanks to Kalpesh Parmar for pointing out that some blocks on the testnet have coinbase transactions with height encoded in 2 bytes.