
A Bitcoin Core contributor has shown that the software’s built-in wallet can give away which node tracks a Bitcoin address, correctly identifying the node in 30 out of 30 observations on a local test network.
Summary
- Ismail tested five target wallets over six rounds using Bitcoin Core’s local regression test network.
- Watch-only wallets can reveal that a node tracks an address even when the wallet holds no private keys.
- A proposed Bitcoin Core change would narrow when the wallet rebroadcasts, while developers are discussing whether to make rebroadcasting optional.
- An onion-only setup can shield the node’s public IP from peers while leaving its onion identity visible to them.
Abubakar Sadiq Ismail, writing on Delving Bitcoin on Nov. 25, traced the privacy leak to the wallet’s habit of sending unconfirmed transactions back out to its peers. The wallet can do this for payments it receives as well as payments it sends, so an operator can expose an address the wallet tracks even when they haven’t recently spent from it.
Bitcoin Core wallet can reveal addresses it watches
Bitcoin Core nodes relay transactions for other users as part of their normal work. The built-in wallet has a separate job. It keeps track of transactions involving its addresses and can announce them again if they remain unconfirmed.
Ismail found that this second announcement can give an observer a way to distinguish the node whose wallet recognizes a payment from nodes that had merely relayed it earlier.
The test used five target wallets in each of six rounds on regtest, a private network developers use to test Bitcoin software. Ismail ran standard Bitcoin Core nodes with their default descriptor wallets, which held private keys.
The 30 successful matches describe the performance of his setup. His post gives no corresponding figure for Bitcoin’s live network, where peers can disconnect and reconnect, and different nodes can retain different sets of unconfirmed transactions.
The same wallet behavior applies to watch-only setups, Ismail wrote. A watch-only wallet can follow payments to an address while the keys needed to spend the funds sit on a separate device. An observer who identifies that node learns where the address is being watched. The signing device, the identity of the person who controls the funds, and the location of the keys are separate questions.
Developers debate which payments wallets should resend
The November post revisited a problem with a public history in Bitcoin Core’s issue tracker. Ismail described the leak as long known and published his test results in an open developer discussion. The thread documents that public exchange and gives no account of a separate private disclosure before publication.
In an October pull request, Bitcoin Core contributor Andrew Chow proposed limiting rebroadcasts to transactions newly added to the node’s mempool, the local pool of payments waiting to be confirmed. A transaction already sitting in that pool would no longer be announced again through the same path. As of Nov. 26, the change remained under review.
Martin Zumsande argued in the forum that the proposal still left some room for unwanted rebroadcasts. He suggested making the automatic resend of incoming payments optional, leaving the sender to retry by default. A recipient who wanted to help an incoming payment go through could still trigger a resend manually. Ismail replied on Nov. 26 that he favored making automatic rebroadcasting itself opt-in.
What node operators can do while changes are under review
Ismail identified disabling wallet broadcasting as one way to stop the signal. The setting applies to all wallet-initiated announcements, including the first broadcast of a payment the operator makes. Anyone using it would need another way to relay their outgoing transactions.
Separating the signing device from the node leaves the same behavior in place if a loaded Bitcoin Core watch-only wallet still follows the addresses.
Bitcoin Core’s Tor documentation describes how to restrict connections to onion addresses. Ismail said an onion-only setup can keep the node’s public IP out of this particular exposure, although an observer could still associate the Bitcoin address with the node’s onion identity.
Ismail identified an I2P-only setup as another option with the same trade-off. Peers would see the node’s I2P identity in place of its public IP. He pointed to using a different wallet backend as a way to avoid the built-in wallet’s rebroadcast behavior altogether. That would require changing how the wallet gets its transaction data, a bigger practical change than keeping the signing keys on a separate device.
Exposed public keys pose a separate Bitcoin risk
The test concerned what a wallet reveals in messages to its peers. On Nov. 10, crypto.news reported that Glassnode estimated 7.12 million BTC, or 35.4% of supply, sat behind public keys visible onchain.
Glassnode’s estimate concerned funds with public keys already visible in the blockchain record, the information a sufficiently capable quantum computer would need to try to derive the corresponding private keys.
No Comment! Be the first one.