Merge pull request #7809

7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
This commit is contained in:
luigi1111 2021-08-11 22:35:15 -04:00
commit 521b4d9ded
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
5 changed files with 48 additions and 15 deletions

View file

@ -1512,6 +1512,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;