A STARK proof of Bitcoin's UTXO set at block 972,500, with circuits proven in Lean

Posted by ajtowns

Nov 18, 2026/03:02 UTC

Efficient computation and verification of UTXO snapshot hashes play a crucial role in optimizing blockchain validation processes. When recomputing the hash for a large snapshot, such as a 9.4 GB dataset, the underlying structure of the hash becomes significant. Utilizing a Merkle tree ordered by transaction ID and output index (txid/vout), with the Merkle Mountain Range (MMR) dictating the layout, is one approach that ensures both verifiability and scalability. However, considerations may arise regarding whether any rearrangement or alternative structuring would enhance efficiency, particularly when integrating these techniques into existing systems.

Current implementations often rely on Core’s hash_serialized to represent the UTXO set state, but there are potential benefits in adopting a more merklized hash output instead or alongside this method. Shifting certain data elements, such as amounts and maturity, from the coin-set layer to the block validation layer could potentially accelerate and reduce the cost of generating UTXO set update proofs, especially on the proving side. Block validation, given a trusted hash of the undo data, presents an opportunity for parallel and out-of-order processing, eliminating the need to recalculate the entire UTXO set for each block. This separation allows nodes to trust widely verified assumeutxo or zkproof sets—effectively treating them as a new genesis point—while using full validation only on new blocks, thus maintaining consistency and integrity for all future descendants.

Establishing agreement between core software and auxiliary proof systems on a standardized, easily computable UTXO snapshot hash simplifies proof generation and verification. According to BIP452, performing such proofs at regular intervals, such as every 14,112 blocks, enables independent verification of the assumeutxo snapshot hash and corresponding block hash at those heights before any substantial data download occurs. Adoption of a per-UTXO Merkle tree not only strengthens the security model for chain validation but also introduces practical applications beyond consensus, such as facilitating periodic proof of reserves. Such cryptographic proofs could be constructed as zero-knowledge proofs (zkproofs), allowing entities to demonstrate holdings without disclosing individual UTXOs, thereby preserving privacy while enhancing transparency.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback