Secure Regenerating Codes for Reducing Storage and Bootstrap Costs in Sharded Blockchains

Divija Swetha Gadiraju, V. Lalitha, Vaneet Aggarwal

Abstract

As blockchain networks scale, the increasing storage requirements—often exceeding hundreds of gigabytes—create a "storage tax" that discourages individual participation and promotes centralization. Sharded blockchains attempt to mitigate this by partitioning the network, yet they still suffer from high bootstrap costs when new nodes join. This paper introduces Secure-Repair-Blockchain (SRB), a protocol that utilizes Secure Regenerating Codes to treat node bootstrapping as a distributed storage repair problem. SRB significantly reduces both storage overhead and the bandwidth required for new nodes to join a shard, providing a deterministic and Byzantine-resilient solution.

Introduction

The Bitcoin blockchain currently exceeds 500GB, a size that presents a formidable barrier to entry for average users. Sharding protocols, such as RapidChain, address scalability by splitting the network into smaller groups (shards). However, a critical bottleneck remains: bootstrapping. When a new miner joins a shard, they must typically download the entire shard history to verify the current state. Existing solutions often force a trade-off between high storage costs and probabilistic recovery methods (e.g., Fountain codes) that can be computationally expensive and lack strong guarantees. SRB aims to optimize this trade-off by minimizing storage while drastically lowering the bandwidth "entry fee" for new participants.

Methodology: Bootstrapping as a Repair Problem

The core innovation of SRB is the application of Secure Regenerating Codes, specifically Minimum Bandwidth Regeneration (MBR) codes, to the blockchain context. The authors propose that a new node joining a shard is mathematically equivalent to a "failed node" being repaired in a distributed storage system.

Overview of the SRB protocol showing shard structure and the node repair/reconstruction process.

The Product-Matrix Framework

Instead of storing raw blocks, SRB nodes store linear combinations of blocks using a symmetric message matrix multiplied by an encoding matrix. This structure allows for "exact repair," where a new node can download small, coded chunks from its peers and directly compute its unique storage state without needing to reconstruct the entire original dataset first.

Byzantine Resilience

To maintain security in a decentralized environment, the protocol incorporates Reed-Solomon decoding. This ensures that even if a subset of peers provides malicious or "garbage" data during the bootstrap process, the joining node can still recover the correct shard state.

Evaluation and Results

The authors evaluated SRB using a numerical model based on a system of 16,000 nodes across 16 shards with 2MB block sizes. They compared SRB against RapidChain (a standard sharding protocol) and SeF (Secure Fountain codes).

Comparison of Storage Overhead, Bootstrap Cost, and Security Guarantees between RapidChain, SeF, and SRB.

Key Findings

  • Bandwidth Efficiency: In a shard with 1,000 nodes, a new node joining via RapidChain requires a 2.13 GB download. SRB reduces this bootstrap cost to just 100 MB.
  • Storage Savings: While RapidChain requires nodes to store the full 2.13 GB shard, SRB nodes only need to store 100 MB.
  • Deterministic Recovery: Unlike SeF, which is probabilistic and requires additional side-information (a "header-chain"), SRB is deterministic. The mathematical properties of the code itself handle verification and recovery.

Discussion and Conclusion

While SRB offers significant efficiency gains, it introduces higher computational overhead due to matrix multiplications ($\alpha^3$ complexity) compared to simple block replication. Additionally, the system currently relies on a "reference committee" to assign unique coefficients to nodes, a minor point of coordination in an otherwise decentralized system. Future work will focus on full-scale live implementations to measure real-world network latency and throughput. By drastically lowering the entry barriers for new miners, SRB provides a viable path toward more decentralized and scalable blockchain architectures.

Summary updated

BibTeX
@inproceedings{gadiraju2020secure,
  author = {Divija Swetha Gadiraju and V. Lalitha and Vaneet Aggarwal},
  title = {{Secure Regenerating Codes for Reducing Storage and Bootstrap Costs in Sharded Blockchains}},
  booktitle = {Blockchain},
  year = {2020},
  doi = {10.1109/blockchain50366.2020.00036},
}
Figure