GOC-Ledger:基于仅增计数器(Grow-Only Counters)的基于状态的免冲突复制账本
GOC-Ledger: State-based Conflict-Free Replicated Ledger from Grow-Only Counters
AI总结:
本文提出GOC-Ledger,将复制账本建模为基于仅增计数器的状态型CRDT,仅需最终状态传递即可实现收敛与安全,避免可靠广播和操作历史推理,并支持非负余额的顺序更新约束。
摘要:
传统区块链使用共识算法对所有账户的更新进行全排序,这比实现复制账本所需的强度更强,导致更新速度更慢、成本更高。较新的免共识复制账本放弃了共识算法,显著提升了性能并降低了基础设施成本。然而,当前的设计基于将更新操作可靠广播到所有副本,这需要可靠的消息传递,并且需要对操作历史进行推理以建立收敛性和安全性。本文提出了一种复制账本,将其设计为基于仅增计数器(grow-only counters)的基于状态的免冲突复制数据类型(CRDT)。该设计提供两大优势:1)它只需要对最新状态进行较弱的最终传递(eventual transitive delivery),而不需要将所有更新操作可靠广播到所有副本;2)最终收敛性和安全性可以轻松证明,无需对操作历史进行推理:收敛性来自仅增计数器(其本身是CRDT)的组合,安全性可以在本地和全局层面通过计数器状态来表达。此外,容忍临时负余额的应用不需要额外机制,而要求严格非负余额的应用可以通过强制跨副本对同一账户进行顺序更新来支持。我们的设计足以在可能崩溃并恢复的副本上执行,这在所有副本由可信实体管理的部署中很常见。它也可能为探索容忍对抗性副本的新机制提供良好基础。
英文摘要:
Conventional blockchains use consensus algorithms that totally order updates across all accounts, which is stronger than necessary to implement a replicated ledger. This makes updates slower and more expensive than necessary. More recent consensus-free replicated ledgers forego consensus algorithms, with significant increase in performance and decrease in infrastructure costs. However, current designs are based around reliable broadcast of update operations to all replicas which require reliable message delivery and reasoning over operation histories to establish convergence and safety. In this paper, we present a replicated ledger as a state-based conflict-free replicated data type (CRDT) based on grow-only counters. This design provides two major benefits: 1) it requires a weaker eventual transitive delivery of the latest state rather than reliable broadcast of all update operations to all replicas; 2) eventual convergence and safety properties can be proven easily without having to reason over operation histories: convergence comes from the composition of grow-only counters, themselves CRDTs, and safety properties can be expressed over the state of counters, locally and globally. In addition, applications that tolerate temporary negative balances require no additional mechanisms and applications that require strictly non-negative balances can be supported by enforcing sequential updates to the same account across replicas. Our design is sufficient when executing on replicas that might crash and recover, as common in deployments in which all replicas are managed by trusted entities. It may also provide a good foundation to explore new mechanisms for tolerating adversarial replicas.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。