Bitcoin ABC 0.26.3
P2P Digital Currency
|
Inv(ventory) message data. More...
#include <protocol.h>
Public Member Functions | |
CInv () | |
CInv (uint32_t typeIn, const uint256 &hashIn) | |
SERIALIZE_METHODS (CInv, obj) | |
std::string | GetCommand () const |
std::string | ToString () const |
uint32_t | GetKind () const |
bool | IsMsgTx () const |
bool | IsMsgProof () const |
bool | IsMsgStakeContender () const |
bool | IsMsgBlk () const |
bool | IsMsgFilteredBlk () const |
bool | IsMsgCmpctBlk () const |
bool | IsGenBlkMsg () const |
Public Attributes | |
uint32_t | type |
uint256 | hash |
Friends | |
bool | operator< (const CInv &a, const CInv &b) |
Inv(ventory) message data.
Intended as non-ambiguous identifier of objects (eg. transactions, blocks) held by peers.
Definition at line 581 of file protocol.h.
|
inline |
Definition at line 586 of file protocol.h.
Definition at line 587 of file protocol.h.
std::string CInv::GetCommand | ( | ) | const |
Definition at line 216 of file protocol.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string CInv::ToString | ( | ) | const |
uint256 CInv::hash |
Definition at line 584 of file protocol.h.
uint32_t CInv::type |
Definition at line 583 of file protocol.h.