![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <protocol.h>
Public Member Functions | |
CInv () | |
CInv (int typeIn, const uint256 &hashIn) | |
CInv (const std::string &strType, const uint256 &hashIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
bool | IsKnownType () const |
const char * | GetCommand () const |
std::string | ToString () const |
Public Attributes | |
ADD_SERIALIZE_METHODS | |
int | type |
uint256 | hash |
Friends | |
bool | operator< (const CInv &a, const CInv &b) |
inv message data
Definition at line 314 of file protocol.h.
CInv::CInv | ( | ) |
Definition at line 221 of file protocol.cpp.
CInv::CInv | ( | int | typeIn, |
const uint256 & | hashIn | ||
) |
Definition at line 227 of file protocol.cpp.
CInv::CInv | ( | const std::string & | strType, |
const uint256 & | hashIn | ||
) |
Definition at line 233 of file protocol.cpp.
const char * CInv::GetCommand | ( | ) | const |
Definition at line 259 of file protocol.cpp.
Referenced by ProcessGetData(), and ToString().
bool CInv::IsKnownType | ( | ) | const |
Definition at line 254 of file protocol.cpp.
Referenced by GetCommand(), ProcessGetData(), and ProcessMessage().
|
inline |
Definition at line 324 of file protocol.h.
std::string CInv::ToString | ( | ) | const |
Definition at line 266 of file protocol.cpp.
Referenced by CNode::AskFor(), CGovernanceManager::ConfirmInventoryRequest(), ProcessGetData(), ProcessMessage(), CNode::PushInventory(), and SendMessages().
Definition at line 249 of file protocol.cpp.
CInv::ADD_SERIALIZE_METHODS |
Definition at line 321 of file protocol.h.
uint256 CInv::hash |
Definition at line 339 of file protocol.h.
Referenced by CNode::AddInventoryKnown(), CNode::AskFor(), CInv(), CGovernanceManager::ConfirmInventoryRequest(), operator<(), ProcessGetData(), ProcessMessage(), CNode::PushInventory(), SendMessages(), SerializationOp(), and ToString().
int CInv::type |
Definition at line 338 of file protocol.h.
Referenced by CInv(), CGovernanceManager::ConfirmInventoryRequest(), GetCommand(), IsKnownType(), operator<(), ProcessGetData(), ProcessMessage(), CNode::PushInventory(), SendMessages(), SerializationOp(), and ToString().