Introduction
Decentralized Storage Networks (DSNs) like Filecoin, Sia, and Storj aim to create a global, trustless marketplace for storage. To optimize space, these networks often employ Erasure Coding (EC)—a technique that splits files into data and parity chunks, allowing for recovery even if some pieces are lost. However, existing implementations face two critical vulnerabilities: Byzantine encoders and suboptimal resilience against Sybil attacks.
The Problem: Byzantine Encoders and Suboptimal Resilience
A major risk in current DSNs is the "Byzantine Encoder." If the node responsible for encoding a file is malicious, it can generate "garbage" parity chunks. This attack often remains undetected until a user attempts to reconstruct their file and fails.
Furthermore, many DSNs exhibit suboptimal resilience. For instance, Filecoin’s consensus can only tolerate up to 20% of the network's storage being controlled by an adversary, despite the theoretical Byzantine Fault Tolerance (BFT) limit of 33%.
The BFT-DSN Solution
BFT-DSN is a novel decentralized storage network designed to achieve optimal Byzantine fault tolerance (33% resilience) by unifying erasure coding with storage-weighted consensus.
System Architecture
The BFT-DSN framework integrates several cryptographic and distributed systems techniques to secure the storage lifecycle:
- Verifiable Erasure Coding: To thwart malicious encoders, BFT-DSN utilizes Homomorphic Fingerprints (HF). This allows storage nodes to mathematically verify the consistency of parity chunks without needing access to the entire file.
- Storage-Weighted BFT (SW-BFT): Instead of a "one node, one vote" system, which is susceptible to Sybil attacks, BFT-DSN bases voting power on verified physical storage ("sectors"). This ensures that an attacker must provide actual hardware resources to gain influence.
- Weighted Threshold Signatures (WTS): This speeds up verification by aggregating partial signatures from miners. A chunk is validated once it reaches a specific threshold of storage weight.
Key Results and Performance
Evaluations using synthetic workloads (files ranging from 10 MB to 200 MB) demonstrate that BFT-DSN significantly outperforms existing baselines:
- Optimal Resilience: BFT-DSN maintained a 100% retrieval success rate as long as the adversary controlled less than 33% of the storage. In contrast, Filecoin’s success rate dropped sharply once adversarial control exceeded 20%.
- Storage Efficiency: By utilizing EC rather than simple replication, BFT-DSN is highly efficient. For a 200 MB file, BFT-DSN required less than 0.5 GB of storage, whereas Filecoin required over 3.5 GB due to replication and padding overhead.
- Competitive Latency: Despite additional cryptographic checks, "Put" and "Get" latencies remained comparable to Filecoin and Sia, and were notably faster than Storj.
Conclusion and Future Directions
BFT-DSN successfully aligns the security bounds of storage and consensus to the optimal theoretical limit. By treating storage as identity, it makes Sybil attacks prohibitively expensive while maintaining high efficiency. Future work will focus on applying erasure coding to the blockchain state data itself and exploring flexible sector sizes to better accommodate smaller storage providers.
Summary updated