p2p: remove blocked addresses/hosts from peerlist

This commit is contained in:
moneromooo-monero 2021-07-27 10:02:26 +00:00
parent 7d2e717ee8
commit 8eb2b79bad
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
5 changed files with 48 additions and 15 deletions

View file

@ -1503,6 +1503,7 @@ TEST(NetUtils, NetworkAddress)
constexpr static epee::net_utils::address_type get_type_id() noexcept { return epee::net_utils::address_type(-1); }
constexpr static epee::net_utils::zone get_zone() noexcept { return epee::net_utils::zone::invalid; }
constexpr static bool is_blockable() noexcept { return false; }
constexpr static uint16_t port() { return 0; }
};
const epee::net_utils::network_address empty;