通过Kadena的Chainweb演示的基于代理的区块链协议模拟
Agent-Based Simulations of Blockchain protocols illustrated via Kadena's Chainweb
摘要:
虽然许多分布式共识协议在恶意行为者存在的情况下提供了强大的活性和一致性保证,但对经济激励如何影响安全性的定量估计却很少。在本文中,我们描述了一个系统,用于模拟对抗代理如何与区块链协议进行交互,无论是经济上理性的还是拜占庭式的。该系统提供了攻击的经济难度的统计估计,以及某些参与者的存在如何影响协议级别的统计数据,例如恢复活动的预期时间。这个模拟系统的算法交易和强化学习系统的设计,使用显式建模的代理的奖励机制,以评估和优化一个完全自主智能体的影响。我们实现并将此模拟框架应用于Kadena的Chainweb,一个并行化的工作量证明系统,其中包含矿工激励合规性如何影响安全性和审查阻力的复杂性。我们提供了Chainweb的第一个正式描述,这是在文献中,并使用这种形式化的描述,以激励我们的模拟设计。我们的模拟结果包括块高度增长率的相变作为碎片连接的函数,以及经验证据表明Chainweb中的审查对于理性的矿工来说成本太高。最后,我们展望了仿真如何在各种情况下引导和优化协议开发,包括权益证明参数优化和对等网络设计。
英文摘要:
While many distributed consensus protocols provide robust liveness and consistency guarantees under the presence of malicious actors, quantitative estimates of how economic incentives affect security are few and far between. In this paper, we describe a system for simulating how adversarial agents, both economically rational and Byzantine, interact with a blockchain protocol. This system provides statistical estimates for the economic difficulty of an attack and how the presence of certain actors influences protocol-level statistics, such as the expected time to regain liveness. This simulation system is influenced by the design of algorithmic trading and reinforcement learning systems that use explicit modeling of an agent's reward mechanism to evaluate and optimize a fully autonomous agent. We implement and apply this simulation framework to Kadena's Chainweb, a parallelized Proof-of-Work system, that contains complexity in how miner incentive compliance affects security and censorship resistance. We provide the first formal description of Chainweb that is in the literature and use this formal description to motivate our simulation design. Our simulation results include a phase transition in block height growth rate as a function of shard connectivity and empirical evidence that censorship in Chainweb is too costly for rational miners to engage in. We conclude with an outlook on how simulation can guide and optimize protocol development in a variety of contexts, including Proof-of-Stake parameter optimization and peer-to-peer networking design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。