Simulating difficulty adjustment in blockchain with SimBlock

Research output: Chapter in Book/Report/Conference proceedingConference contribution

10 Citations (Scopus)

Abstract

A blockchain is a gradually increasing list of "blocks"containing information that are linked together using cryptographic hashes. It is a distributed, decentralized, and public digital ledger technology. Blockchains have caught not only the attention of researchers but also industries that are interested in implementing blockchains into existing products and services. However, performing studies on actual blockchain networks remain challenging as they may involve many nodes or these nodes could be placed in different geographical regions. Simulators for Proof-of-Work blockchain exists to facilitate this, but features such as difficulty adjustment or dynamic hash rate are not available. Using SimBlock, a blockchain network simulator as a base, difficulty adjustment algorithm and the capacity to increase or decrease hash rate dynamically were added to the simulator and the efficacy of the implementation was investigated for two scenarios; fixed hash rate and increasing hash rate periodically, over the length of the simulations. Based on the experiments, higher precision in terms of the average of actual time taken to mine a block were obtained, with a deviation of 0.68% compared to 5.73% in original SimBlock, and a deviation of 7.10% compared to 10.91% in original SimBlock, for fixed hash rate and dynamic hash rate adjustment respectively. Further studies were conducted for data from 2019 where the proposed implementation resulted in less than half the deviation achieved by the original implementation of SimBlock.

Original languageEnglish
Title of host publicationBSCI '20: Proceedings of the 2nd ACM International Symposium on Blockchain and Secure Critical Infrastructure
PublisherAssociation for Computing Machinery
Pages192-197
Number of pages6
ISBN (Electronic)9781450376105
DOIs
Publication statusPublished - 6 Oct 2020
Event2nd ACM International Symposium on Blockchain and Secure Critical Infrastructure 2020 - Virtual, Online, Taiwan, Province of China
Duration: 6 Oct 2020 → …

Conference

Conference2nd ACM International Symposium on Blockchain and Secure Critical Infrastructure 2020
Abbreviated titleBSCI 2020, Co-located with AsiaCCS 2020
Country/TerritoryTaiwan, Province of China
CityVirtual, Online
Period6/10/20 → …

Keywords

  • Bitcoin
  • Blockchain
  • Difficulty
  • Proof-of-work
  • Simulator

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems
  • Software

Fingerprint

Dive into the research topics of 'Simulating difficulty adjustment in blockchain with SimBlock'. Together they form a unique fingerprint.

Cite this