arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06579cs.DB
收藏

SonicDB S6: 一种存储高效的Verkle树用于高吞吐量区块链

SonicDB S6: A Storage-Efficient Verkle Trie for High-Throughput Blockchains

Sonic Labs

Luigi Crisci, Lorenz Schuler, Herbert Jordan, Bernhard Scholz

AI总结:

本文提出SonicDB S6,一种用于Sonic区块链的生产级Rust Verkle树数据库,通过非分支特性实现存储优化,减少存储占用并提高吞吐量。

摘要:

以太坊状态数据库使用Merkle Patricia Trie(MPT),但其见证证明大小大且存储开销高。Verkle树被提出作为替代方案,通过向量承诺和内积论证聚合,提供低于150字节的见证证明。然而,在高吞吐量、短块时间的区块链如Sonic中部署Verkle树会带来显著的工程挑战,包括存储效率、承诺计算成本以及实时服务活体和历史状态查询的需求。我们提出了SonicDB S6,一种用于Sonic区块链的生产级Rust Verkle树数据库,利用其非分支特性实现激进的存储优化。通过占用意识的节点专业化,选择通过$\mathcal{O}(k n^2)$动态规划,将活体存储减少97.8%。记录仅改变槽位的Delta节点将归档存储减少95%。批量更新、多线程承诺计算以及同态Pedersen缓存使SonicDB S6的吞吐量比持久化的Geth Verkle基准高3.2倍,同时维持生产块率性能。

英文摘要:

The Ethereum state database uses Merkle Patricia Trie (MPT), which suffers from large witness proof sizes and high storage overhead. Verkle Tries have been proposed as a replacement, offering witness proofs below 150 bytes through vector commitments and Inner Product Argument aggregation. However, deploying a Verkle Trie in a high-throughput, short block-time blockchain such as Sonic, which produces a block every 300 milliseconds, introduces substantial engineering challenges related to storage efficiency, commitment computation costs, and the need to serve both live and historical state queries in real time. We present SonicDB S6, a production-grade Rust Verkle Trie database for the Sonic blockchain, which leverages its non-forking property to enable aggressive storage optimizations. Occupancy-aware node specializations, selected via an $\mathcal{O}(k n^2)$ dynamic program, reduce live storage by 97.8\%. Delta nodes that record only changed slots reduce archive storage by 95\%. Batched updates, multi-threaded commitment computation, and homomorphic Pedersen caching yield $3.2\times$ higher throughput than a persistent Geth Verkle baseline while sustaining production block-rate performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑