Bitcoin Core Wallet Rebroadcasting May Link Tracked Payments to Nodes, Regtest Test Finds

Daily Feed
Bitcoin Core Wallet Rebroadcasting May Link Tracked Payments to Nodes, Regtest Test Finds

Bitcoin Core Wallet Rebroadcasting May Link Addresses to Nodes in Regtest Test

Repeated rebroadcasting of unconfirmed transactions by a Bitcoin Core wallet may help peers identify which node’s wallet tracks a payment. In a local test, Bitcoin Core contributor Abubakar Sadiq Ismail reported 30 successful matches across five target wallets and six rounds. The result does not show how well the technique would work on Bitcoin’s live network.

  • The test ran on Bitcoin Core’s local regtest network, not mainnet.
  • It linked a tracked payment to a node, not to a person or a set of private keys.
  • A proposed change to rebroadcasting was still under review as of Nov. 26, 2024.

How rebroadcasting may reveal a wallet’s interest

Bitcoin nodes relay transactions to peers. Bitcoin Core’s built-in wallet also tracks transactions involving addresses it knows about and can prompt its node to rebroadcast unconfirmed transactions, sending them to peers again while they await confirmation.

That repeated activity may offer a peer a clue. Relaying a transaction is ordinary network behavior. The signal Ismail described comes from the wallet tracking the transaction and the node rebroadcasting it. A peer observing that behavior may be able to distinguish a node whose wallet recognizes the payment from nodes that simply relayed it.

The test concerns a link between a payment address and a node. It does not, by itself, identify the person operating that node, prove who controls the funds, or reveal where the signing keys are held.

Ismail said the behavior can apply to transactions a wallet receives as well as those its operator sends. A watch-only wallet, which monitors addresses but does not hold the private keys needed to spend the associated funds, may therefore reveal that it tracks an address.

What the 30 observations show, and what they don’t

Ismail described his test on Delving Bitcoin on Nov. 25, 2024. He used standard Bitcoin Core nodes with descriptor wallets holding private keys. The setup tested five target wallets over six rounds on regtest, Bitcoin Core’s local network for software testing.

The test identified the node whose wallet recognized a payment in all 30 observations. That is a successful result for the reported setup, but it should not be read as 30 independent tests on the live network. The observations came from five target wallets across six rounds in a controlled environment.

Bitcoin’s live network has different conditions. Peers can disconnect and reconnect, and nodes may hold different sets of unconfirmed transactions in their local mempools, the pools of transactions awaiting confirmation. Ismail did not report a mainnet success rate, so the effect of those real-world differences remains unmeasured.

The rebroadcast issue has a history in Bitcoin Core’s public issue tracker. Ismail described the leak as long known.

Proposed changes and operator trade-offs

In an October 2024 pull request, Bitcoin Core contributor Andrew Chow proposed limiting wallet rebroadcasts to transactions newly added to a node’s mempool. Pull request 36482 was still under review as of Nov. 26, 2024.

Martin Zumsande argued that the proposal could still allow some unwanted rebroadcasts and suggested making automatic resending of incoming payments optional. On Nov. 26, Ismail said he favored making automatic rebroadcasting opt-in. No decision had been reported by that date.

Ismail also outlined possible workarounds, each with limits:

  • Disable wallet broadcasting: This would stop the wallet from prompting its node to broadcast transactions. It would also affect the initial broadcast of payments the operator makes, so outgoing transactions would need another way to reach the network.
  • Use an onion-only or I2P-only setup: Ismail said these configurations can keep a node’s public IP address out of this particular exposure. They do not make the node invisible. Peers may still associate the address with its onion or I2P identity.
  • Use a different wallet backend: According to Ismail, this can avoid the built-in wallet’s rebroadcast behavior, but it requires changing how the wallet obtains transaction data. It is not a guarantee against every form of address-to-node linkage.

These are trade-offs, not universal privacy switches. Hiding a public IP from peers is different from preventing them from associating a transaction with a node identity.

Key questions and answers

  • What did Ismail test?

    Five Bitcoin Core wallets across six rounds on regtest. The setup identified the relevant node in 30 of 30 observations.

  • Does the result establish the same success rate on Bitcoin’s live network?

    No. The test was conducted locally, and no mainnet success rate was reported.

  • Does identifying a node reveal who owns the bitcoin?

    No. The result concerns a possible address-to-node link, not the identity of the person controlling the funds or the location of the signing keys.

  • What changes were under discussion?

    Chow proposed limiting rebroadcasts to transactions newly added to a node’s mempool. Zumsande and Ismail discussed making automatic rebroadcasting optional or opt-in. No final decision had been reported as of Nov. 26, 2024.

The finding highlights a specific privacy cost of wallet rebroadcasting: a node may reveal more than the fact that it relayed a transaction. The regtest result warrants attention, but it does not show that observers can reliably identify wallet-tracking nodes across Bitcoin’s live network. Bitcoin Core development will continue to weigh privacy improvements against the practical needs of node operators.

Share this article

Powered by ADBYTES

Advertise smarter.

Adbytes.Media is a transparent advertising network where advertisers reach real audiences and publishers, affiliates & everyday members earn ADBYTES tokens. Join the community and start earning today.

Back to Blog