aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-01-15 14:42:52 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-03-20 15:45:26 +0000
commitbcae95a22e802d2f91d4bf815b1c4662384a6faa (patch)
treeb9471a8bdcce0fd0aa7177c362cc2e209e8ecc0d /src/p2p/net_node.h
parentMerge pull request #6388 (diff)
downloadmonero-bcae95a22e802d2f91d4bf815b1c4662384a6faa.tar.xz
p2p: do not add recently failed addresses to the peerlist
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r--src/p2p/net_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 9b9ffbe2a..614790f30 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -393,7 +393,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;