Witnessless Sync for Pruned Nodes

Posted by JoseSK999

May 31, 2025/16:19 UTC

The discussion revolves around the concept of Witnessless Sync for pruned nodes in the Bitcoin blockchain, particularly focusing on the security implications and bandwidth savings of skipping assumed-valid witness downloads. The original proposition for this method was highlighted in a piece on Segregated Witness Benefits, which introduced the idea before the assume-valid feature was implemented. Following a question on Bitcoin Stack Exchange about why witness data is downloaded during initial block download (IBD) in prune mode, a pull request (PR) was submitted to Bitcoin Core to explore this further amid concerns that it might reduce security.

The analysis put forth argues that Witnessless Sync could significantly reduce bandwidth usage by over 40% during IBD, amounting to substantial data savings. This efficiency gain complements the assume-valid feature well as it alleviates not just CPU but also bandwidth bottlenecks. The implementation of such a feature has been described as relatively straightforward. A key point of contention, however, is the availability of witness data. Critics suggest that not downloading witness data might compromise the integrity of the verification process since this data isn't checked for availability beforehand.

However, the counterargument presented relies on the premise that using assume-valid already implies trust in the validity of scripts within blocks. For these scripts to be valid, their corresponding witnesses must have been available at some point—meaning that if a block is assumed-valid, its witness data was implicitly verified as available. Therefore, the process of Witnessless Sync does not neglect data availability but rather follows the same model as regular pruned nodes, which only require a one-time check of data availability during IBD. This perspective suggests that downloading witness data for blocks marked as assume-valid is redundant since their witness availability was inherently confirmed. The proposal concludes that Witnessless Sync should be considered as secure as maintaining a long-running pruned node because the essential check for data availability has been indirectly satisfied. The author invites feedback and criticism on this view, aiming to refine the understanding and application of Witnessless Sync in the context of Bitcoin's network efficiency and security.

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