[#CInv-2constructor-06] = xref:CInv.adoc[CInv]::CInv :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<protocol.h>` Constructs an inventory entry with an undefined type and null hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CInv/2constructor-0f.adoc[CInv](); ---- [.small]#xref:CInv/2constructor-0f.adoc[_» more..._]# Constructs an inventory entry from a type and object hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CInv/2constructor-0d.adoc[CInv]( uint32_t typeIn, xref:uint256.adoc[uint256] const& hashIn); ---- [.small]#xref:CInv/2constructor-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *typeIn* | The inventory type, one of the GetDataMsg values. | *hashIn* | The hash of the referenced object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#