Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Information about a peer. More...

#include <net.h>

+ Collaboration diagram for CNode:

Public Member Functions

SOCKET hSocket GUARDED_BY (cs_hSocket)
 
uint64_t nSendBytes GUARDED_BY (cs_vSend)
 
std::list< std::vector< unsigned char > > vSendMsg GUARDED_BY (cs_vSend)
 
std::list< CNetMessage > vProcessMsg GUARDED_BY (cs_vProcessMsg)
 
uint64_t nRecvBytes GUARDED_BY (cs_vRecv)
 
std::string strSubVer GUARDED_BY (cs_SubVer)
 
std::string strSubVer cleanSubVer GUARDED_BY (cs_SubVer)
 
std::unique_ptr< CBloomFilter > pfilter PT_GUARDED_BY (cs_filter)
 
int64_t nNextAddrSend GUARDED_BY (cs_sendProcessing)
 
int64_t nNextLocalAddrSend GUARDED_BY (cs_sendProcessing)
 
CRollingBloomFilter filterInventoryKnown GUARDED_BY (cs_inventory)
 
std::vector< uint256 > vInventoryBlockToSend GUARDED_BY (cs_inventory)
 
 CNode (NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string &addrNameIn="", bool fInboundIn=false)
 
 ~CNode ()
 
 CNode (const CNode &)=delete
 
CNodeoperator= (const CNode &)=delete
 
NodeId GetId () const
 
uint64_t GetLocalNonce () const
 
int GetMyStartingHeight () const
 
int GetRefCount () const
 
bool ReceiveMsgBytes (const char *pch, unsigned int nBytes, bool &complete)
 
void SetRecvVersion (int nVersionIn)
 
int GetRecvVersion () const
 
void SetSendVersion (int nVersionIn)
 
int GetSendVersion () const
 
CService GetAddrLocal () const
 
void SetAddrLocal (const CService &addrLocalIn)
 May not be called more than once. More...
 
CNodeAddRef ()
 
void Release ()
 
void AddAddressKnown (const CAddress &_addr)
 
void PushAddress (const CAddress &_addr, FastRandomContext &insecure_rand)
 
void AddInventoryKnown (const CInv &inv)
 
void AddInventoryKnown (const uint256 &hash)
 
void PushInventory (const CInv &inv)
 
void PushBlockHash (const uint256 &hash)
 
void CloseSocketDisconnect (CConnman *connman)
 
void copyStats (CNodeStats &stats)
 
ServiceFlags GetLocalServices () const
 
std::string GetAddrName () const
 
void MaybeSetAddrName (const std::string &addrNameIn)
 Sets the addrName only if it was not previously set. More...
 
std::string GetLogString () const
 

Public Attributes

std::atomic< ServiceFlagsnServices
 
size_t nSendSize
 
size_t nSendOffset
 
std::atomic< size_t > nSendMsgSize
 
CCriticalSection cs_vSend
 
CCriticalSection cs_hSocket
 
CCriticalSection cs_vRecv
 
CCriticalSection cs_vProcessMsg
 
size_t nProcessQueueSize
 
CCriticalSection cs_sendProcessing
 
std::deque< CInvvRecvGetData
 
std::atomic< int > nRecvVersion
 
std::atomic< int64_t > nLastSend
 
std::atomic< int64_t > nLastRecv
 
const int64_t nTimeConnected
 
std::atomic< int64_t > nTimeOffset
 
std::atomic< int64_t > nLastWarningTime
 
std::atomic< int64_t > nTimeFirstMessageReceived
 
std::atomic< bool > fFirstMessageIsMNAUTH
 
const CAddress addr
 
const CAddress addrBind
 
std::atomic< int > nNumWarningsSkipped
 
std::atomic< int > nVersion
 
CCriticalSection cs_SubVer
 
bool fWhitelisted
 
bool fFeeler
 
bool fOneShot
 
bool m_manual_connection
 
bool fClient
 
bool m_limited_node
 
const bool fInbound
 
std::atomic_bool fSuccessfullyConnected
 
std::atomic_bool fDisconnect
 
std::atomic< int64_t > nDisconnectLingerTime {0}
 
std::atomic_bool fSocketShutdown {false}
 
std::atomic_bool fOtherSideDisconnected { false }
 
bool fRelayTxes
 
bool fSentAddr
 
bool fMasternode
 
bool fMasternodeProbe
 
CSemaphoreGrant grantOutbound
 
CCriticalSection cs_filter
 
std::atomic< int > nRefCount
 
const uint64_t nKeyedNetGroup
 
std::atomic_bool fPauseRecv
 
std::atomic_bool fPauseSend
 
std::atomic_bool fHasRecvData
 
std::atomic_bool fCanSendData
 
uint256 hashContinue
 
std::atomic< int > nStartingHeight
 
std::vector< CAddressvAddrToSend
 
CRollingBloomFilter addrKnown
 
bool fGetAddr
 
std::set< uint256setKnown
 
std::set< uint256setInventoryTxToSend
 
std::vector< CInvvInventoryOtherToSend
 
CCriticalSection cs_inventory
 
std::chrono::microseconds nNextInvSend {0}
 
std::vector< uint256vBlockHashesToAnnounce
 
bool fSendMempool
 
std::atomic< int64_t > nLastBlockTime
 
std::atomic< int64_t > nLastTXTime
 
std::atomic< int64_t > timeLastMempoolReq
 
std::atomic< uint64_t > nPingNonceSent
 
std::atomic< int64_t > nPingUsecStart
 
std::atomic< int64_t > nPingUsecTime
 
std::atomic< int64_t > nMinPingUsecTime
 
std::atomic< bool > fPingQueued
 
std::atomic< bool > fSendDSQueue {false}
 
CCriticalSection cs_mnauth
 
uint256 sentMNAuthChallenge
 
uint256 receivedMNAuthChallenge
 
uint256 verifiedProRegTxHash
 
uint256 verifiedPubKeyHash
 
std::atomic< bool > fSendRecSigs {false}
 
std::atomic< bool > qwatch {false}
 
std::set< uint256orphan_work_set
 

Protected Member Functions

mapMsgCmdSize mapRecvBytesPerMsgCmd GUARDED_BY (cs_vRecv)
 

Protected Attributes

mapMsgCmdSize mapSendBytesPerMsgCmd
 

Private Member Functions

std::string addrName GUARDED_BY (cs_addrName)
 
CService addrLocal GUARDED_BY (cs_addrLocal)
 

Private Attributes

const NodeId id
 
const uint64_t nLocalHostNonce
 
const ServiceFlags nLocalServices
 
const int nMyStartingHeight
 
int nSendVersion
 
std::list< CNetMessagevRecvMsg
 
CCriticalSection cs_addrName
 
CCriticalSection cs_addrLocal
 

Friends

class CConnman
 

Detailed Description

Information about a peer.

Definition at line 800 of file net.h.

Constructor & Destructor Documentation

◆ CNode() [1/2]

◆ ~CNode()

CNode::~CNode ( )

Definition at line 3723 of file net.cpp.

References CloseSocket().

◆ CNode() [2/2]

CNode::CNode ( const CNode )
delete

Member Function Documentation

◆ AddAddressKnown()

void CNode::AddAddressKnown ( const CAddress _addr)
inline

Definition at line 1021 of file net.h.

References addrKnown, CService::GetKey(), and CRollingBloomFilter::insert().

Referenced by ProcessMessage().

◆ AddInventoryKnown() [1/2]

void CNode::AddInventoryKnown ( const CInv inv)
inline

Definition at line 1041 of file net.h.

References CInv::hash.

Referenced by ProcessMessage().

◆ AddInventoryKnown() [2/2]

void CNode::AddInventoryKnown ( const uint256 hash)
inline

Definition at line 1046 of file net.h.

References cs_inventory, and LOCK.

◆ AddRef()

◆ CloseSocketDisconnect()

◆ copyStats()

◆ GetAddrLocal()

CService CNode::GetAddrLocal ( ) const

Definition at line 736 of file net.cpp.

References cs_addrLocal, and LOCK.

Referenced by AdvertiseLocal(), copyStats(), and IsPeerAddrLocalGood().

◆ GetAddrName()

std::string CNode::GetAddrName ( ) const

Definition at line 724 of file net.cpp.

References cs_addrName, and LOCK.

Referenced by copyStats(), and PeerLogicValidation::InitializeNode().

◆ GetId()

NodeId CNode::GetId ( ) const
inline

Definition at line 973 of file net.h.

References id.

Referenced by CConnman::AcceptConnection(), llmq::CInstantSendManager::AskNodesForLockedTx(), llmq::CSigSharesManager::Cleanup(), CloseSocketDisconnect(), PeerLogicValidation::ConsiderEviction(), copyStats(), CConnman::DeleteNode(), CConnman::DisconnectNodes(), PeerLogicValidation::EvictExtraOutboundPeers(), CConnman::ForNode(), CConnman::InactivityCheck(), PeerLogicValidation::InitializeNode(), PeerLogicValidation::NewPoWValidBlock(), CMNAuth::NotifyMasternodeListChanged(), CConnman::OpenNetworkConnection(), ProcessGetBlockData(), ProcessHeadersMessage(), CMasternodeUtils::ProcessMasternodeConnections(), llmq::CQuorumBlockProcessor::ProcessMessage(), CMNAuth::ProcessMessage(), llmq::CDKGSessionManager::ProcessMessage(), CMasternodeSync::ProcessMessage(), CPrivateSendServer::ProcessMessage(), llmq::CChainLocksHandler::ProcessMessage(), llmq::CDKGSessionHandler::ProcessMessage(), CPrivateSendClientSession::ProcessMessage(), CPrivateSendClientManager::ProcessMessage(), CGovernanceManager::ProcessMessage(), llmq::CSigSharesManager::ProcessMessage(), ProcessMessage(), llmq::CSigSharesManager::ProcessMessageBatchedSigShares(), llmq::CSigSharesManager::ProcessMessageGetSigShares(), llmq::CInstantSendManager::ProcessMessageInstantSendLock(), llmq::CSigningManager::ProcessMessageRecoveredSig(), PeerLogicValidation::ProcessMessages(), llmq::CSigSharesManager::ProcessMessageSigSesAnn(), llmq::CSigSharesManager::ProcessMessageSigSharesInv(), CSporkManager::ProcessSpork(), CConnman::PushMessage(), CMNAuth::PushMNAUTH(), ReceiveMsgBytes(), RelayAddress(), CGovernanceManager::RequestGovernanceObject(), SendBlockTransactions(), PeerLogicValidation::SendMessages(), SendRejectsAndCheckIfBanned(), CGovernanceManager::SyncObjects(), and CGovernanceManager::SyncSingleObjVotes().

◆ GetLocalNonce()

uint64_t CNode::GetLocalNonce ( ) const
inline

Definition at line 977 of file net.h.

References nLocalHostNonce.

◆ GetLocalServices()

ServiceFlags CNode::GetLocalServices ( ) const
inline

Definition at line 1087 of file net.h.

References nLocalServices.

Referenced by AdvertiseLocal(), ProcessGetBlockData(), and ProcessMessage().

◆ GetLogString()

◆ GetMyStartingHeight()

int CNode::GetMyStartingHeight ( ) const
inline

Definition at line 981 of file net.h.

References nMyStartingHeight.

◆ GetRecvVersion()

int CNode::GetRecvVersion ( ) const
inline

Definition at line 997 of file net.h.

References nRecvVersion.

Referenced by PeerLogicValidation::ProcessMessages().

◆ GetRefCount()

int CNode::GetRefCount ( ) const
inline

Definition at line 985 of file net.h.

References nRefCount.

Referenced by CConnman::DisconnectNodes().

◆ GetSendVersion()

◆ GUARDED_BY() [1/14]

SOCKET hSocket CNode::GUARDED_BY ( cs_hSocket  )

◆ GUARDED_BY() [2/14]

uint64_t nSendBytes CNode::GUARDED_BY ( cs_vSend  )

◆ GUARDED_BY() [3/14]

std::list<std::vector<unsigned char> > vSendMsg CNode::GUARDED_BY ( cs_vSend  )

◆ GUARDED_BY() [4/14]

std::list<CNetMessage> vProcessMsg CNode::GUARDED_BY ( cs_vProcessMsg  )

◆ GUARDED_BY() [5/14]

uint64_t nRecvBytes CNode::GUARDED_BY ( cs_vRecv  )

◆ GUARDED_BY() [6/14]

std::string strSubVer CNode::GUARDED_BY ( cs_SubVer  )

◆ GUARDED_BY() [7/14]

std::string strSubVer cleanSubVer CNode::GUARDED_BY ( cs_SubVer  )

◆ GUARDED_BY() [8/14]

mapMsgCmdSize mapRecvBytesPerMsgCmd CNode::GUARDED_BY ( cs_vRecv  )
protected

◆ GUARDED_BY() [9/14]

int64_t nNextAddrSend CNode::GUARDED_BY ( cs_sendProcessing  )

◆ GUARDED_BY() [10/14]

int64_t nNextLocalAddrSend CNode::GUARDED_BY ( cs_sendProcessing  )

◆ GUARDED_BY() [11/14]

CRollingBloomFilter filterInventoryKnown CNode::GUARDED_BY ( cs_inventory  )

◆ GUARDED_BY() [12/14]

std::vector<uint256> vInventoryBlockToSend CNode::GUARDED_BY ( cs_inventory  )

◆ GUARDED_BY() [13/14]

std::string addrName CNode::GUARDED_BY ( cs_addrName  )
private

◆ GUARDED_BY() [14/14]

CService addrLocal CNode::GUARDED_BY ( cs_addrLocal  )
private

◆ MaybeSetAddrName()

void CNode::MaybeSetAddrName ( const std::string &  addrNameIn)

Sets the addrName only if it was not previously set.

Definition at line 729 of file net.cpp.

References cs_addrName, and LOCK.

Referenced by CConnman::ConnectNode().

◆ operator=()

CNode& CNode::operator= ( const CNode )
delete

◆ PT_GUARDED_BY()

std::unique_ptr<CBloomFilter> pfilter CNode::PT_GUARDED_BY ( cs_filter  )

◆ PushAddress()

void CNode::PushAddress ( const CAddress _addr,
FastRandomContext insecure_rand 
)
inline

◆ PushBlockHash()

void CNode::PushBlockHash ( const uint256 hash)
inline

Definition at line 1077 of file net.h.

References cs_inventory, LOCK, and vBlockHashesToAnnounce.

◆ PushInventory()

◆ ReceiveMsgBytes()

◆ Release()

void CNode::Release ( )
inline

◆ SetAddrLocal()

void CNode::SetAddrLocal ( const CService addrLocalIn)

May not be called more than once.

Definition at line 741 of file net.cpp.

References cs_addrLocal, error(), LOCK, and CService::ToString().

Referenced by ProcessMessage().

◆ SetRecvVersion()

void CNode::SetRecvVersion ( int  nVersionIn)
inline

Definition at line 993 of file net.h.

References nRecvVersion.

Referenced by ProcessMessage().

◆ SetSendVersion()

void CNode::SetSendVersion ( int  nVersionIn)

Definition at line 873 of file net.cpp.

References error(), and nSendVersion.

Referenced by ProcessMessage().

Friends And Related Function Documentation

◆ CConnman

friend class CConnman
friend

Definition at line 802 of file net.h.

Member Data Documentation

◆ addr

◆ addrBind

const CAddress CNode::addrBind

Definition at line 836 of file net.h.

Referenced by copyStats().

◆ addrKnown

CRollingBloomFilter CNode::addrKnown

Definition at line 891 of file net.h.

Referenced by AddAddressKnown(), PushAddress(), and PeerLogicValidation::SendMessages().

◆ cs_addrLocal

CCriticalSection CNode::cs_addrLocal
mutableprivate

Definition at line 970 of file net.h.

Referenced by GetAddrLocal(), and SetAddrLocal().

◆ cs_addrName

CCriticalSection CNode::cs_addrName
mutableprivate

Definition at line 965 of file net.h.

Referenced by GetAddrName(), and MaybeSetAddrName().

◆ cs_filter

◆ cs_hSocket

◆ cs_inventory

◆ cs_mnauth

◆ cs_sendProcessing

CCriticalSection CNode::cs_sendProcessing

Definition at line 820 of file net.h.

◆ cs_SubVer

CCriticalSection CNode::cs_SubVer

Definition at line 844 of file net.h.

Referenced by copyStats(), and ProcessMessage().

◆ cs_vProcessMsg

CCriticalSection CNode::cs_vProcessMsg

Definition at line 816 of file net.h.

Referenced by PeerLogicValidation::ProcessMessages(), and CConnman::SocketRecvData().

◆ cs_vRecv

CCriticalSection CNode::cs_vRecv

Definition at line 814 of file net.h.

Referenced by copyStats(), and ReceiveMsgBytes().

◆ cs_vSend

CCriticalSection CNode::cs_vSend

Definition at line 812 of file net.h.

Referenced by copyStats(), CConnman::DisconnectNodes(), and CConnman::PushMessage().

◆ fCanSendData

std::atomic_bool CNode::fCanSendData

Definition at line 878 of file net.h.

Referenced by CloseSocketDisconnect(), and CNode().

◆ fClient

bool CNode::fClient

Definition at line 849 of file net.h.

Referenced by CNode(), ProcessMessage(), and PeerLogicValidation::SendMessages().

◆ fDisconnect

◆ fFeeler

◆ fFirstMessageIsMNAUTH

std::atomic<bool> CNode::fFirstMessageIsMNAUTH

Definition at line 832 of file net.h.

Referenced by ProcessMessage().

◆ fGetAddr

bool CNode::fGetAddr

Definition at line 892 of file net.h.

Referenced by CNode(), and ProcessMessage().

◆ fHasRecvData

std::atomic_bool CNode::fHasRecvData

Definition at line 877 of file net.h.

Referenced by CloseSocketDisconnect(), CNode(), and CConnman::SocketRecvData().

◆ fInbound

◆ fMasternode

◆ fMasternodeProbe

◆ fOneShot

◆ fOtherSideDisconnected

std::atomic_bool CNode::fOtherSideDisconnected { false }

Definition at line 856 of file net.h.

Referenced by CConnman::DisconnectNodes(), and CConnman::SocketRecvData().

◆ fPauseRecv

std::atomic_bool CNode::fPauseRecv

Definition at line 874 of file net.h.

Referenced by CNode(), PeerLogicValidation::ProcessMessages(), and CConnman::SocketRecvData().

◆ fPauseSend

std::atomic_bool CNode::fPauseSend

◆ fPingQueued

std::atomic<bool> CNode::fPingQueued

Definition at line 932 of file net.h.

Referenced by CNode(), ping(), and PeerLogicValidation::SendMessages().

◆ fRelayTxes

bool CNode::fRelayTxes

Definition at line 861 of file net.h.

Referenced by CNode(), ProcessMessage(), and PeerLogicValidation::SendMessages().

◆ fSendDSQueue

std::atomic<bool> CNode::fSendDSQueue {false}

Definition at line 935 of file net.h.

Referenced by ProcessMessage(), and CPrivateSendQueue::Relay().

◆ fSendMempool

bool CNode::fSendMempool

Definition at line 914 of file net.h.

Referenced by CNode(), ProcessMessage(), and PeerLogicValidation::SendMessages().

◆ fSendRecSigs

std::atomic<bool> CNode::fSendRecSigs {false}

Definition at line 945 of file net.h.

Referenced by ProcessMessage().

◆ fSentAddr

bool CNode::fSentAddr

Definition at line 862 of file net.h.

Referenced by CNode(), and ProcessMessage().

◆ fSocketShutdown

std::atomic_bool CNode::fSocketShutdown {false}

Definition at line 855 of file net.h.

Referenced by CConnman::DisconnectNodes().

◆ fSuccessfullyConnected

std::atomic_bool CNode::fSuccessfullyConnected

◆ fWhitelisted

◆ grantOutbound

CSemaphoreGrant CNode::grantOutbound

Definition at line 867 of file net.h.

Referenced by CConnman::DisconnectNodes(), and CConnman::OpenNetworkConnection().

◆ hashContinue

uint256 CNode::hashContinue

Definition at line 886 of file net.h.

Referenced by CNode(), ProcessGetBlockData(), and ProcessMessage().

◆ id

const NodeId CNode::id
private

Definition at line 957 of file net.h.

Referenced by GetId(), and PushInventory().

◆ m_limited_node

bool CNode::m_limited_node

Definition at line 850 of file net.h.

Referenced by CNode(), ProcessMessage(), and PeerLogicValidation::SendMessages().

◆ m_manual_connection

◆ mapSendBytesPerMsgCmd

mapMsgCmdSize CNode::mapSendBytesPerMsgCmd
protected

Definition at line 882 of file net.h.

Referenced by copyStats(), and CConnman::PushMessage().

◆ nDisconnectLingerTime

std::atomic<int64_t> CNode::nDisconnectLingerTime {0}

Definition at line 854 of file net.h.

Referenced by CConnman::DisconnectNodes().

◆ nKeyedNetGroup

const uint64_t CNode::nKeyedNetGroup

Definition at line 872 of file net.h.

◆ nLastBlockTime

std::atomic<int64_t> CNode::nLastBlockTime

Definition at line 917 of file net.h.

Referenced by CNode(), and ProcessMessage().

◆ nLastRecv

std::atomic<int64_t> CNode::nLastRecv

Definition at line 827 of file net.h.

Referenced by CNode(), copyStats(), CConnman::InactivityCheck(), and ReceiveMsgBytes().

◆ nLastSend

std::atomic<int64_t> CNode::nLastSend

Definition at line 826 of file net.h.

Referenced by CNode(), copyStats(), and CConnman::InactivityCheck().

◆ nLastTXTime

std::atomic<int64_t> CNode::nLastTXTime

Definition at line 918 of file net.h.

Referenced by CNode(), and ProcessMessage().

◆ nLastWarningTime

std::atomic<int64_t> CNode::nLastWarningTime

Definition at line 830 of file net.h.

Referenced by CNode().

◆ nLocalHostNonce

const uint64_t CNode::nLocalHostNonce
private

Definition at line 958 of file net.h.

Referenced by GetLocalNonce().

◆ nLocalServices

const ServiceFlags CNode::nLocalServices
private

Definition at line 960 of file net.h.

Referenced by GetLocalServices().

◆ nMinPingUsecTime

std::atomic<int64_t> CNode::nMinPingUsecTime

Definition at line 930 of file net.h.

Referenced by CNode(), copyStats(), and ProcessMessage().

◆ nMyStartingHeight

const int CNode::nMyStartingHeight
private

Definition at line 961 of file net.h.

Referenced by GetMyStartingHeight().

◆ nNextInvSend

std::chrono::microseconds CNode::nNextInvSend {0}

Definition at line 909 of file net.h.

Referenced by PeerLogicValidation::SendMessages().

◆ nNumWarningsSkipped

std::atomic<int> CNode::nNumWarningsSkipped

Definition at line 837 of file net.h.

Referenced by CNode().

◆ nPingNonceSent

std::atomic<uint64_t> CNode::nPingNonceSent

◆ nPingUsecStart

std::atomic<int64_t> CNode::nPingUsecStart

◆ nPingUsecTime

std::atomic<int64_t> CNode::nPingUsecTime

Definition at line 928 of file net.h.

Referenced by CNode(), copyStats(), and ProcessMessage().

◆ nProcessQueueSize

size_t CNode::nProcessQueueSize

Definition at line 818 of file net.h.

Referenced by CNode(), PeerLogicValidation::ProcessMessages(), and CConnman::SocketRecvData().

◆ nRecvVersion

std::atomic<int> CNode::nRecvVersion

Definition at line 824 of file net.h.

Referenced by CNode(), GetRecvVersion(), and SetRecvVersion().

◆ nRefCount

std::atomic<int> CNode::nRefCount

Definition at line 870 of file net.h.

Referenced by AddRef(), CNode(), GetRefCount(), and Release().

◆ nSendMsgSize

std::atomic<size_t> CNode::nSendMsgSize

Definition at line 811 of file net.h.

Referenced by CNode(), CConnman::DisconnectNodes(), and CConnman::PushMessage().

◆ nSendOffset

size_t CNode::nSendOffset

Definition at line 808 of file net.h.

Referenced by CNode().

◆ nSendSize

size_t CNode::nSendSize

Definition at line 807 of file net.h.

Referenced by CNode(), and CConnman::PushMessage().

◆ nSendVersion

int CNode::nSendVersion
private

Definition at line 962 of file net.h.

Referenced by GetSendVersion(), and SetSendVersion().

◆ nServices

std::atomic<ServiceFlags> CNode::nServices

Definition at line 805 of file net.h.

Referenced by CNode(), copyStats(), CMNAuth::ProcessMessage(), and ProcessMessage().

◆ nStartingHeight

std::atomic<int> CNode::nStartingHeight

◆ nTimeConnected

◆ nTimeFirstMessageReceived

std::atomic<int64_t> CNode::nTimeFirstMessageReceived

Definition at line 831 of file net.h.

Referenced by ProcessMessage().

◆ nTimeOffset

std::atomic<int64_t> CNode::nTimeOffset

Definition at line 829 of file net.h.

Referenced by CNode(), copyStats(), and ProcessMessage().

◆ nVersion

◆ orphan_work_set

std::set<uint256> CNode::orphan_work_set

Definition at line 949 of file net.h.

Referenced by ProcessMessage(), and PeerLogicValidation::ProcessMessages().

◆ qwatch

std::atomic<bool> CNode::qwatch {false}

◆ receivedMNAuthChallenge

uint256 CNode::receivedMNAuthChallenge

Definition at line 940 of file net.h.

Referenced by ProcessMessage(), and CMNAuth::PushMNAUTH().

◆ sentMNAuthChallenge

uint256 CNode::sentMNAuthChallenge

Definition at line 939 of file net.h.

Referenced by CMNAuth::ProcessMessage().

◆ setInventoryTxToSend

std::set<uint256> CNode::setInventoryTxToSend

Definition at line 901 of file net.h.

Referenced by PushInventory(), and PeerLogicValidation::SendMessages().

◆ setKnown

std::set<uint256> CNode::setKnown

Definition at line 893 of file net.h.

◆ timeLastMempoolReq

std::atomic<int64_t> CNode::timeLastMempoolReq

Definition at line 921 of file net.h.

Referenced by CNode(), ProcessGetData(), and PeerLogicValidation::SendMessages().

◆ vAddrToSend

std::vector<CAddress> CNode::vAddrToSend

Definition at line 890 of file net.h.

Referenced by ProcessMessage(), PushAddress(), and PeerLogicValidation::SendMessages().

◆ vBlockHashesToAnnounce

std::vector<uint256> CNode::vBlockHashesToAnnounce

Definition at line 912 of file net.h.

Referenced by PushBlockHash(), and PeerLogicValidation::SendMessages().

◆ verifiedProRegTxHash

◆ verifiedPubKeyHash

uint256 CNode::verifiedPubKeyHash

Definition at line 942 of file net.h.

Referenced by CMNAuth::NotifyMasternodeListChanged(), and CMNAuth::ProcessMessage().

◆ vInventoryOtherToSend

std::vector<CInv> CNode::vInventoryOtherToSend

Definition at line 907 of file net.h.

Referenced by PushInventory(), and PeerLogicValidation::SendMessages().

◆ vRecvGetData

std::deque<CInv> CNode::vRecvGetData

Definition at line 822 of file net.h.

Referenced by ProcessGetData(), ProcessMessage(), and PeerLogicValidation::ProcessMessages().

◆ vRecvMsg

std::list<CNetMessage> CNode::vRecvMsg
private

Definition at line 963 of file net.h.

Referenced by ReceiveMsgBytes(), and CConnman::SocketRecvData().


The documentation for this class was generated from the following files:
Released under the MIT license