[BIP Draft] Segregated Data: a prunable, script-isolated block region for data carriage

Jun 23 - Jul 10, 2026

  • The Segregated Data (SegData) proposal introduces a new method for handling arbitrary data within Bitcoin blocks via a soft fork, designed to allow efficient data storage without the intent of value transfer.

The SegData entries are integrated in-block through a unique Merkle root and validated only at the tip by every node, which enables optional pruning after a standard retention window. This system places the burden of storage costs on operators who choose to retain the data, rather than distributing it across the entire network. Engineered following the BIP-141 structure, SegData involves modifications to block serialization, extends the weight formula, and introduces reference outputs that are witness v2, hold no value, are unspendable, and are excluded from the UTXO set. These features ensure prunability of the data as consensus does not necessitate reading these entries post-validation, and they cannot instigate any transactions. Depth-scoped validation ensures full enforcement within the retention window with reduced checks thereafter, maintaining synchronization independent of nodes voluntarily retaining data. Potential adopters of SegData include off-chain data interpreters such as indexers for application-layer assets, timestamping services, and attestations. For more detailed discussions and feedback, interested parties can refer to the draft BIPs provided Consensus BIP and Peer-services BIP.

Node operators face decisions on whether to retain or prune data after processing, influencing both storage costs and resource utilization. Pruning helps reduce storage needs, generally less costly than processing power. The implementation of new data structures requiring consensus increases resource consumption as all full nodes must process these structures. An alternative is using a soft fork to commit data like a Merkle root into an OP_RETURN transaction, saving critical resources and akin to platforms like OpenTimestamps that effectively use this method. This choice affects blockchain operations' efficiency and cost-effectiveness, reflecting a trade-off between immediate resource expenditure and long-term data management.

SegData segregates certain data types, reducing necessity during Initial Block Download (IBD) and regular storage processes. By skipping validation for segregated data, node resources are conserved. Unlike traditional methods such as OP_RETURN, SegData offers a structured region supporting consensual retention, allowing data to remain on-chain efficiently and aligning with both data providers and network efficiency needs.

The inquiry into why Bitcoin node runners would store nonmonetary data highlights several considerations. The immutable nature of blockchain provides a permanent information record, highly valuable for applications requiring verifiable timestamps or metadata preservation against tampering. Additionally, the decentralization aspect ensures data replication across all nodes, enhancing security despite the inherent limitations due to size and bandwidth considerations.

The recent discussions around SegData emphasize its distinct approach compared to traditional systems, providing flexibility for node operators to opt out of storing data, potentially changing how data storage ecosystems function and influencing management strategies within networks. This flexibility addresses concerns about resource consumption and positions SegData as beneficial for network and storage requirements, highlighting strategic resource management where opting out of specific functionalities can lead to significant resource savings.

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