Local Bitcoin Network Simulator for Performance Evaluation using Lightweight Virtualization

02/04/2020
by   Lina Alsahan, et al.
0

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.

READ FULL TEXT
research
08/18/2020

A Jumping Mining Attack and Solution

Mining is the important part of the blockchain used the proof of work (P...
research
07/16/2021

Demo – Zelig: Customizable Blockchain Simulator

As blockchain-based systems see wider adoption, it becomes increasingly ...
research
04/28/2020

BlockSim: An Extensible Simulation Tool for Blockchain Systems

Both in the design and deployment of blockchain solutions many performan...
research
12/24/2018

CLoTH: a Simulator for HTLC Payment Networks

The Lightning Network (LN) is one of the most promising off-chain scalin...
research
11/06/2020

BlockSim-Net: A Network Based Blockchain Simulator

Since its proposal by Eyal and Sirer (CACM '13), selfish mining attack o...
research
07/20/2022

Difficulty-Aware Simulator for Open Set Recognition

Open set recognition (OSR) assumes unknown instances appear out of the b...
research
04/27/2023

LNMesh: Who Said You need Internet to send Bitcoin? Offline Lightning Network Payments using Community Wireless Mesh Networks

Bitcoin is undoubtedly a great alternative to today's existing digital p...

Please sign up or login with your details

Forgot password? Click here to reset