mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 01:55:22 +01:00
36ee76d1afnet: remove unused CNetAddr::GetHash() (Vasil Dimov)d0abce9a50net: include the port when deciding a relay destination (Vasil Dimov)2e38a0e686net: add CServiceHash constructor so the caller can provide the salts (Vasil Dimov)97208634b9net: open p2p connections to nodes that listen on non-default ports (Vasil Dimov) Pull request description: By default, for mainnet, the p2p listening port is 8333. Bitcoin Core has a strong preference for only connecting to nodes that listen on that port. Remove that preference because connections over clearnet that involve port 8333 make it easy to detect, analyze, block or divert Bitcoin p2p traffic before the connection is even established (at TCP SYN time). For further justification see the OP of: https://github.com/bitcoin/bitcoin/pull/23306 ACKs for top commit: laanwj: Concept and light code review ACK36ee76d1afprayank23: ACK36ee76d1afstickies-v: tACK36ee76d1ajonatack: ACK36ee76d1afglozow: utACK36ee76d1afTree-SHA512: 7f45ab7567c51c19fc50fabbaf84f0cc8883a8eef84272b76435c014c31d89144271d70dd387212cc1114213165d76b4d20a5ddb8dbc958fe7e74e6ddbd56d11