diff options
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -844,28 +844,6 @@ public: } }; - template<typename Callable, typename CallableAfter> - void ForEachNodeThen(Callable&& pre, CallableAfter&& post) - { - LOCK(cs_vNodes); - for (auto&& node : vNodes) { - if (NodeFullyConnected(node)) - pre(node); - } - post(); - }; - - template<typename Callable, typename CallableAfter> - void ForEachNodeThen(Callable&& pre, CallableAfter&& post) const - { - LOCK(cs_vNodes); - for (auto&& node : vNodes) { - if (NodeFullyConnected(node)) - pre(node); - } - post(); - }; - // Addrman functions std::vector<CAddress> GetAddresses(size_t max_addresses, size_t max_pct); /** |