The Spiral Scroll: Wallet Clustering Basics
Bitcoin Magazine The Spiral Scroll: Wallet Clustering Basics The Bitcoin transaction graph has various observable patterns, with wallet clustering of highest importance. Some of these patterns have been studied and used...
Archive context
Older archive item. Useful for background and entity history, but not a fresh market-moving signal.
Bitcoin Magazine
The Spiral Scroll: Wallet Clustering Basics
The Bitcoin transaction graph has various observable patterns, with wallet clustering of highest importance. Some of these patterns have been studied and used to link coins from the same wallet, both in theory and practice.
Every transaction consists of a list of inputs (where the sats are taken from) and outputs (where the input sats are distributed). Inputs refer to the outputs of previous transactions, such as connecting transactions. Outputs lock some amount of bitcoin with certain spending conditions (i.e., the “address,” public key, or output script). Linking coins means identifying the entity that controls the keys to a collection of transaction outputs, spent or unspent.
Section 10 of the Bitcoin white paper, “Privacy,” briefly discusses linking:
“A new key pair should be used for each transaction to keep them from being linked to a common owner.”
When the same public key controls more than one coin, these coins are trivially linked since only one entity is supposed to know the private key.
However, address reuse is not the only concern. The paper continues:
“Some linking is still unavoidable with multi-input transactions, which necessarily reveal that their inputs were owned by the same owner.”
This is often referred to as the “common input ownership heuristic,” CIOH, or the “multi-input heuristic.” It’s only a heuristic because, unlike the implication in the quote above, counterexamples exist. Although it isn’t always true, it often is.
Over the years, more sophisticated methods for clustering have been developed, for example, telling apart change outputs from payments or using larger structures in the transaction graph than just individual transactions. Some of these have been described in academic work, while others remain proprietary. Improved methods can link to more coins or avoid so-called “cluster collapse,” where coins belonging to different users are incorrectly connected. Commercial offerings often benefit from additional sources of information, such as KYC data; they don’t necessarily depend on just the privacy leaks that occur in the Bitcoin protocol, but clustering is still the central theme.
This motivates an adversarial framing of privacy, where a deanonymization attack attempts to assign coins to clusters. From this perspective, defending privacy means making it more difficult for the adversary to succeed in correctly assigning coins to clusters. The most notable examples involve collaborative transaction construction, whether it is overtly difficult to guess, as in CoinJoin, or covertly as in PayJoin, or perhaps most prominently, just a part of how the software works as with Lightning node transactions. In all cases, the simplistic assumption of common ownership breaks down, necessitating a more nuanced analysis.
The adversarial framing also makes it explicit that different adversaries have different capabilities, with the appropriate adversarial model depending on the user’s threat model: Are you more worried about surveillance by an oppressive government or snooping by your transactions’ counterparties?
Originally published on the Spiral Substack.
This post The Spiral Scroll: Wallet Clustering Basics first appeared on Bitcoin Magazine and is written by Yuval Kogman.
Why this matters
This bitcoin story adds another data point to the current market tape and is useful when read alongside nearby source coverage.
Original source
Read on Bitcoin MagazineRelated market context
Europol says quantum computing won’t break Bitcoin, but some wallets are exposed
Quantum computing's threat to Bitcoin highlights the need for proactive wallet security, shifting responsibility to individual use...
US government moves $470 million in seized crypto to Coinbase wallets, raising Bitcoin sale questions
The US government moved about $470 million in seized crypto to likely Coinbase Prime addresses, according to Arkham, reviving ques...
Europol Urges Crypto Wallet Providers to Start Testing Post-Quantum Upgrades Now
Europol published two reports on Wednesday about the security risks of quantum computing, and the one on cryptocurrencies names wa...
USDC Transfers Are Coming to Samsung Wallet
Samsung Electronics America plans to add USDC transfers to Samsung Wallet in the last week of October 2026, extending the stableco...
Grayscale XRP ETF Adds In-Kind Transactions and New Custodian
Grayscale’s XRP exchange-traded fund (ETF) has expanded how institutions exchange tokens for shares while adding another provider...
Winklevoss Zcash ETF Filing Brings Privacy Coin Exposure To Nasdaq
TL;DR: Winklevoss Asset Services has filed an S-1 with the SEC for the Winklevoss Zcash ETF, a proposed Nasdaq-listed product desi...