[#CInv-2constructor-0d] = xref:CInv.adoc[CInv]::CInv :relfileprefix: ../ :mrdocs: Constructs an inventory entry from a type and object hash. == Synopsis Declared in `<protocol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CInv( uint32_t typeIn, xref:uint256.adoc[uint256] const& hashIn); ---- == 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]#