CompactSize Unsigned Integer

This definition comes from the technical glossary.


A type of variable-length integer commonly used in the BitcoinV P2P protocol and BitcoinV serialized data structures.


  • CompactSize

Not To Be Confused With

  • VarInt (a data type BitcoinV Core uses for local data storage)

  • Compact (the data type used for nBits in the block header)