Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 649 Lines • ▼ Show 20 Lines | public: | ||||
// field is intended to be printed out, displayed to humans in various forms | // field is intended to be printed out, displayed to humans in various forms | ||||
// and so on. So we sanitize it and store the sanitized version in | // and so on. So we sanitize it and store the sanitized version in | ||||
// cleanSubVer. The original should be used when dealing with the network or | // cleanSubVer. The original should be used when dealing with the network or | ||||
// wire types and the cleaned string used when displayed or logged. | // wire types and the cleaned string used when displayed or logged. | ||||
std::string strSubVer GUARDED_BY(cs_SubVer), cleanSubVer | std::string strSubVer GUARDED_BY(cs_SubVer), cleanSubVer | ||||
GUARDED_BY(cs_SubVer); | GUARDED_BY(cs_SubVer); | ||||
// Used for both cleanSubVer and strSubVer. | // Used for both cleanSubVer and strSubVer. | ||||
CCriticalSection cs_SubVer; | CCriticalSection cs_SubVer; | ||||
// This peer is preferred for eviction. | |||||
bool m_prefer_evict{false}; | |||||
// This peer can bypass DoS banning. | // This peer can bypass DoS banning. | ||||
bool fWhitelisted{false}; | bool fWhitelisted{false}; | ||||
// If true this node is being used as a short lived feeler. | // If true this node is being used as a short lived feeler. | ||||
bool fFeeler{false}; | bool fFeeler{false}; | ||||
bool fOneShot{false}; | bool fOneShot{false}; | ||||
bool m_manual_connection{false}; | bool m_manual_connection{false}; | ||||
// set by version message | // set by version message | ||||
bool fClient{false}; | bool fClient{false}; | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |