CInv::CInv

Constructs an inventory entry from a type and object hash.

Synopsis

Declared in <protocol.h>

CInv(
    uint32_t typeIn,
    uint256 const& hashIn);

Parameters

NameDescription
typeInThe inventory type, one of the GetDataMsg values.
hashInThe hash of the referenced object.