← Back to Bitcoin Improvement Proposals
BIPinformational

BIP155: clarify variable integer format and change time to fixed 32 bit

* Clarify that by `VARINT` (variable integer) we mean [`CompactSize`](https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer), not `VARINT` (as in the source code) (huh!?). Relevant IRC discussion: http://www.erisian.com.au/bitcoin-core-dev/log-2020-07-27.html#l-94 * Change `time` to fixed 32 bits as that will work until year 2106, not just 2038 and takes 1 byte less than a variable integer format.

No reviews
vasild·Updated Oct 1, 2020·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

  • Clarify that by VARINT (variable integer) we mean CompactSize, not VARINT (as in the source code) (huh!?). Relevant IRC discussion: http://www.erisian.com.au/bitcoin-core-dev/log-2020-07-27.html#l-94

  • Change time to fixed 32 bits as that will work until year 2106, not just 2038 and takes 1 byte less than a variable integer format.

Discussion (0 threads)

Loading discussions...