CInv::CInv

Constructors

Synopses

Declared in <protocol.h>

Constructs an inventory entry with an undefined type and null hash.

CInv();
» more...

Constructs an inventory entry from a type and object hash.

CInv(
    uint32_t typeIn,
    uint256 const& hashIn);
» more...

Parameters

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