Commit Graph
4 Commits
Author SHA1 Message Date
Vasil Dimov 87ef5aaa7c BIP155: clarify that "services" uses CompactSize
The Bitcoin Core source code has `VARINT` type which is different than
the "variable integer" format used all over the P2P protocol and also
for the "services" field in this BIP. The latter is called `CompactSize`
in some BIPs and also in the Bitcoin Core source code, thus use the word
`CompactSize` to refer to it and link to its documentation.
2020-09-29 11:12:43 +02:00
Vasil Dimov 2c7630ec61 BIP155: change "time" to fixed 32 bit unsigned
32 bit unsigned can represent time up to year 2106
(32 bit signed is limited to just 2038).

So, we don't need to have "time" encoded as variable integer which would
take 5 bytes instead of 4.
2020-08-13 11:53:30 +02:00
Wladimir J. van der Laan e993478060 bip155: Fix comments URL 2019-07-18 00:33:26 +02:00
Wladimir J. van der Laan 34534b5ee1 bip155: fill in BIP number 2019-07-18 00:17:55 +02:00