tl;dr: Home-nodes at ISPs that rotate IPs (often every 24h) self-announce a new, usually unreachable address after every rotation. The cost is small: about 8% of a node’s IPv4 connection attempts go to these ISPs, and more than 90% of the unreachable addresses in gossip come from ISPs that don’t rotate. The general fix would be that a node only self-announces once a peer has checked that it’s reachable, so that Bitcoin Core doesn’t gossip unreachable addresses in the happy path.
A Bitcoin Core node that listens and has finished its initial sync self-announces its address on every newly established connection that takes part in address relay, and then again at random intervals averaging 24 hours (AVG_LOCAL_ADDRESS_BROADCAST_INTERVAL) to each of these peers [1].
Many home-nodes, usually sitting behind a router and a NAT, are unable to receive inbound connections and do not know about being unreachable. Bitcoin Core defaults to listen=1, which causes home-nodes to announce their address. These address are always unreachable and nobody will be able to connect to them. These addresses will be relayed in address gossip and make into the IP address manager (addrman) new table of other nodes on the network. This means, Bitcoin Core home-nodes are filling the addrman new table slots of all Bitcoin Core nodes with unreachable addresses in the default setup.
This is made worse by the fact that some ISPs rotate home IPs frequently (e.g. once per day). While this is nice for some extra privacy when browsing the web, it causes Bitcoin Core nodes to store even more unreachable addresses with new ones arriving every day through newly connections and timed self-announcements. This post explores the ISP (with Bitcoin nodes) that do this, shows the frequency of these rotations, and shows the effect on the network.
Which ISPs rotate home-node IPs and how often?
There seem to be at least 36 ISPs (with a meaningful number of Bitcoin home-nodes) that rotate IPs every 24 hours. 20 of these are German ISPs and there’s even a word and Wikipedia article for it (see Zwangstrennung). Germany has, along with the US (where frequently rotating IPs is a lot less common) the most home-nodes. Next to Germany, there other ISPs in Europe where this happens.
In Germany, the ISPs are primarily O2 (nearly 100% rotate daily), 1&1 (about 90% of IPs rotate daily), and Deutsche Telekom (about 25% rotate daily). Outside of Germany, the 24 hour rotation applies to nearly all lines of Odido (NL), Hrvatski Telekom (HR), BSNL (IN), Telecom Algeria (DZ), and China Mobile Liaoning (CN). Other ISPs use different intervals for rotation. This ranges from 4 hours (Wind Tre) to 8 days (Telefonica Brasil). Many other ISPs do not rotate IPs at all.
| ISP | Interval | rough estimate of number of nodes that rotate (and their share of all nodes in the ISP) |
|---|---|---|
| Deutsche Telekom (DE) | 24 h | about 300 (about 25%) |
| 1&1 (DE) | 24 h | about 220 (about 90%) |
| O2 (DE) | 24 h | about 170 (over 95%) |
| TOT (TH) | 24 h | about 40 (about 50%) |
| EWE (DE) | 24 h | about 35 (about 80%) |
| PURtel (DE) | 24 h | about 35 (over 95%) |
| Odido (NL) | 24 h | about 25 (over 95%) |
| Hrvatski Telekom (HR) | 24 h | about 20 (over 95%) |
| M-net (DE) | 24 h | about 20 (about 30%) |
| BSNL (IN) | 24 h | about 15 (over 95%) |
| NetCologne (DE) | 24 h | about 15 (about 25%) |
| Hutchison Drei (AT) | 24 h | about 10 (about 25%) |
| 22 smaller ISPs, 13 of them German | 24 h | under 25 each, about 150 together |
| Wind Tre (IT) | about 4 h | about 25 (about 25%) |
| ANTEL (UY) | 12 h | about 10 (about 35%) |
| Free Mobile (FR) | 12 h | about 10 (all we saw) |
| A1 Hrvatska, Magic Net (HR) | 2 days | about 15 together (about 55%) |
| Iskon (HR) | 3 days | under 10 (over 90%) |
| Telefonica Argentina | 4 days | about 10 (about 80%) |
| Saudi Telecom | 5 days | about 25 (over 95%) |
| Arelion/Telia (SE) | 7 days | about 15 (about 20%) |
| True Internet (TH) | 7 days | about 40 (about 70%) |
| Telefonica Brasil | about 8 days | about 75 (about 80%) |
The following comments contain:
- Which ISPs rotate home-node IPs and how often?
- Where we can spot rotations
- At what time of day do the rotations happen?
- What is the effect on the network?
- What does this cost a node?
- Similar behavior, but not necessarily a rotation
- Potential fixes
One of our listening nodes with about 100 address-relaying peers sent about 100 such repeats a day, plus one announcements on each new connections participating in address relay. ↩︎




