BlockSim: An Extensible Simulation Tool for Blockchain Systems

04/28/2020
by   Maher Alharby, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/11/2022

CBlockSim: A Modular High-Performance Blockchain Simulator

Blockchain has attracted much attention from both academia and industry ...
research
02/04/2020

Local Bitcoin Network Simulator for Performance Evaluation using Lightweight Virtualization

This paper presents a new blockchain network simulator that uses bitcoin...
research
08/23/2022

Blockchain Simulators: A Systematic Mapping Study

Recently, distributed ledger technologies like blockchain have been prol...
research
07/26/2021

Studying the anonymity trilemma with a discrete-event mix network simulator

In this work, we present a discrete event mix network simulator, which a...
research
08/03/2018

Performance Analysis of the Raft Consensus Algorithm for Private Blockchains

Consensus is one of the key problems in blockchains. There are many arti...
research
07/05/2022

Understanding blockchain: definitions, architecture, design, and system comparison

The explosive advent of the blockchain technology has led to hundreds of...
research
04/09/2020

Which Blockchain to choose? A decision support tool to guide the choice of a Blockchain technology

Companies trying to build new solutions using blockchain are confronted ...

Please sign up or login with your details

Forgot password? Click here to reset