Simulating Difficulty Adjustment in Blockchain with SimBlock


Yap, Timothy Tzen Vun and Tan, Ian Kim Teck and Chin, Zi Hau (2020) Simulating Difficulty Adjustment in Blockchain with SimBlock. ATQAM/MAST 2020 - Proceedings of the Joint Workshop on Aesthetic and Technical Quality Assessment of Multimedia and Media Analytics for Societal Trends. pp. 192-197. ISSN 2168-4081

[img] Text
chin2020.pdf - Published Version
Restricted to Repository staff only

Download (2MB)


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.

Item Type: Article
Uncontrolled Keywords: Simulator
Subjects: T Technology > TK Electrical engineering. Electronics Nuclear engineering > TK5101-6720 Telecommunication. Including telegraphy, telephone, radio, radar, television
Divisions: Faculty of Computing and Informatics (FCI)
Depositing User: Ms Suzilawati Abu Samah
Date Deposited: 03 Nov 2021 02:07
Last Modified: 03 Nov 2021 02:07


Downloads per month over past year

View ItemEdit (login required)