Skip to main content
QUICK REVIEW

[Paper Review] SeF: A Secure Fountain Architecture for Slashing Storage Costs in Blockchains

Swanand Kadhe, Jichan Chung|arXiv (Cornell University)|Jun 28, 2019
Blockchain Technology Applications and SecurityComputer Science30 references26 citations
TL;DR

This paper proposes SeF, a secure fountain coding architecture that reduces blockchain storage costs by orders of magnitude using rateless erasure codes, enabling full nodes to encode the entire blockchain into a small number of coded 'droplet' blocks. It achieves near-optimal trade-offs between storage savings and bootstrap cost, with experiments showing 1000× storage reduction on Bitcoin (from 191GB to 195MB) and a bootstrap cost of ~1100 honest nodes—only 10% above the theoretical minimum of 1000.

ABSTRACT

Full nodes, which synchronize the entire blockchain history and independently validate all the blocks, form the backbone of any blockchain network by playing a vital role in ensuring security properties. On the other hand, a user running a full node needs to pay a heavy price in terms of storage costs. E.g., the Bitcoin blockchain size has grown over 215GB, in spite of its low throughput. The ledger size for a high throughput blockchain Ripple has already reached 9TB, and it is growing at an astonishing rate of 12GB per day! In this paper, we propose an architecture based on 'fountain codes', a class of erasure codes, that enables any full node to 'encode' validated blocks into a small number of 'coded blocks', thereby reducing its storage costs by orders of magnitude. In particular, our proposed "Secure Fountain (SeF)" architecture can achieve a near-optimal trade-off between the storage savings per node and the 'bootstrap cost' in terms of the number of (honest) storage-constrained nodes a new node needs to contact to recover the blockchain. A key technical innovation in SeF codes is to make fountain codes secure against adversarial nodes that can provide maliciously formed coded blocks. Our idea is to use the header-chain as a 'side-information' to check whether a coded block is maliciously formed while it is getting decoded. Further, the 'rateless property' of fountain codes helps in achieving high decentralization and scalability. Our experiments demonstrate that SeF codes tuned to achieve 1000x storage savings enable full nodes to encode the 191GB Bitcoin blockchain into 195MB on average. A new node can recover the blockchain from an arbitrary set of storage-constrained nodes as long as the set contains ~1100 honest nodes on average. Note that for a 1000x storage savings, the fundamental bound on the number of honest nodes to contact is 1000: we need about 10% more in practice.

Motivation & Objective

  • Address the exponential growth of blockchain storage costs that outpace Moore’s law, threatening decentralization and node sustainability.
  • Overcome the limitations of existing solutions like SPV clients and pruned nodes, which compromise security or decentralization.
  • Design a scalable, secure, and decentralized architecture that allows storage-constrained nodes to contribute to blockchain bootstrapping without compromising integrity.
  • Achieve near-optimal trade-offs between storage savings and the number of honest nodes a new node must contact during bootstrap.

Proposed method

  • Leverage fountain codes—specifically rateless erasure codes—to encode validated blockchain blocks into a small number of coded blocks (droplets), drastically reducing per-node storage requirements.
  • Introduce a header-chain as side information to detect and reject maliciously formed coded blocks during decoding, ensuring security against adversarial nodes.
  • Use a two-tiered encoding strategy: small epochs are encoded with high redundancy (e.g., k=10,000, s=10), and after a period, the data is re-encoded into larger, more efficient epochs (e.g., k=50,000, s=5) to improve long-term storage efficiency.
  • Implement adaptive, on-demand droplet downloading: a new node (bucket node) queries droplet indices first, then downloads only missing blocks, minimizing bandwidth overhead.
  • Ensure security against oblivious adversaries by proving that decoding failure is unlikely unless a large number of honest droplet nodes are corrupted.
  • Design a dynamic re-encoding mechanism where droplet nodes decode, re-encode, and delete older, less efficient droplets to optimize storage and bandwidth trade-offs over time.

Experimental results

Research questions

  • RQ1Can fountain codes be adapted to blockchain systems to reduce storage costs while maintaining security and decentralization?
  • RQ2What is the fundamental trade-off between storage savings and the number of honest nodes a new node must contact to recover the blockchain?
  • RQ3How can fountain codes be secured against adversarial nodes that inject maliciously formed coded blocks?
  • RQ4Can adaptive, on-demand downloading and re-encoding strategies reduce bandwidth and storage overhead in practice?
  • RQ5To what extent can the proposed SeF architecture scale across different blockchain workloads, such as high-throughput systems like Ripple?

Key findings

  • SeF achieves a 1000× reduction in storage cost on the Bitcoin blockchain, compressing 191GB of data into an average of 195MB using SeF codes with parameters (k=10,000, s=10).
  • A new node requires contact with approximately 1100 honest droplet nodes to recover the full blockchain, which is only 10% above the theoretical lower bound of 1000 for 1000× savings.
  • Bandwidth overhead is significantly reduced by downloading droplets on-demand: adaptive downloading achieves 2.35% overhead for SeF codes with k=10,000 and s=10 when blocks are concatenated to 10MB.
  • The header-chain mechanism enables efficient detection of malicious coded blocks during decoding, ensuring security against oblivious adversaries.
  • The dynamic re-encoding strategy allows droplet nodes to re-encode older data into more efficient codes over time, improving long-term storage efficiency without sacrificing availability.
  • The architecture supports a continuum of trade-offs between storage savings and bootstrap cost, enabling deployment across diverse network conditions and node capabilities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.