diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-03-27 12:30:06 -0700 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-03-27 12:30:06 -0700 |
commit | 3ed5e7ce9fa6fa0a079142f63bc1199828a0c3cb (patch) | |
tree | 1f6479c194fd7b76a67aa68520890fcbcf047173 /src/p2p/net_node.h | |
parent | Merge pull request #6290 (diff) | |
parent | p2p: do not add recently failed addresses to the peerlist (diff) | |
download | monero-3ed5e7ce9fa6fa0a079142f63bc1199828a0c3cb.tar.xz |
Merge pull request #6295
bcae95a2 p2p: do not add recently failed addresses to the peerlist (moneromooo-monero)
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 760d0b737..31d8aad3f 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -380,7 +380,7 @@ namespace nodetool bool try_ping(basic_node_data& node_data, p2p_connection_context& context, const t_callback &cb); bool try_get_support_flags(const p2p_connection_context& context, std::function<void(p2p_connection_context&, const uint32_t&)> f); bool make_expected_connections_count(network_zone& zone, PeerType peer_type, size_t expected_connections); - void cache_connect_fail_info(const epee::net_utils::network_address& addr); + void record_addr_failed(const epee::net_utils::network_address& addr); bool is_addr_recently_failed(const epee::net_utils::network_address& addr); bool is_priority_node(const epee::net_utils::network_address& na); std::set<std::string> get_seed_nodes(cryptonote::network_type nettype) const; |