Merge #7906: net: prerequisites for p2p encapsulation changes
5d5e7a0net: No need to export ConnectNode (Cory Fields)e9ed620net: No need to export DumpBanlist (Cory Fields)8b8f877net: make Ban/Unban/ClearBan functionality consistent (Cory Fields)cca221fnet: Drop CNodeRef for AttemptToEvictConnection (Cory Fields)563f375net: use the exposed GetNodeSignals() rather than g_signals directly (Cory Fields)9faa490net: remove unused set (Cory Fields)52cbce2net: don't import std namespace (Cory Fields)
This commit is contained in:
@@ -83,7 +83,6 @@ CNode* FindNode(const CNetAddr& ip);
|
||||
CNode* FindNode(const CSubNet& subNet);
|
||||
CNode* FindNode(const std::string& addrName);
|
||||
CNode* FindNode(const CService& ip);
|
||||
CNode* ConnectNode(CAddress addrConnect, const char *pszDest = NULL);
|
||||
bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOutbound = NULL, const char *strDest = NULL, bool fOneShot = false);
|
||||
void MapPort(bool fUseUPnP);
|
||||
unsigned short GetListenPort();
|
||||
@@ -808,8 +807,6 @@ public:
|
||||
bool Read(banmap_t& banSet);
|
||||
};
|
||||
|
||||
void DumpBanlist();
|
||||
|
||||
/** Return a timestamp in the future (in microseconds) for exponentially distributed events. */
|
||||
int64_t PoissonNextSend(int64_t nNow, int average_interval_seconds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user