Dust attacks: tiny payments sent to link your addresses together
What it is
Bitcoin Optech notes that output linking through a reused address can happen because a user reuses the address out of ignorance, or because someone deliberately targets the user, as in a dust attack.1: open 1 source
How it worksHolderEstablishedMedium confidence
T2Bitcoin Optech topic, Output linkingBitcoin Optech, says this directly
This may happen because the user reuses an address out of ignorance or as the result of deliberate targeting, as in a dust attack.
Topic summary, read 2026-11-20
Checked at block 976,842, 21 Nov 2026, 04:28 UTC: recheck, quotes 1/1History, hash and citation
Address reuse, which Bitcoin Optech also calls output linking, happens when a user receives two or more payments to the same public key or other unique script element; other users can then reasonably assume that the same person received all of those payments.2: open 2 sources
DefinitionHolderEstablishedMedium confidence
T2Bitcoin Optech topic, Output linkingBitcoin Optech, says this directly
Output linking, also called address reuse, occurs when a user receives two or more payments to the same public key or other unique script element.
Topic summary, read 2026-11-20
T2Bitcoin Optech topic, Output linkingBitcoin Optech, says this directly
other users can reasonably assume that the same person received all of those payments even if the payments are later spent in separate transactions.
Topic summary, second paragraph, read 2026-11-20
Checked at block 976,783, 20 Nov 2026, 20:55 UTC: recheck, quotes 2/2History, hash and citation
What defends against it
Bitcoin Core's wallet supports coin control: a user can lock in specific unspent outputs for a transaction, and the wallet then includes those outputs even when its own coin selection would not have chosen them.3: open 2 sources
FactHolderEstablishedHigh confidence
T1Bitcoin Core src/wallet/coincontrol.h, CCoinControl::SelectSource code, says this directly
The output will be included in the transaction even if it's not the most optimal choice.
CCoinControl, doc comment of Select, read 2026-11-20
Still in src/wallet/coincontrol.h at the head of bitcoin/bitcoin (0e8f70a863), read 26 Nov 2026.
T2Bitcoin Optech topic, Coin selectionBitcoin Optech, background
Coin selection is the method a wallet uses to choose which of its UTXOs to spend in a particular transaction.
Topic summary, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/wallet/coincontrol.h, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/wallet/coincontrol.h | grep -nF 'The output will be included in the transaction even if it'"'"'s not the most optimal choice.'Checked at block 976,842, 21 Nov 2026, 04:28 UTC: recheck, quotes 2/2, code 1/1History, hash and citation
Bitcoin Core's wallet coin control (CCoinControl) has two options about addresses: one avoids partial use of funds sent to a given address, and another forbids spending outputs received at addresses that have already been used.4: open 2 sources
FactHolderEstablishedHigh confidence
T1Bitcoin Core src/wallet/coincontrol.h, CCoinControl membersSource code, says this directly
Avoid partial use of funds sent to a given address
CCoinControl, m_avoid_partial_spends and m_avoid_address_reuse, read 2026-11-20
Still in src/wallet/coincontrol.h at the head of bitcoin/bitcoin (0e8f70a863), read 26 Nov 2026.
T1Bitcoin Core src/wallet/coincontrol.h, CCoinControl membersSource code, says this directly
Forbids inclusion of dirty (previously used) addresses
CCoinControl, m_avoid_address_reuse, read 2026-11-20
Still in src/wallet/coincontrol.h at the head of bitcoin/bitcoin (0e8f70a863), read 26 Nov 2026.
bitcoin/bitcoin at f498a5a671 contains this text in src/wallet/coincontrol.h, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/wallet/coincontrol.h | grep -nF 'bool m_avoid_partial_spends = DEFAULT_AVOIDPARTIALSPENDS;'bitcoin/bitcoin at f498a5a671 contains this text in src/wallet/coincontrol.h, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/wallet/coincontrol.h | grep -nF 'bool m_avoid_address_reuse = false;'Checked at block 976,783, 20 Nov 2026, 20:55 UTC: recheck, quotes 2/2, code 2/2History, hash and citation
The Bitcoin white paper recommends a new key pair for each transaction, as an additional firewall that keeps transactions from being linked to a common owner. Bitcoin Optech groups such methods of limiting output linking under the name reuse avoidance.5: open 2 sources
FactHolderEstablishedMedium confidence
T2Bitcoin: A Peer-to-Peer Electronic Cash System (white paper)Paper, says this directly
As an additional firewall, a new key pair should be used for each transaction to keep them from being linked to a common owner.
Section 10, Privacy, read 2026-11-20
T2Bitcoin Optech topic, Output linkingBitcoin Optech, supports part of it
Methods for limiting the loss of privacy from output linking fall under the category of reuse avoidance.
Topic summary, read 2026-11-20
Checked at block 976,842, 21 Nov 2026, 04:28 UTC: recheck, quotes 2/2History, hash and citation
What the lab tests
2 testsBitcoin Core's own tests, run on a private test network against the newest release of each major version Bitcoin Core maintains, newest first. An older release runs the tests it has. See each release's run.
| Test | Bitcoin Core 32.123 Nov 2026 | Bitcoin Core 31.323 Nov 2026 | Bitcoin Core 30.523 Nov 2026 |
|---|---|---|---|
wallet_ | Passed | Passed | Passed |
wallet_ | Passed | Passed | Passed |
Public record
- Optech: output linkingbitcoinops.org