可扩展性
计算机科学
模块化设计
块链
块(置换群论)
分布式计算
网络仿真
软件部署
网络拓扑
数据库事务
计算机体系结构
模拟
操作系统
几何学
程序设计语言
计算机安全
数学
作者
Xuyang Ma,Han Wu,Xu Du,Katinka Wolter
标识
DOI:10.1109/icbc54727.2022.9805504
摘要
To avoid the inconvenience of the deployment of large-scale blockchains, blockchain simulators are used to facilitate blockchain design and implementation. We evaluate state-of-the-art simulators and find that they suffer from low performance and scalability. To build a more general and faster blockchain simulator, we extend an existing blockchain simulator. We add a network module integrated with a network topology generation algorithm and a block propagation algorithm to simulate the block propagation efficiently. We design a binary transaction pool structure and adopt bitwise operations to accelerate the simulation and reduce memory usage. Moreover, we modularize the simulator based on five primary blockchain processes. Significant blockchain elements are implemented in individual modules and can be combined flexibly to simulate different types of blockchains. Experiments demonstrate that the new simulator reduces the simulation time by an order of magnitude and improves scalability, enabling us to simulate more than ten thousand nodes.
科研通智能强力驱动
Strongly Powered by AbleSci AI