Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 944 Lines • ▼ Show 20 Lines | public: | ||||
Mutex cs_vRecv; | Mutex cs_vRecv; | ||||
RecursiveMutex cs_vProcessMsg; | RecursiveMutex cs_vProcessMsg; | ||||
std::list<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg); | std::list<CNetMessage> vProcessMsg GUARDED_BY(cs_vProcessMsg); | ||||
size_t nProcessQueueSize{0}; | size_t nProcessQueueSize{0}; | ||||
RecursiveMutex cs_sendProcessing; | RecursiveMutex cs_sendProcessing; | ||||
std::deque<CInv> vRecvGetData; | |||||
uint64_t nRecvBytes GUARDED_BY(cs_vRecv){0}; | uint64_t nRecvBytes GUARDED_BY(cs_vRecv){0}; | ||||
std::atomic<int64_t> nLastSend{0}; | std::atomic<int64_t> nLastSend{0}; | ||||
std::atomic<int64_t> nLastRecv{0}; | std::atomic<int64_t> nLastRecv{0}; | ||||
const int64_t nTimeConnected; | const int64_t nTimeConnected; | ||||
std::atomic<int64_t> nTimeOffset{0}; | std::atomic<int64_t> nTimeOffset{0}; | ||||
// Address of this peer | // Address of this peer | ||||
const CAddress addr; | const CAddress addr; | ||||
▲ Show 20 Lines • Show All 466 Lines • Show Last 20 Lines |