diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-01-30 12:44:08 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-01-30 12:48:43 +0100 |
commit | 36966a1c0e6415964008c679c1a01d9883486e87 (patch) | |
tree | 38605d1ae60dee2ff6943b4a2535a6c163164b85 /src/net.h | |
parent | d2c9e4d4229174225ad0c3ed9dc366324ed5dd3b (diff) | |
parent | 236618061a445d2cb11e722cfac5fdae5be26abb (diff) |
Merge #9626: Clean up a few CConnman cs_vNodes/CNode things
2366180 Do not add to vNodes until fOneShot/fFeeler/fAddNode have been set (Matt Corallo)
3c37dc4 Ensure cs_vNodes is held when using the return value from FindNode (Matt Corallo)
5be0190 Delete some unused (and broken) functions in CConnman (Matt Corallo)
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -243,8 +243,6 @@ public: post(); }; - void RelayTransaction(const CTransaction& tx); - // Addrman functions size_t GetAddressCount() const; void SetServices(const CService &addr, ServiceFlags nServices); @@ -286,10 +284,8 @@ public: size_t GetNodeCount(NumConnections num); void GetNodeStats(std::vector<CNodeStats>& vstats); - bool DisconnectAddress(const CNetAddr& addr); bool DisconnectNode(const std::string& node); bool DisconnectNode(NodeId id); - bool DisconnectSubnet(const CSubNet& subnet); unsigned int GetSendBufferSize() const; |