mirror of
https://github.com/monero-project/monero.git
synced 2025-07-25 05:45:24 -04:00
p2p: remove blocked addresses/hosts from peerlist
This commit is contained in:
parent
7d2e717ee8
commit
8eb2b79bad
5 changed files with 48 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue