SeF:一种用于降低区块链存储成本的安全喷泉架构
SeF: A Secure Fountain Architecture for Slashing Storage Costs in Blockchains
摘要:
完整节点同步整个区块链历史并独立验证所有区块,通过在确保安全属性方面发挥至关重要的作用,形成任何区块链网络的骨干。另一方面,运行完整节点的用户需要在存储成本方面付出沉重的代价。例如,在一个示例中,比特币区块链的大小已经超过215 GB,尽管它的吞吐量很低。高吞吐量区块链Ripple的账本大小已经达到9 TB,并且以每天12 GB的惊人速度增长!在本文中,我们提出了一个架构的基础上“喷泉码”,一类纠删码,使任何完整的节点“编码”验证块成少量的“编码块”,从而减少其存储成本的数量级。特别是,我们提出的“安全喷泉(SeF)”架构可以在每个节点的存储节省和“引导成本”(新节点需要联系以恢复区块链的(诚实)存储受限节点的数量)之间实现接近最佳的权衡。SeF码的一个关键技术创新是使喷泉码能够安全地对抗可以提供恶意形成的编码块的对抗节点。我们的想法是使用头链作为“边信息”来检查编码块是否在解码时被恶意形成。此外,喷泉码的“无比率属性”有助于实现高度分散化和可扩展性。我们的实验表明,经过调整以实现1000倍存储节省的SeF代码使完整节点能够将191 GB的比特币区块链平均编码为195 MB。新节点可以从任意一组存储受限节点中恢复区块链,只要该组平均包含约1100个诚实节点即可。请注意,对于1000倍的存储节省,要联系的诚实节点数量的基本界限是1000:实际上我们需要多10%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。