Merge #8560: Trivial: Fix two VarInt examples in serialize.h

7bd5ff4 Trivial: Fix two VarInt examples in serialize.h (Christian Barcenas)
This commit is contained in:
Pieter Wuille 2016-08-24 10:41:31 +02:00
commit f12d2b5a8a
No known key found for this signature in database
GPG Key ID: DBA1A67379A1A931

View File

@ -322,8 +322,8 @@ uint64_t ReadCompactSize(Stream& is)
* 0: [0x00] 256: [0x81 0x00]
* 1: [0x01] 16383: [0xFE 0x7F]
* 127: [0x7F] 16384: [0xFF 0x00]
* 128: [0x80 0x00] 16511: [0x80 0xFF 0x7F]
* 255: [0x80 0x7F] 65535: [0x82 0xFD 0x7F]
* 128: [0x80 0x00] 16511: [0xFF 0x7F]
* 255: [0x80 0x7F] 65535: [0x82 0xFE 0x7F]
* 2^32: [0x8E 0xFE 0xFE 0xFF 0x00]
*/