Bitcoin Core Wallet Rebroadcast Can Link an Address to a Node’s IP: What the New Analysis Shows and How to Reduce the Risk

A new Delving Bitcoin analysis shows how Bitcoin Core wallet rebroadcasts can link an address to a node’s IP. What the tests found and how to reduce the risk.

A post published on the Delving Bitcoin research forum on November 25, 2026 sets out in detail how a long-known quirk in the Bitcoin Core wallet can be used to link a Bitcoin address to the IP address of the node that tracks it. The author, Bitcoin Core contributor ismaelsadeeq, shows that an attacker who sends a tiny, deliberately low-fee payment to a target address can wait for the target’s wallet to rebroadcast that payment 12 to 36 hours later, and identify the node by who re-announces it.

In a regtest simulation, the method picked the right node in 30 out of 30 attempts. Each probe costs roughly 18 to 34 US cents, according to the post’s estimates. The leak affects watch-only wallets, can undo the benefit of Bitcoin Core’s private broadcast option, and extends to many popular tools that use a Bitcoin Core wallet as a backend. Several open pull requests propose fixes, and developers are now debating whether automatic rebroadcast should remain the default at all.

This article explains how the attack works, who is exposed, what can be done today, and what the proposed changes would do.

Key takeaways

  • The leak is old, the analysis is new. The behavior was first reported in Bitcoin Core issue #3828 in March 2014. The new post quantifies an active version of the attack and maps the software that inherits it.
  • Cheap and reliable in tests. The post found 30 out of 30 correct attributions on regtest, and estimates a cost of about $0.18 to $0.34 per planted transaction at roughly $59,000 per bitcoin.
  • Watch-only setups are exposed. Any software that loads addresses into a Bitcoin Core wallet, including Sparrow in its Bitcoin Core mode, Specter, Liana, JoinMarket, Electrum Personal Server and others listed in the post, inherits the behavior.
  • Tor-plus-clearnet nodes can leak their clearnet IP. Rebroadcasts go to all peers with no network filter, so only a node with no clearnet peers avoids exposing a clearnet address.
  • No released fix yet. The mitigations available today are configuration choices, chiefly -walletbroadcast=0 and -onlynet settings. The proposed code changes are open pull requests, and one of them, #36482, is argued by another developer to raise the attack’s cost only slightly.

Why wallets rebroadcast at all

To understand the leak, it helps to know why Bitcoin Core rebroadcasts. In GitHub issue #36403, opened on October 1, 2026 and titled “Rethinking Transaction Rebroadcasting,” Bitcoin Core maintainer achow101 sets out the current behavior. Rebroadcasting is handled entirely by loaded wallets, not by the node. With the default -walletbroadcast=1, a wallet resubmits its unconfirmed transactions to the node’s mempool when it loads, and forcibly rebroadcasts them at a uniformly random time between 12 and 36 hours after the last rebroadcast.

The issue gives two reasons for the feature. First, it reminds the network of transactions that may have dropped out of other nodes’ mempools, so that they can still be mined. Second, keeping transactions in the node’s own mempool lets the wallet use unconfirmed change and show balances users expect. Without it, change from an unconfirmed transaction that is not in the mempool can make the wallet appear to hold less money than it does.

The same issue lists the privacy problem plainly. A peer that reconnects between the original broadcast and the rebroadcast receives the transaction twice. Because ordinary nodes do not rebroadcast, a node that does so is likely to be a party to the transaction, either sending or receiving. The issue also notes that wallet rebroadcasts ignore -privatebroadcast, which can reveal both the originating IP and receiving IPs, and that the wallet does not submit packages, which can block low-fee parent transactions.

How the attack works

What the attacker needs

According to the Delving post, the attacker needs a candidate on-chain address, the ability to build and broadcast a transaction paying it, one or more listening Bitcoin nodes, the ability to connect to candidate nodes or attract their outbound connections, a way to observe peer-to-peer transaction announcements, and the patience to wait out the 12 to 36 hour rebroadcast window.

Passive versus active

The post distinguishes two versions. In the passive version, an observer simply waits for a victim’s own transaction to remain unconfirmed long enough to be rebroadcast. The author notes this is rarely useful, because most transactions pay enough fee to confirm well before the rebroadcast window.

The active version is the concern. The attacker “plants” a small payment, at least at the dust threshold, from a confirmed coin into an address that has already been used. The planted transaction pays a very low fee, so it is unlikely to confirm quickly. The victim’s wallet, which treats the incoming payment as its own unconfirmed transaction, resends it on its own 12 to 36 hour timer. If the attacker has connected a fresh peer to each candidate node, the node that re-announces the planted transaction is the one running a wallet that tracks the address.

A key detail is why the fresh connection matters. Normal per-peer announcement suppression still applies, so peers that were already told about the transaction are not told again. A newly connected spy has not been told, so it receives the announcement. Ordinary relay nodes, by contrast, do not re-announce old mempool transactions to newly connected peers, which is what makes the wallet’s rebroadcast stand out.

The simulation

The author ran stock Bitcoin Core nodes in Docker on regtest, a private test network. A hub node funded and planted low-fee payments into five target wallets, and a fresh spy connected to each. Across six trials, giving 30 attributions, the spy linked each address to the correct node every time. The targets ran default descriptor wallets with keys, and the post states that a watch-only wallet would behave the same way. The code is published in a public GitHub repository linked from the post.

Regtest is a controlled environment. It shows that the mechanism is deterministic, not that every mainnet attempt would succeed. On mainnet, an attacker would also need to reach the right node, which the post addresses separately for nodes that do not accept inbound connections.

What the attack costs

The planted payment only needs to relay, not confirm. The post uses Bitcoin Core’s default minimum relay fee of 0.1 satoshi per virtual byte and models each planted transaction as one input and two outputs of the listed type. Its estimates:

Output typeSize (vB)FeeDust outputTotal per planted txCost in the post’s table
P2WPKH14115 sat294 sat309 sat$0.18
P2TR15416 sat330 sat346 sat$0.20
P2PKH22623 sat546 sat569 sat$0.34

The post’s text summarizes the range as approximately $0.18 to $0.33 at about $59,000 per bitcoin on November 25, 2026, while its own table shows $0.34 for P2PKH. By the blog’s own arithmetic, 569 satoshis at $59,000 per bitcoin is about $0.336, so the difference is rounding.

The blog’s own illustrative calculation: probing 1,000 SegWit addresses at the table’s P2WPKH cost would cost about $180 in planted funds and fees, before the cost of running the listening infrastructure. The dust outputs go to the victims, not back to the attacker, so they are part of the cost. Infrastructure, not coins, is the expensive part. The attacker must be connected to each candidate node or attract connections from them.

Narrowing the targets

The post notes that an attacker does not have to probe every address on the chain. Wallet fingerprinting reads the wallet software off a transaction’s construction, such as input ordering, change output position, the transaction version field, locktime and anti-fee-sniping behavior. By clustering on-chain spends and using change heuristics to guess which wallet produced each one, an attacker can keep only spends that look like they came from a Bitcoin Core wallet and plant payments only against those.

Repeating the probe across many candidate coins builds a map of which addresses were seen at which nodes. The author cautions that a node is not proof of common ownership. One entity can run many nodes, and a node’s wallet may track addresses it does not own, for example a watch-only server, an exchange or a shared service. Still, the post calls the map a useful data point for chain analysis, and notes that it works even for users who never reuse addresses, because the link is between an address and a node, not between addresses.

Who is exposed

Watch-only wallets

The leak fires for watch-only wallets as well as hot wallets. In Bitcoin Core, a wallet decides whether a script is its own by membership, without checking whether it holds the key. So the attack identifies the node whose wallet recognizes the address, which may not be the party that controls the funds. For a user who keeps keys on a hardware device and uses a home node only to watch balances, the node is still exposed.

Software that uses Bitcoin Core as a backend

The post lists software it describes as potentially affected because it loads addresses into a Bitcoin Core wallet:

SoftwareHow it uses Bitcoin Core, per the post
Bitcoin Core / KnotsNative descriptor wallet, -walletbroadcast on by default
SparrowOnly in Bitcoin Core (“Cormorant”) mode
Specter DesktopCore RPC, watch-only descriptor wallet
Lianabitcoind backend mode
Fully NodedCore RPC, wallet with private keys disabled
Gordian WalletCore RPC, watch-only import
JoinMarket / JamCore watch-only wallet, created per their documentation
Lily Wallet (v1.0.7)Core RPC, watch-only import
Electrum Personal ServerWatch-only import into Core
Caravan (local bitcoind)Watch-only descriptor import
bwt (Bitcoin Wallet Tracker)Wallet creation plus watch-only import
EclairNo internal on-chain wallet; uses a Core hot wallet

This list comes from the post and has not been independently tested by the blog. Software that uses its own indexer, such as Sparrow connected to an Electrum server, is not on the list, but users should check how their own setup connects.

Nodes that are hard to reach

Many nodes do not accept inbound connections, for example because they sit behind home routers. The post says an attacker can still observe them by running listening nodes and advertising their addresses, so that these nodes connect out to the attacker. An entity with a wide presence across many network groups and autonomous systems, which the post compares to the LinkingLion entity, can get more such nodes to connect out and so observe more of them.

Private broadcast and Tor users

Two findings matter for privacy-focused users. First, Bitcoin Core’s -privatebroadcast option protects only the first announcement. If a privately broadcast, low-fee transaction stays unconfirmed for 12 to 36 hours, the rebroadcast goes to all peers and ignores the private path. If the transaction confirms quickly, or was pushed through a third-party node or Tor while the address is watched in a Core wallet, the attacker can simply plant a new low-fee payment to an address from that transaction and wait.

Second, a node that runs on several networks at once rebroadcasts to all of them. The post says a node that reaches the network over Tor or I2P but also keeps clearnet peers will re-announce the planted transaction over clearnet, leaking its clearnet IP. Only a node configured with -onlynet=onion, or otherwise without clearnet peers, avoids this. Even then, the address is still linked to the node’s onion or I2P identity.

Beyond the source: mapping neighbors

The post also asks whether watching a transaction spread from a known source reveals the source’s network neighbors. Using a fork of a Bitcoin network simulator on synthetic random graphs in which every node makes eight outbound connections, the author found that the first node heard after the source was a direct neighbor about 90 percent of the time: 185 of 200 simulations with 2,000 reachable nodes out of 20,000, and 181 of 200 with 10,000 reachable out of 100,000.

That does not map the full neighborhood. Because nodes wait on random timers of about five seconds before announcing to inbound peers, a slow direct neighbor can lag behind a node three or more hops away. In all 200 simulations at each size, at least one node three or more hops away announced before at least one real direct neighbor. The author stresses that the 90 percent figure is a result for this model under favorable assumptions, not a measured mainnet rate.

Developer polespinasa, who brainstormed the work with the author, replied that this step requires a fresh transaction from the attacker, given only to the victim, rather than one from the victim, because otherwise an observer could not tell whether the victim originated it. An RBF version of the planted transaction could make this cheaper, he wrote.

Mitigations available now

The post compares the options as follows:

MitigationPrivacy benefitTrade-off
-walletbroadcast=0Removes the rebroadcast signalDisables all wallet broadcasting, including your own new transactions; you must relay them yourself
PR #36482Removes the signal for a planted transaction that just sits in the mempoolProposed, not released; does not remove every leak
Avoid Core watch-only or hot-wallet integrationSidesteps the behaviorRequires a different backend architecture
-onlynet=onion or -onlynet=i2pStops clearnet IP exposureStill links the address to the node’s onion or I2P identity

With -walletbroadcast=0, the post says users can broadcast their own transactions through the sendrawtransaction RPC, which relays once through the node’s normal broadcast path. The practical cost is that the user takes over responsibility for making sure stuck transactions are rebroadcast if needed.

The proposed fixes and the debate

Several open pull requests on the Bitcoin Core repository touch rebroadcasting. As of their GitHub status when checked for this article, all were open and none was merged.

PRAuthorOpenedWhat it does
#36380vasildSeptember 29, 2026Adds an initialonly value to -walletbroadcast, so the wallet does the first broadcast but not the periodic rebroadcasts. No change in default behavior. Labelled “Needs rebase” and listed with a Concept NACK from achow101.
#36398mzumsandeOctober 1, 2026Stops rebroadcasting transactions that do not spend any wallet inputs, meaning incoming payments, and stops re-adding them to the mempool on startup or import. States that it fixes #3828.
#36481achow101October 8, 2026Adds a rebroadcastwallettx RPC and a GUI action to manually rebroadcast a single wallet transaction.
#36482achow101October 8, 2026Rebroadcasts a transaction only if it was not already in the node’s mempool, so transactions that likely fell out of other mempools are still resent.

Why #36482 alone may not be enough

Developer mzumsande replied to the Delving post with an adapted attack, which he says is exercised in the test suite of #36482 itself. The attacker plants transaction P spending coin A to the victim; replaces it with a higher-fee transaction spending A plus coin B; then replaces that with a transaction spending only B. Coin A is now unspent again, and P is valid but in no mempool. The victim’s wallet still holds P as unconfirmed, because it was replaced rather than abandoned or conflicted in a block, so 12 to 36 hours later it submits P to its own mempool, where it is new, and then announces it to peers.

In his view, #36482 only raises the cost slightly and does not stop what he considers the most concerning case: an ordinary node runner with a loaded wallet who can be dusted for transactions made years ago. He proposed making rebroadcast of incoming payments opt-in by combining #36398 with #36481, so that senders handle automatic rebroadcast and receivers who want to get paid can trigger it manually. The post’s author agreed and went further, suggesting that rebroadcast should not be the default at all and should be opt-in, with manual rebroadcast also disabled unless a user opts in.

The trade-off is explicit in #36398’s description: receivers who have an incentive to get paid would need to resubmit transactions manually if a payment does not confirm and the sender does not rebroadcast. The PR’s author argues the privacy benefit is worth it.

A twelve-year-old issue

Issue #3828, opened on March 8, 2014 by user vessenes and titled “Clients leak IPs if they are recipients of a transaction,” described essentially the same active attack: send a small payment just over the dust limit, built so it is unlikely to be mined, and watch which client keeps rebroadcasting it. That issue is still open on GitHub. The new research does not reveal a new bug. Its contribution is to measure the attack, show how it interacts with newer features like private broadcast and multi-network nodes, and list the downstream software that inherits it, which has pushed the rebroadcast discussion forward.

What it means for different users

  • Exchange and custodial users. If your coins are held on an exchange, this attack does not reveal your home IP. The exchange’s own infrastructure is a separate matter.
  • Home node users with a loaded wallet. If you run Bitcoin Core with a wallet loaded, including watch-only, your node may be identifiable as tracking your addresses. Consider the trade-offs of -walletbroadcast=0 and network settings.
  • Privacy-focused users on Tor. If your node keeps clearnet peers alongside Tor or I2P, the rebroadcast may expose your clearnet IP. A Tor-only or I2P-only configuration avoids that specific leak.
  • Users of the listed tools. Check whether your wallet uses a Bitcoin Core wallet as a backend, and follow your software’s documentation for configuration changes.

None of this puts funds at risk directly. The leak is about privacy: linking addresses to network locations. For some users, such as those worried about physical threats or targeted phishing, that link can matter a great deal.

For background on what a public transaction record reveals, see how to read a Bitcoin transaction on a block explorer. The network-level address-to-IP link discussed here is a separate privacy concern.

Frequently asked questions

Can this attack steal my bitcoin?

No. It links an address to the node that tracks it. It does not give access to keys or funds.

Is this a new vulnerability?

No. The underlying behavior was reported in 2014 in issue #3828. The November 25, 2026 post measures an active version, its cost and its interaction with newer features.

Does private broadcast protect me?

Not fully, according to the post. Private broadcast covers only the first announcement, and the wallet’s rebroadcast ignores it.

What is the simplest mitigation today?

The post suggests -walletbroadcast=0, broadcasting your own transactions with sendrawtransaction, and running Tor-only or I2P-only if clearnet exposure is a concern. Each has trade-offs.

Has Bitcoin Core fixed it?

Not in a release. Several pull requests are open, and developers disagree on how far changes should go.

Sources and research limits

Primary sources: the Delving Bitcoin thread “Exploiting Wallet Rebroadcast to Link Addresses to Node IPs and More” and its replies; Bitcoin Core GitHub issue #36403, issue #3828, and pull requests #36380, #36398, #36481 and #36482. Success rates, costs and the affected-software list are the post author’s figures from simulation and have not been independently reproduced by the blog. The $180 per 1,000 probes figure and the P2PKH rounding check are the blog’s own calculations. Pull request status reflects GitHub at the time of checking and may change. This article is not investment advice.

Disclaimer: This content was generated with the assistance of artificial intelligence (AI) and has been reviewed by our editorial team. It is intended for informational purposes only and should not be construed as financial, investment, or legal advice. Cryptocurrency investments involve significant risk.
KCEX BLOGKCEX BLOG
Previous 10 hours ago
Next 3 days ago

Related Posts

SHARE
TOP