Bitcoin Developer Demonstrates 9.39 GB Snapshot Verification in 72 Seconds Using Cryptographic Proofs

iconNS3
Share
AI summary iconSummary
A Bitcoin developer known as l-henri demonstrated a system using cryptographic hashing to verify a 9.39 GB blockchain snapshot in 72 seconds. The snapshot included 164.5 million UTXOs at block 972,500. Running on an arm64 machine with 0.5 GB memory, it used a 1.6 MB proof verified in half a second via browser. The method aims to cut node sync time and resource use. STARK-based zero-knowledge proofs (ZKP) verify calculations without redoing them. The system doesn’t match full node guarantees yet. l-henri proposed modifying Bitcoin Core to accept proof-backed snapshots, though it remains experimental and unreviewed.

Bitcoin developer l-henri demonstrated a system that checked a 9.39 GB blockchain snapshot in approximately 72 seconds using cryptographic proofs. The developer described the experiment on Delving Bitcoin on November 13. The snapshot contained approximately 164.5 million unspent transaction outputs (UTXOs) at Bitcoin block 972,500. UTXOs represent received bitcoin that remains unspent and form the database that nodes consult to establish whether coins are available for transactions.

The developer used an arm64 computer with approximately 0.5 GB of memory to check the snapshot against records established by a cryptographic proof. Reading the 9.39 GB file accounted for almost the entire processing time. A separate demonstration verified a compact 1.6 MB proof through a web browser in about half a second.

The approach could reduce the time and computing resources required before a Bitcoin node becomes fully operational. Bitcoin nodes independently examine transactions and enforce network rules, helping secure the network. A fully validating node traditionally reconstructs the database of spendable coins by downloading and processing historical transactions.

Bitcoin Core's assumeUTXO feature already allows nodes to begin operating from a snapshot of the blockchain's transaction state. However, Bitcoin Core still processes historical transactions in the background to establish the snapshot's accuracy. The experiment proposes using a cryptographic proof instead of that background verification. New nodes could then use a verified snapshot without repeating extensive calculations over historical transactions.

The system uses STARK proofs, which enable computers to check specified calculations without independently repeating every computational step. The experimental proof covered Bitcoin's block headers from the network's beginning. The proof also checked changes in unspent outputs from block 935,001 through block 972,500. However, the calculations used a trusted Bitcoin Core snapshot at block 935,000 as the starting point, rather than reconstructing the complete transaction history. The system omitted transaction script and signature checks, so the system does not yet offer the verification guarantees of a fully validating Bitcoin node.

In the November disclosure, l-henri proposed testing a Bitcoin Core modification that would accept proof-backed snapshots and omit the existing background validation. The modification would change Bitcoin Core's current practice of independently checking historical records after loading a snapshot. Bitcoin Core does not currently support the proposed integration. The project remains experimental and has not received an external security review. The next test must establish whether the proofs can replace historical checks with sufficient verification guarantees without weakening the security assumptions underlying Bitcoin nodes.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.