Announcement: Inventory ("inv")
Notifies peers about the existence of some information (block or transaction).
Based on selected services in the
version message, inventory messages may not be sent.
If a bloom filter has been sent to this node via
filterload, a transaction inventory will only be sent for transactions that match the bloom filter.
|variable length integer
|The number of inventory items in this message.
inventory_count * 36 bytes
inventory_count inventory items
|The set of inventory items being transmitted. Up to 50,000 inventory items can be sent in a single inventory message.
NOTE: Since a block header is a relatively small data structure, and block propagation speed is an important network metric, a peer may send
headers messages in place of inventory messages when a block arrives. This behavior can be requested using the
Inventory Item Format
|Indicates what the following hash represents.
|The hash that identifies the item.
The type of the object that is available.
|Filtered Block (partial block with merkle proof)
|Xthin block (Bitcoin Unlimited)
|Graphene Block (Bitcoin Unlimited)
|Double Spend Proof - Beta