diff --git a/src/net.h b/src/net.h index 9f486a49ad01d..67e5e93cf70d5 100644 --- a/src/net.h +++ b/src/net.h @@ -568,6 +568,9 @@ class CNode /* Whether we send addr messages over this connection */ bool RelayAddrsWithConn() const { + // Don't relay addr messages to peers that we connect to as block-relay-only + // peers (to prevent adversaries from inferring these links from addr + // traffic). return m_conn_type != ConnectionType::BLOCK_RELAY; }