BlockSim: An Extensible Simulation Tool for Blockchain Systems

BlockSim: An Extensible Simulation Tool for Blockchain Systems
复制标题

DOI:
10.3389/fbloc.2020.00028
复制
发表时间:
2020-06-09
影响因子:
3.1
通讯作者:
van Moorsel, Aad
van Moorsel, Aad
中科院分区:
其他
文献类型:
--
作者:
Alharby, Maher;van Moorsel, Aad

文献摘要

被引文献

相似文献

在区块链解决方案的设计和部署中,需要做出许多影响性能的配置选择。我们介绍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. The 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.