aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_peerlist.h
diff options
context:
space:
mode:
authorMiguel Herranz <miguel@ipglider.org>2017-01-21 13:04:49 +0100
committerMiguel Herranz <miguel@ipglider.org>2017-01-21 13:04:49 +0100
commit1c4d65c011e8619e083899c7a52a470b6b9e17f7 (patch)
treec572fd134369ee61a8a2f8ce1080eb0f074c0aa2 /src/p2p/net_peerlist.h
parentFix logging that broke after rebasing (diff)
downloadmonero-1c4d65c011e8619e083899c7a52a470b6b9e17f7.tar.xz
Rename method to get_random_gray_peer
Diffstat (limited to '')
-rw-r--r--src/p2p/net_peerlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h
index c230c8c71..4797eb82b 100644
--- a/src/p2p/net_peerlist.h
+++ b/src/p2p/net_peerlist.h
@@ -81,7 +81,7 @@ namespace nodetool
bool set_peer_just_seen(peerid_type peer, const net_address& addr);
bool set_peer_unreachable(const peerlist_entry& pr);
bool is_ip_allowed(uint32_t ip);
- bool get_gray_peer_random(peerlist_entry& pe);
+ bool get_random_gray_peer(peerlist_entry& pe);
bool remove_from_peer_gray(const peerlist_entry& pe);
@@ -399,7 +399,7 @@ namespace nodetool
}
//--------------------------------------------------------------------------------------------------
inline
- bool peerlist_manager::get_gray_peer_random(peerlist_entry& pe)
+ bool peerlist_manager::get_random_gray_peer(peerlist_entry& pe)
{
TRY_ENTRY();
@@ -419,7 +419,7 @@ namespace nodetool
return true;
- CATCH_ENTRY_L0("peerlist_manager::get_gray_peer_random()", false);
+ CATCH_ENTRY_L0("peerlist_manager::get_random_gray_peer()", false);
return true;
}
//--------------------------------------------------------------------------------------------------