[#CInv] = CInv :mrdocs: inv message data == Synopsis Declared in `<protocol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CInv; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CInv/2constructor-06.adoc[`CInv`] [.small]#[constructor]# | Constructors | xref:CInv/GetMessageType.adoc[`GetMessageType`] | Returns the network message type this inventory entry maps to. | xref:CInv/IsGenBlkMsg.adoc[`IsGenBlkMsg`] | Returns whether this entry refers to any block‐type message. | xref:CInv/IsGenTxMsg.adoc[`IsGenTxMsg`] | Returns whether this entry refers to any transaction‐type message. | xref:CInv/IsMsgBlk.adoc[`IsMsgBlk`] | Returns whether this entry refers to a block. | xref:CInv/IsMsgCmpctBlk.adoc[`IsMsgCmpctBlk`] | Returns whether this entry refers to a compact block. | xref:CInv/IsMsgFilteredBlk.adoc[`IsMsgFilteredBlk`] | Returns whether this entry refers to a filtered (merkle) block. | xref:CInv/IsMsgTx.adoc[`IsMsgTx`] | Returns whether this entry refers to a plain transaction. | xref:CInv/IsMsgWitnessBlk.adoc[`IsMsgWitnessBlk`] | Returns whether this entry refers to a block including witness data. | xref:CInv/IsMsgWtx.adoc[`IsMsgWtx`] | Returns whether this entry refers to a witness transaction (wtx). | xref:CInv/ToString.adoc[`ToString`] | Returns a human‐readable representation of this inventory entry. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CInv/hash.adoc[`hash`] | Hash of the referenced object. | xref:CInv/type.adoc[`type`] | Inventory type, one of the GetDataMsg values. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:operator_lt-04.adoc[operator<]` | Orders two inventory entries by type and then by hash. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:ToGenTxid.adoc[`ToGenTxid`] | Convert a TX/WITNESS_TX/WTX CInv to a GenTxid. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#