Bitcoin ABC 0.30.5
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.
|
inline |
Definition at line 587 of file protocol.h.
std::string CInv::GetCommand | ( | ) | const |
Definition at line 216 of file protocol.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 612 of file protocol.h.
|
inline |
|
inline |
|
inline |
Definition at line 604 of file protocol.h.
|
inline |
|
inline |
Definition at line 600 of file protocol.h.
|
inline |
Definition at line 589 of file protocol.h.
std::string CInv::ToString | ( | ) | const |
Definition at line 591 of file protocol.h.
uint256 CInv::hash |
Definition at line 584 of file protocol.h.
uint32_t CInv::type |
Definition at line 583 of file protocol.h.