BlockSim: A Simulation Framework for Blockchain Systems

Both in the design and deployment of blockchains many configuration choices need to be made. Investigating different implementation and design choices is not feasible or practical on real systems. Therefore, we propose BlockSim as a framework to build discrete-event dynamic system models for blockchain systems. BlockSim is organized in three layers: incentive layer, connector layer and system layer and is implemented in Python. This paper introduces BlockSim, with a particular emphasis on the modeling and simulation of block creation through the Proof of Work consensus algorithm.

[1]  Ingo Weber,et al.  Predicting Latency of Blockchain-Based Systems Using Architectural Modelling and Simulation , 2017, 2017 IEEE International Conference on Software Architecture (ICSA).

[2]  Hubert Ritzdorf,et al.  On the Security and Performance of Proof of Work Blockchains , 2016, IACR Cryptol. ePrint Arch..

[3]  Aad van Moorsel Benchmarks and Models for Blockchain , 2018, ICPE.

[4]  Holger Paul Keeler,et al.  Bitcoin blockchain dynamics: The selfish-mine strategy in the presence of propagation delay , 2015, Perform. Evaluation.

[5]  Cesare Pautasso,et al.  The Blockchain as a Software Connector , 2016, 2016 13th Working IEEE/IFIP Conference on Software Architecture (WICSA).