mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
p2p: drop onions from IsAddrV1Compatible(), no longer relay torv2
This commit is contained in:
@@ -522,7 +522,6 @@ bool CNetAddr::IsAddrV1Compatible() const
|
||||
case NET_INTERNAL:
|
||||
return true;
|
||||
case NET_ONION:
|
||||
return m_addr.size() == ADDR_TORV2_SIZE;
|
||||
case NET_I2P:
|
||||
case NET_CJDNS:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user