mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 20:49:37 +00:00
Merge pull request #2428
054054c9
p2p: disable gray list housekeeping when an exclusive node is given (moneromooo-monero)
This commit is contained in:
commit
174f2fb4da
1 changed files with 2 additions and 0 deletions
|
@ -1916,6 +1916,8 @@ namespace nodetool
|
||||||
template<class t_payload_net_handler>
|
template<class t_payload_net_handler>
|
||||||
bool node_server<t_payload_net_handler>::gray_peerlist_housekeeping()
|
bool node_server<t_payload_net_handler>::gray_peerlist_housekeeping()
|
||||||
{
|
{
|
||||||
|
if (!m_exclusive_peers.empty()) return true;
|
||||||
|
|
||||||
peerlist_entry pe = AUTO_VAL_INIT(pe);
|
peerlist_entry pe = AUTO_VAL_INIT(pe);
|
||||||
|
|
||||||
if (m_net_server.is_stop_signal_sent())
|
if (m_net_server.is_stop_signal_sent())
|
||||||
|
|
Loading…
Reference in a new issue