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