diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:46:26 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-25 16:46:26 +0200 |
commit | 174f2fb4daf4a0a2b817aa5da02c4495cf7e695d (patch) | |
tree | c7b79bad3a7685e2d53b6b89145afd7bb31a06f3 | |
parent | Merge pull request #2425 (diff) | |
parent | p2p: disable gray list housekeeping when an exclusive node is given (diff) | |
download | monero-174f2fb4daf4a0a2b817aa5da02c4495cf7e695d.tar.xz |
Merge pull request #2428
054054c9 p2p: disable gray list housekeeping when an exclusive node is given (moneromooo-monero)
-rw-r--r-- | src/p2p/net_node.inl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 7da123633..f1ca50f76 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -1916,6 +1916,8 @@ namespace nodetool template<class t_payload_net_handler> bool node_server<t_payload_net_handler>::gray_peerlist_housekeeping() { + if (!m_exclusive_peers.empty()) return true; + peerlist_entry pe = AUTO_VAL_INIT(pe); if (m_net_server.is_stop_signal_sent()) |