论文标题
Blocksim:区块链系统的可扩展模拟工具
BlockSim: An Extensible Simulation Tool for Blockchain Systems
论文作者
论文摘要
在设计和部署区块链解决方案中,需要做出许多影响性能的配置选择。我们介绍了Blocksim,这是一种框架和软件工具,用于构建和模拟区块链系统的离散事件动态系统模型。 Blocksim旨在支持对各种区块链和区块链部署的分析以及一系列分析问题。 Blocksim的核心是基本模型,它包含在三个抽象层(网络,共识和激励层)组织的各种区块链系统中常见的主要模型构造。基本模型可用于多种区块链系统,并且可以轻松扩展以包括系统或部署细节。 Blocksim软件工具提供了一个模拟器,该模拟器在Python中实现了基本模型。本文介绍了基本模型,模拟器实现以及Blocksim在比特币,以太坊和其他共识算法中的应用。我们通过与实际系统的性能结果以及文献中其他研究的性能结果进行比较来验证Blocksim仿真结果。我们通过Blocksim模拟研究对叔叔的影响奖励对各种区块链构型的影响进行奖励的影响。
Both in the design and deployment of blockchain solutions many performance-impacting configuration choices need to be made. We introduce BlockSim, a framework and software tool to build and simulate discrete-event dynamic systems models for blockchain systems. BlockSim is designed to support the analysis of a large variety of blockchains and blockchain deployments as well as a wide set of analysis questions. At the core of BlockSim is a Base Model, which contains the main model constructs common across various blockchain systems organized in three abstraction layers (network, consensus and incentives layer). The Base Model is usable for a wide variety of blockchain systems and can be extended easily to include system or deployment particulars. The BlockSim software tool provides a simulator that implements the Base Model in Python. This paper describes the Base Model, the simulator implementation, and the application of BlockSim to Bitcoin, Ethereum and other consensus algorithms. We validate BlockSim simulation results by comparison with performance results from actual systems and from other studies in the literature. We close the paper by a BlockSim simulation study of the impact of uncle blocks rewards on mining decentralization, for a variety of blockchain configurations.