Privacy advice about Bitcoin tends to collapse two separate problems into one. The chain records what happened; the network records where it came from. Tor addresses the second completely and the first not at all, and knowing which you are solving prevents most of the wasted effort in this area.
What does the network layer actually leak?
More than people expect, and it is a different set of facts from what the chain holds.
When your node broadcasts a transaction, it sends it to its peers. An observer running many well-connected nodes can watch which peer announced a transaction first and infer, with useful reliability, where it originated. That attaches an IP address — and therefore an approximate location, an internet provider, and often a household — to a transaction before it is ever confirmed.
Your node’s presence is also public. Nodes accepting inbound connections advertise their addresses, and the network’s peer discovery makes the set of reachable nodes enumerable by anyone who wants it. Running one is not secret.
None of this is recorded on the chain, and none of it is recoverable from the chain later. It is observable in real time by whoever is watching, and not afterwards by whoever was not.
What does Tor fix?
The origin attribution, cleanly.
A node configured to use Tor reaches its peers through the Tor network, so the address its peers see belongs to Tor rather than to you. Configured as an onion service, it can also accept inbound connections without revealing where it is.
Bitcoin Core supports this natively — it can run with Tor as a proxy and publish an onion address, and the peer-to-peer protocol carries a message format designed to propagate those addresses alongside ordinary ones. The same support exists for I2P and for CJDNS, which matters for reasons covered below.
The result is that broadcasting a transaction no longer tells an observer where it came from, and running a node no longer tells them where you are.
What does it not fix?
Everything the chain already records, which is most of what people worry about.
Tor does not change which outputs your transaction spends, so the common-input-ownership heuristic works exactly as before. It does not hide your change output. It does not unlink an address from the exchange withdrawal that created it. If your coins came from an account in your name, they are labelled, and no network-layer protection touches that.
The two protections are orthogonal and both are needed for either to mean much. Perfect network privacy with careless coin handling identifies you from the chain. Perfect coin handling broadcast from your home connection identifies you from the network.
Why is a light wallet over Tor mostly theatre?
Because the thing it hides is smaller than the thing it hands over.
A light wallet asks a server which outputs belong to its addresses. Over Tor, that request arrives without your IP address — and it still contains the complete list of addresses you own, sent to a party who now knows they all belong to one person. You have anonymised the delivery of a document that identifies you.
This is the single most common misapplication of Tor in Bitcoin. The protection is real and it is protecting the wrong channel. Running your own node over Tor is a coherent configuration; running a server-dependent wallet over Tor is an improvement so marginal it mostly produces false confidence.
The intermediate option is a light client using compact block filters, which downloads filters and checks them locally rather than asking about specific addresses. The server learns that somebody wanted the filters for a range of blocks, which is close to no information, and over Tor it learns not even who. That is a genuinely reasonable position for someone who cannot run a full node, and it is a different thing from validation: the client still trusts that the filters it was given are honest.
What does it cost?
Two things, and the second is the one that gets overlooked.
Speed. Tor adds latency and limits throughput. Initial block download over Tor is substantially slower, which is why a common setup is to sync over the ordinary internet once and switch afterwards — at the cost of having revealed that this node exists and where. Whether that matters depends on your adversary: it is close to irrelevant against a blockchain analyst and significant against an observer watching your connection.
Eclipse exposure. This is the real trade-off. A node’s safety against being fed a partial view depends on having peers an attacker does not control. On the ordinary internet, address diversity makes occupying every slot expensive. Onion addresses are free to create in unlimited numbers, so an attacker can populate a Tor-only node’s peer set far more cheaply.
Bitcoin Core mitigates this by preferring diversity across networks and by reserving some connections across restarts, and the mitigation is why running across several networks at once is better advice than running over Tor exclusively.
Is Tor the only option?
No, and treating it as the default is itself a concentration risk.
Bitcoin Core supports I2P and CJDNS alongside Tor and the ordinary internet, and it tracks peer addresses in a format designed to carry all of them. Each network has a different operator set, a different threat profile, and a different failure mode.
That diversity is the point. A node reachable over several networks is much harder to isolate than one reachable over a single anonymity network, because an attacker has to dominate all of them at once. It is also more resilient to a network-wide disruption: Tor has had outages and has been blocked at a national level, and a node with no other route is offline for the duration.
The configuration worth aiming for is therefore not “Tor only” but “Tor plus at least one other”, with the clearnet exposure accepted or replaced depending on what you are protecting. A node that is private but routinely unreachable is not providing the verification property it exists for.
Does the transaction’s first hop still leak?
Partly, and the fix for it was proposed and never shipped.
Even over Tor, the peer that first hears a transaction learns something: not where you are, but that this particular connection originated it. An attacker who has managed to become several of your peers can combine that with timing.
Bitcoin Core randomises relay timing to blur this, which helps and is not a protocol-level solution. A proposal called Dandelion would have routed each new transaction through a short private path before broadcasting it widely, so that the node observed announcing it was not the node that created it. It was specified, discussed at length, and never adopted.
The practical substitute is to broadcast through a connection that is not your node’s ordinary peer set — some wallets support submitting a transaction over a separate Tor circuit for exactly this reason.
Check it yourself
Your node will tell you which networks it is actually reachable on, which is more reliable than assuming the configuration took effect.
# Which networks are enabled, and what address you are advertising.
bitcoin-cli getnetworkinfo | grep -A6 '"networks"'
bitcoin-cli getnetworkinfo | grep -A4 localaddresses
# Where your peers actually are. The network field is the thing to read.
bitcoin-cli getpeerinfo | grep '"network"' | sort | uniq -c
The last command is the useful one. A healthy configuration shows peers across more than one network. A node showing only onion peers is more private and more eclipsable, and whether that trade is right depends on what you are defending against. Run it again after a restart, since the peer mix changes and a configuration that looked diverse once may not be.
What remains uncertain
How much origin inference actually succeeds. Published research on deanonymising transaction origins is dated, and the network has changed since. Whether current adversaries do this at scale is not known publicly.
Whether the eclipse trade-off is correctly weighted. The advice to run across multiple networks is sound and the relative magnitudes are not measured, so the balance rests on judgement.
Whether anything like Dandelion arrives. The proposal remains unadopted, the problem it addresses remains, and the reasons for not shipping it were about complexity and marginal benefit rather than soundness.
How much of the node population is reachable only over Tor. It affects both the network’s resilience and the eclipse arithmetic, and the measurement is hard precisely because the nodes are designed not to be enumerable. Published node counts are counts of what answered, which is the wrong denominator for this question and the only one available.
Whether a national-scale block changes the picture. Tor is blocked in several jurisdictions and the circumvention arms race is continuous. A privacy configuration that depends on one network reaching the outside world inherits that network’s political exposure, which is a different kind of risk from the technical ones above and is usually left out of the comparison entirely.
Sources
- First-partyBitcoin Core — doc/tor.md ↗
- First-partyBitcoin Core — doc/i2p.md ↗
- PrimaryBIP 155 — addrv2 message ↗
- PrimaryBIP 156 — Dandelion - Privacy Enhancing Routing ↗