Descending Powers of 2 Coinjoins

Bitcoin Transaction


Equal Amount Coinjoins

Powers of 2 Coinjoins



Coin Selection

Binary Representation

Hamming Weight

Counting 1s

Putting It All Together

  1. To ensure minimum anonymity (by avoiding unmixed changes) a wallet could select coins those have all their 1s covered by the mix’s already registered inputs.
  2. To minimize costs (by minimizing the number of outputs) a wallet could select from the remaining coins with the lowest hamming weight.

Coin Merge

In Conclusion

 by the author.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

I didn’t C that.

Simple Math You Could Use if Google Isn’t Available

Eigenvectors and Eigenvalues: A deeper understanding

Modeling: The future of maths education

Information and Entropy

Math Puzzle for Bored Quarantining Humans: 6 Inscribed Circles

Three Methods of Vehicle Lateral Control: Pure Pursuit, Stanley and MPC

Frustration and the Geometry of Space-time. Blog Post #4

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Blockchain Bridges in 3 minutes

What can we Learn from the Solana Wormhole Hack?

Ethereum Foundation’s balance sheet asset value equaled $1.6 billion

World’s third largest whale bought million dollars of bitcoin.