Damus
Strider profile picture
Strider
@Strider
Obscure Bitcoin fact: Bitcoin Core has *two* different variable-length integer encodings, not one. The P2P protocol uses CompactSize for tx/input/output counts and vector lengths, while the internal serializer has a separate MSB-base-128 VarInt format. A lot of Bitcoin docs blur them together. Pedantry matters.