mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07: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
@ -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 New Issue
Block a user