Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Attributes | Private Member Functions | Static Private Attributes | List of all members
CNode Class Reference

Information about a peer. More...

#include <net.h>

+ Collaboration diagram for CNode:

Public Member Functions

 CNode (SOCKET hSocketIn, CAddress addrIn, std::string addrNameIn="", bool fInboundIn=false)
 
 ~CNode ()
 
NodeId GetId () const
 
int GetRefCount ()
 
unsigned int GetTotalRecvSize ()
 
bool ReceiveMsgBytes (const char *pch, unsigned int nBytes)
 
void SetRecvVersion (int nVersionIn)
 
CNodeAddRef ()
 
void Release ()
 
void AddAddressKnown (const CAddress &addr)
 
void PushAddress (const CAddress &addr)
 
void AddInventoryKnown (const CInv &inv)
 
void PushInventory (const CInv &inv)
 
void AskFor (const CInv &inv)
 
void BeginMessage (const char *pszCommand) EXCLUSIVE_LOCK_FUNCTION(cs_vSend)
 
void AbortMessage () UNLOCK_FUNCTION(cs_vSend)
 
void EndMessage () UNLOCK_FUNCTION(cs_vSend)
 
void PushVersion ()
 
void PushMessage (const char *pszCommand)
 
template<typename T1 >
void PushMessage (const char *pszCommand, const T1 &a1)
 
template<typename T1 , typename T2 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2)
 
template<typename T1 , typename T2 , typename T3 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4, const T5 &a5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4, const T5 &a5, const T6 &a6)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4, const T5 &a5, const T6 &a6, const T7 &a7)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4, const T5 &a5, const T6 &a6, const T7 &a7, const T8 &a8)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void PushMessage (const char *pszCommand, const T1 &a1, const T2 &a2, const T3 &a3, const T4 &a4, const T5 &a5, const T6 &a6, const T7 &a7, const T8 &a8, const T9 &a9)
 
bool IsSubscribed (unsigned int nChannel)
 
void Subscribe (unsigned int nChannel, unsigned int nHops=0)
 
void CancelSubscribe (unsigned int nChannel)
 
void CloseSocketDisconnect ()
 
void Cleanup ()
 
void copyStats (CNodeStats &stats)
 

Static Public Member Functions

static void ClearBanned ()
 
static bool IsBanned (CNetAddr ip)
 
static bool Ban (const CNetAddr &ip)
 
static void RecordBytesRecv (uint64_t bytes)
 
static void RecordBytesSent (uint64_t bytes)
 
static uint64_t GetTotalBytesRecv ()
 
static uint64_t GetTotalBytesSent ()
 

Public Attributes

uint64_t nServices
 
SOCKET hSocket
 
CDataStream ssSend
 
size_t nSendSize
 
size_t nSendOffset
 
uint64_t nSendBytes
 
std::deque< CSerializeDatavSendMsg
 
CCriticalSection cs_vSend
 
std::deque< CInvvRecvGetData
 
std::deque< CNetMessagevRecvMsg
 
CCriticalSection cs_vRecvMsg
 
uint64_t nRecvBytes
 
int nRecvVersion
 
int64_t nLastSend
 
int64_t nLastRecv
 
int64_t nLastSendEmpty
 
int64_t nTimeConnected
 
CAddress addr
 
std::string addrName
 
CService addrLocal
 
int nVersion
 
std::string strSubVer
 
std::string cleanSubVer
 
bool fOneShot
 
bool fClient
 
bool fInbound
 
bool fNetworkNode
 
bool fSuccessfullyConnected
 
bool fDisconnect
 
bool fRelayTxes
 
CSemaphoreGrant grantOutbound
 
CCriticalSection cs_filter
 
CBloomFilterpfilter
 
int nRefCount
 
NodeId id
 
uint256 hashContinue
 
CBlockIndexpindexLastGetBlocksBegin
 
uint256 hashLastGetBlocksEnd
 
int nStartingHeight
 
bool fStartSync
 
std::vector< CAddressvAddrToSend
 
mruset< CAddresssetAddrKnown
 
bool fGetAddr
 
std::set< uint256setKnown
 
mruset< CInvsetInventoryKnown
 
std::vector< CInvvInventoryToSend
 
CCriticalSection cs_inventory
 
std::multimap< int64_t, CInvmapAskFor
 
uint64_t nPingNonceSent
 
int64_t nPingUsecStart
 
int64_t nPingUsecTime
 
bool fPingQueued
 

Protected Member Functions

void Fuzz (int nChance)
 

Static Protected Attributes

static std::map< CNetAddr, int64_t > setBanned
 
static CCriticalSection cs_setBanned
 

Private Member Functions

 CNode (const CNode &)
 
void operator= (const CNode &)
 

Static Private Attributes

static CCriticalSection cs_totalBytesRecv
 
static CCriticalSection cs_totalBytesSent
 
static uint64_t nTotalBytesRecv = 0
 
static uint64_t nTotalBytesSent = 0
 

Detailed Description

Information about a peer.

Definition at line 193 of file net.h.

Constructor & Destructor Documentation

CNode::CNode ( SOCKET  hSocketIn,
CAddress  addrIn,
std::string  addrNameIn = "",
bool  fInboundIn = false 
)
inline

Definition at line 276 of file net.h.

References GetId(), GetNodeSignals(), GetTime(), INIT_PROTO_VERSION, CNodeSignals::InitializeNode, INVALID_SOCKET, LOCK, mruset< T >::max_size(), PushVersion(), SendBufferSize(), and CService::ToStringIPPort().

+ Here is the call graph for this function:

CNode::~CNode ( )
inline

Definition at line 326 of file net.h.

References closesocket, CNodeSignals::FinalizeNode, GetId(), GetNodeSignals(), INVALID_SOCKET, and pfilter.

+ Here is the call graph for this function:

CNode::CNode ( const CNode )
private

Member Function Documentation

void CNode::AbortMessage ( )
inline

Definition at line 468 of file net.h.

References CDataStream::clear(), LEAVE_CRITICAL_SECTION, and LogPrint().

Referenced by EndMessage(), and PushMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::AddAddressKnown ( const CAddress addr)
inline

Definition at line 393 of file net.h.

References mruset< T >::insert().

Referenced by ProcessMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::AddInventoryKnown ( const CInv inv)
inline

Definition at line 408 of file net.h.

References mruset< T >::insert(), and LOCK.

Referenced by ProcessMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CNode* CNode::AddRef ( )
inline

Definition at line 380 of file net.h.

Referenced by ConnectNode(), ThreadMessageHandler(), and ThreadSocketHandler().

+ Here is the caller graph for this function:

void CNode::AskFor ( const CInv inv)
inline

Definition at line 425 of file net.h.

References DateTimeStrFormat(), limitedmap< K, V >::end(), limitedmap< K, V >::find(), GetTimeMicros(), limitedmap< K, V >::insert(), LogPrint(), MAPASKFOR_MAX_SZ, CInv::ToString(), and limitedmap< K, V >::update().

Referenced by ProcessMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CNode::Ban ( const CNetAddr ip)
static

Definition at line 564 of file net.cpp.

References GetArg(), GetTime(), and LOCK.

Referenced by SendMessages().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::BeginMessage ( const char *  pszCommand)
inline

Definition at line 459 of file net.h.

References ENTER_CRITICAL_SECTION, LogPrint(), and CDataStream::size().

Referenced by PushMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::CancelSubscribe ( unsigned int  nChannel)
void CNode::Cleanup ( )

Definition at line 517 of file net.cpp.

Referenced by ThreadSocketHandler().

+ Here is the caller graph for this function:

void CNode::ClearBanned ( )
static

Definition at line 543 of file net.cpp.

void CNode::CloseSocketDisconnect ( )

Definition at line 497 of file net.cpp.

References closesocket, INVALID_SOCKET, LogPrint(), and TRY_LOCK.

Referenced by SocketSendData(), ThreadMessageHandler(), and ThreadSocketHandler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::copyStats ( CNodeStats stats)

Definition at line 576 of file net.cpp.

References CNodeStats::addrLocal, CNodeStats::dPingTime, CNodeStats::dPingWait, CNodeStats::fSyncNode, GetTimeMicros(), CNodeStats::nodeid, pnodeSync, and X.

Referenced by CopyNodeStats().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::EndMessage ( )
inline

Definition at line 478 of file net.h.

References AbortMessage(), CDataStream::begin(), CDataStream::end(), Fuzz(), CDataStream::GetAndClear(), GetArg(), GetRand(), Hash(), LEAVE_CRITICAL_SECTION, LogPrint(), mapArgs, memcpy(), CDataStream::size(), and SocketSendData().

Referenced by PushMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::Fuzz ( int  nChance)
protected

Definition at line 1870 of file net.cpp.

References GetRand().

Referenced by EndMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

NodeId CNode::GetId ( ) const
inline

Definition at line 350 of file net.h.

References id.

Referenced by CNode(), ProcessMessage(), SendMessages(), and ~CNode().

+ Here is the caller graph for this function:

int CNode::GetRefCount ( )
inline

Definition at line 354 of file net.h.

References nRefCount.

Referenced by ThreadSocketHandler().

+ Here is the caller graph for this function:

uint64_t CNode::GetTotalBytesRecv ( )
static

Definition at line 1858 of file net.cpp.

References LOCK.

Referenced by getnettotals(), and ClientModel::getTotalBytesRecv().

+ Here is the caller graph for this function:

uint64_t CNode::GetTotalBytesSent ( )
static

Definition at line 1864 of file net.cpp.

References LOCK.

Referenced by getnettotals(), and ClientModel::getTotalBytesSent().

+ Here is the caller graph for this function:

unsigned int CNode::GetTotalRecvSize ( )
inline

Definition at line 361 of file net.h.

References CDataStream::size(), and CNetMessage::vRecv.

Referenced by ThreadSocketHandler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CNode::IsBanned ( CNetAddr  ip)
static

Definition at line 548 of file net.cpp.

References GetTime(), and LOCK.

Referenced by OpenNetworkConnection(), and ThreadSocketHandler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CNode::IsSubscribed ( unsigned int  nChannel)
void CNode::operator= ( const CNode )
private
void CNode::PushAddress ( const CAddress addr)
inline

Definition at line 398 of file net.h.

References mruset< T >::count(), and CNetAddr::IsValid().

Referenced by AdvertizeLocal(), ProcessMessage(), and SendMessages().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::PushInventory ( const CInv inv)
inline

Definition at line 416 of file net.h.

References mruset< T >::count(), and LOCK.

Referenced by AcceptBlock(), ProcessMessage(), and RelayTransaction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::PushMessage ( const char *  pszCommand)
inline

Definition at line 522 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

Referenced by ProcessGetData(), ProcessMessage(), ProcessMessages(), PushGetBlocks(), CAlert::RelayTo(), and SendMessages().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename T1 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1 
)
inline

Definition at line 537 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2 
)
inline

Definition at line 553 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3 
)
inline

Definition at line 569 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4 
)
inline

Definition at line 585 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4,
const T5 &  a5 
)
inline

Definition at line 601 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4,
const T5 &  a5,
const T6 &  a6 
)
inline

Definition at line 617 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4,
const T5 &  a5,
const T6 &  a6,
const T7 &  a7 
)
inline

Definition at line 633 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4,
const T5 &  a5,
const T6 &  a6,
const T7 &  a7,
const T8 &  a8 
)
inline

Definition at line 649 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 >
void CNode::PushMessage ( const char *  pszCommand,
const T1 &  a1,
const T2 &  a2,
const T3 &  a3,
const T4 &  a4,
const T5 &  a5,
const T6 &  a6,
const T7 &  a7,
const T8 &  a8,
const T9 &  a9 
)
inline

Definition at line 665 of file net.h.

References AbortMessage(), BeginMessage(), and EndMessage().

+ Here is the call graph for this function:

void CNode::PushVersion ( )

when NTP implemented, change to just nTime = GetAdjustedTime()

Definition at line 522 of file net.cpp.

References CLIENT_NAME, CLIENT_VERSION, FormatSubVersion(), GetAdjustedTime(), CNodeSignals::GetHeight, GetLocalAddress(), GetTime(), IsProxy(), LogPrint(), nLocalHostNonce, nLocalServices, PROTOCOL_VERSION, and CService::ToString().

Referenced by CNode(), and ProcessMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CNode::ReceiveMsgBytes ( const char *  pch,
unsigned int  nBytes 
)

Definition at line 613 of file net.cpp.

References CNetMessage::in_data, CNetMessage::readData(), CNetMessage::readHeader(), and SER_NETWORK.

Referenced by ThreadSocketHandler().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::RecordBytesRecv ( uint64_t  bytes)
static

Definition at line 1846 of file net.cpp.

References LOCK.

Referenced by ThreadSocketHandler().

+ Here is the caller graph for this function:

void CNode::RecordBytesSent ( uint64_t  bytes)
static

Definition at line 1852 of file net.cpp.

References LOCK.

Referenced by SocketSendData().

+ Here is the caller graph for this function:

void CNode::Release ( )
inline

Definition at line 386 of file net.h.

Referenced by ThreadMessageHandler(), and ThreadSocketHandler().

+ Here is the caller graph for this function:

void CNode::SetRecvVersion ( int  nVersionIn)
inline

Definition at line 373 of file net.h.

References CNetMessage::SetVersion().

Referenced by ProcessMessage().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CNode::Subscribe ( unsigned int  nChannel,
unsigned int  nHops = 0 
)

Member Data Documentation

CAddress CNode::addr
CService CNode::addrLocal

Definition at line 218 of file net.h.

Referenced by AdvertizeLocal(), and ProcessMessage().

std::string CNode::addrName

Definition at line 217 of file net.h.

Referenced by FindNode().

std::string CNode::cleanSubVer

Definition at line 224 of file net.h.

Referenced by ProcessMessage().

CCriticalSection CNode::cs_filter

Definition at line 237 of file net.h.

Referenced by ProcessGetData(), ProcessMessage(), and RelayTransaction().

CCriticalSection CNode::cs_inventory

Definition at line 267 of file net.h.

Referenced by SendMessages(), and ThreadSocketHandler().

CCriticalSection CNode::cs_setBanned
staticprotected

Definition at line 246 of file net.h.

CCriticalSection CNode::cs_totalBytesRecv
staticprivate

Definition at line 340 of file net.h.

CCriticalSection CNode::cs_totalBytesSent
staticprivate

Definition at line 341 of file net.h.

CCriticalSection CNode::cs_vRecvMsg

Definition at line 208 of file net.h.

Referenced by ThreadMessageHandler(), and ThreadSocketHandler().

CCriticalSection CNode::cs_vSend

Definition at line 204 of file net.h.

Referenced by ThreadMessageHandler(), and ThreadSocketHandler().

bool CNode::fClient

Definition at line 226 of file net.h.

Referenced by ProcessMessage(), and StartSync().

bool CNode::fDisconnect
bool CNode::fGetAddr

Definition at line 261 of file net.h.

Referenced by ProcessMessage().

bool CNode::fInbound
bool CNode::fNetworkNode

Definition at line 228 of file net.h.

Referenced by OpenNetworkConnection(), ProcessMessage(), and ThreadSocketHandler().

bool CNode::fOneShot

Definition at line 225 of file net.h.

Referenced by OpenNetworkConnection(), ProcessMessage(), and StartSync().

bool CNode::fPingQueued

Definition at line 274 of file net.h.

Referenced by ping(), and SendMessages().

bool CNode::fRelayTxes

Definition at line 235 of file net.h.

Referenced by ProcessMessage(), and RelayTransaction().

bool CNode::fStartSync

Definition at line 256 of file net.h.

Referenced by SendMessages(), and StartSync().

bool CNode::fSuccessfullyConnected

Definition at line 229 of file net.h.

Referenced by AdvertizeLocal(), ProcessMessage(), and StartSync().

CSemaphoreGrant CNode::grantOutbound

Definition at line 236 of file net.h.

Referenced by OpenNetworkConnection(), and ThreadSocketHandler().

uint256 CNode::hashContinue

Definition at line 252 of file net.h.

Referenced by ProcessGetData(), and ProcessMessage().

uint256 CNode::hashLastGetBlocksEnd

Definition at line 254 of file net.h.

Referenced by PushGetBlocks().

SOCKET CNode::hSocket

Definition at line 198 of file net.h.

Referenced by SocketSendData(), ThreadSocketHandler(), and CNetCleanup::~CNetCleanup().

NodeId CNode::id

Definition at line 240 of file net.h.

Referenced by GetId().

std::multimap<int64_t, CInv> CNode::mapAskFor

Definition at line 268 of file net.h.

Referenced by SendMessages().

int64_t CNode::nLastRecv

Definition at line 213 of file net.h.

Referenced by NodeSyncScore(), and ThreadSocketHandler().

int64_t CNode::nLastSend

Definition at line 212 of file net.h.

Referenced by SendMessages(), SocketSendData(), and ThreadSocketHandler().

int64_t CNode::nLastSendEmpty

Definition at line 214 of file net.h.

Referenced by ThreadSocketHandler().

uint64_t CNode::nPingNonceSent

Definition at line 271 of file net.h.

Referenced by ProcessMessage(), and SendMessages().

int64_t CNode::nPingUsecStart

Definition at line 272 of file net.h.

Referenced by ProcessMessage(), and SendMessages().

int64_t CNode::nPingUsecTime

Definition at line 273 of file net.h.

Referenced by ProcessMessage().

uint64_t CNode::nRecvBytes

Definition at line 209 of file net.h.

Referenced by ThreadSocketHandler().

int CNode::nRecvVersion

Definition at line 210 of file net.h.

int CNode::nRefCount

Definition at line 239 of file net.h.

Referenced by GetRefCount().

uint64_t CNode::nSendBytes

Definition at line 202 of file net.h.

Referenced by SocketSendData().

size_t CNode::nSendOffset

Definition at line 201 of file net.h.

Referenced by SocketSendData().

size_t CNode::nSendSize
uint64_t CNode::nServices

Definition at line 197 of file net.h.

Referenced by ProcessMessage().

int CNode::nStartingHeight

Definition at line 255 of file net.h.

Referenced by AcceptBlock(), ProcessMessage(), and StartSync().

int64_t CNode::nTimeConnected

Definition at line 215 of file net.h.

Referenced by ConnectNode(), and ThreadSocketHandler().

uint64_t CNode::nTotalBytesRecv = 0
staticprivate

Definition at line 342 of file net.h.

uint64_t CNode::nTotalBytesSent = 0
staticprivate

Definition at line 343 of file net.h.

int CNode::nVersion

Definition at line 219 of file net.h.

Referenced by ProcessMessage(), CAlert::RelayTo(), SendMessages(), and StartSync().

CBloomFilter* CNode::pfilter

Definition at line 238 of file net.h.

Referenced by ProcessGetData(), ProcessMessage(), RelayTransaction(), and ~CNode().

CBlockIndex* CNode::pindexLastGetBlocksBegin

Definition at line 253 of file net.h.

Referenced by PushGetBlocks().

mruset<CAddress> CNode::setAddrKnown

Definition at line 260 of file net.h.

Referenced by SendMessages().

std::map< CNetAddr, int64_t > CNode::setBanned
staticprotected

Definition at line 245 of file net.h.

mruset<CInv> CNode::setInventoryKnown

Definition at line 265 of file net.h.

Referenced by ProcessGetData(), and SendMessages().

std::set<uint256> CNode::setKnown

Definition at line 262 of file net.h.

Referenced by ProcessMessage(), and CAlert::RelayTo().

CDataStream CNode::ssSend

Definition at line 199 of file net.h.

Referenced by ProcessMessage(), and ThreadSocketHandler().

std::string CNode::strSubVer

Definition at line 224 of file net.h.

Referenced by ProcessMessage(), and CAlert::RelayTo().

std::vector<CAddress> CNode::vAddrToSend

Definition at line 259 of file net.h.

Referenced by ProcessMessage(), and SendMessages().

std::vector<CInv> CNode::vInventoryToSend

Definition at line 266 of file net.h.

Referenced by SendMessages().

std::deque<CInv> CNode::vRecvGetData

Definition at line 206 of file net.h.

Referenced by ProcessGetData(), ProcessMessage(), ProcessMessages(), and ThreadMessageHandler().

std::deque<CNetMessage> CNode::vRecvMsg

Definition at line 207 of file net.h.

Referenced by ProcessMessages(), ThreadMessageHandler(), and ThreadSocketHandler().

std::deque<CSerializeData> CNode::vSendMsg

Definition at line 203 of file net.h.

Referenced by SendMessages(), SocketSendData(), and ThreadSocketHandler().


The documentation for this class was generated from the following files: