2025.01 Vol.3

// Spiral Q4 Report #Bitcoin

The Spiral Series

  1. 2024.08 Vol.2 // Spiral Goals
  2. 2024.09 Vol.2 // Spiral Q3 Report
  3. 2025.01 Vol.3 // Spiral Q4 Report

AFK for a bit due to the addition of a new family member! But work focused on the BIP324 API.

asynchronous api

The BIP324 library is written in a “sans-io” style which make it extremely adaptable to any runtime a caller happens to be using. Nowadays though, asynchronous runtimes are the most popular for light clients, so adding a usability wrapper around the sans-io primitives to make it easier to integrate the library in these contexts.

replace crypto implementations

The cryptography primitives worked on in Q3 have made their way into rust-bitcoin/hashes and rust-bitcoin/chacha20_poly1305. BIP324’s internal versions can now be dropped and replaced by these dependencies. The BIP324 code can focus just on the protocol specific logic.

v2 serialization

Another bit of logic to push down into rust-bitcoin/bitcoin is how V2 messages are encoded over the wire. The last “dangling” module, cleaning it up leaves the library in an extremely focused state.

clients

With performance upgrades in place and easier integration interfaces available, let’s get this thing into some light clients!

etc

  • [LOG] Network Metadata Leakage // Took another pass at the general issue of network privacy. It is an interesting problem that appears to effect all levels of the sovereign stack, from payjoin to ecash mints.
  • [LOG] Commitment Schemes // The next step in my cryptographic journey as I build up to an understanding of things like Bulletproofs.
  • [LOG] Blind Signatures and [LOG] Ecash // Checked out the cryptography behind ecash and how ecash mints fit into the bitcoin ecosystem. Interesting how network metadata privacy is an issue here too.