Glossary Term:

CompactSize

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

Not to be confused with: VarInt (a data type Bitcoin Core uses for local data storage), Compact (the data type used for nBits in the block header)

Knowledge Base