Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | private: | ||||
CNode *FindNode(const CNetAddr &ip); | CNode *FindNode(const CNetAddr &ip); | ||||
CNode *FindNode(const CSubNet &subNet); | CNode *FindNode(const CSubNet &subNet); | ||||
CNode *FindNode(const std::string &addrName); | CNode *FindNode(const std::string &addrName); | ||||
CNode *FindNode(const CService &addr); | CNode *FindNode(const CService &addr); | ||||
bool AttemptToEvictConnection(); | bool AttemptToEvictConnection(); | ||||
CNode *ConnectNode(CAddress addrConnect, const char *pszDest, | CNode *ConnectNode(CAddress addrConnect, const char *pszDest, | ||||
bool fCountFailure); | bool fCountFailure, bool manual_connection); | ||||
bool IsWhitelistedRange(const CNetAddr &addr); | bool IsWhitelistedRange(const CNetAddr &addr); | ||||
void DeleteNode(CNode *pnode); | void DeleteNode(CNode *pnode); | ||||
NodeId GetNewNodeId(); | NodeId GetNewNodeId(); | ||||
size_t SocketSendData(CNode *pnode) const; | size_t SocketSendData(CNode *pnode) const; | ||||
//! check is the banlist has unwritten changes | //! check is the banlist has unwritten changes | ||||
▲ Show 20 Lines • Show All 511 Lines • Show Last 20 Lines |