mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 07:10:46 -08:00
p2p: sanitize peer lists
Also remove the delta time fixup, since we now ignore those as they're attacker controlled
This commit is contained in:
@@ -349,8 +349,7 @@ namespace nodetool
|
||||
bool get_local_node_data(basic_node_data& node_data, const network_zone& zone);
|
||||
//bool get_local_handshake_data(handshake_data& hshd);
|
||||
|
||||
bool merge_peerlist_with_local(const std::vector<peerlist_entry>& bs);
|
||||
bool fix_time_delta(std::vector<peerlist_entry>& local_peerlist, time_t local_time, int64_t& delta);
|
||||
bool sanitize_peerlist(std::vector<peerlist_entry>& local_peerlist);
|
||||
|
||||
bool connections_maker();
|
||||
bool peer_sync_idle_maker();
|
||||
|
||||
Reference in New Issue
Block a user