[#GetDataMsg]
= GetDataMsg
:mrdocs:

getdata &sol; inv message types&period; These numbers are defined by the protocol&period; When adding a new value, be sure to mention it in the respective BIP&period;

== Synopsis

Declared in `&lt;protocol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
enum GetDataMsg : uint32&lowbar;t;
----

== Members

[cols="1,4"]
|===
| Name| Description
| `UNDEFINED` 
| No inventory type set&period;
| `MSG&lowbar;TX` 
| Inventory is a transaction identified by its txid&period;
| `MSG&lowbar;BLOCK` 
| Inventory is a block&period;
| `MSG&lowbar;WTX` 
| Defined in BIP 339
| `MSG&lowbar;FILTERED&lowbar;BLOCK` 
| Defined in BIP37
| `MSG&lowbar;CMPCT&lowbar;BLOCK` 
| Defined in BIP152
| `MSG&lowbar;WITNESS&lowbar;BLOCK` 
| Defined in BIP144
| `MSG&lowbar;WITNESS&lowbar;TX` 
| Defined in BIP144
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
