论文标题
本地比特币网络模拟器,用于使用轻质虚拟化进行性能评估
Local Bitcoin Network Simulator for Performance Evaluation using Lightweight Virtualization
论文作者
论文摘要
本文提出了一种新的区块链网络模拟器,该模拟器使用比特币的原始参考实现作为其主要应用程序。所提出的模拟器利用轻巧的虚拟化技术来构建一个微调的本地测试网络。为了在不禁用采矿服务的情况下快速模拟大型网络,模拟器可以将比特币挖掘难度水平调整为低于默认的最小值。为了评估不同网络条件下区块链的性能,模拟器允许定义不同的网络拓扑,并集成了Linux内核流量控制(TC)工具,以在网络节点上应用明显的延迟或数据包丢失。此外,为了验证模拟器的效率,我们进行了一系列实验,并研究了计算能力和网络延迟对网络一致性的影响,从叉子数量和采矿收入方面。还研究了应用不同的采矿难度水平的影响,并评估了块时间以及叉子的发生。此外,还提供了现有区块链模拟器的全面调查和分类法,并进行了讨论,证明需要新模拟器。作为我们贡献的一部分,我们在GitHub(https://github.com/noureddinel/core-bitcoin-net-simulator)上提供了模拟器,供社区使用和改进它。
This paper presents a new blockchain network simulator that uses bitcoin's original reference implementation as its main application. The proposed simulator leverages the use of lightweight virtualization technology to build a fine tuned local testing network. To enable fast simulation of a large scale network without disabling mining service, the simulator can adjust the bitcoin mining difficulty level to below the default minimum value. In order to assess the performance of blockchain under different network conditions, the simulator allows to define different network topologies, and integrates Linux kernel traffic control (tc) tool to apply distinct delay or packet loss on the network nodes. Moreover, to validate the efficiency of our simulator we conduct a set of experiments and study the impact of the computation power and network delay on the network's consistency in terms of number of forks and mining revenues. The impact of applying different mining difficulty levels is also studied and the block time as well as fork occurrences are evaluated. Furthermore, a comprehensive survey and taxonomy of existing blockchain simulators are provided along with a discussion justifying the need of new simulator. As part of our contribution, we have made the simulator available on Github (https://github.com/noureddinel/core-bitcoin-net-simulator) for the community to use and improve it.