Genetic-Algorithm-Inspired Difficulty Adjustment for Proof-of-Work Blockchains

被引:3
|
作者
Chin, Zi Hau [1 ]
Yap, Timothy Tzen Vun [2 ]
Tan, Ian Kim Teck [3 ]
机构
[1] Monash Univ Malaysia, Sch Informat Technol, Jalan Lagoon Selatan, Bandar Sunway 47500, Subang Jaya, Malaysia
[2] Multimedia Univ, Fac Comp & Informat, Persiaran Multimedia, Cyberjaya 63100, Malaysia
[3] Heriot Watt Univ Malaysia, Sch Math & Comp Sci, 1,Jalan Venna P5-2,Precinct 5, Putrajaya 62200, Malaysia
来源
SYMMETRY-BASEL | 2022年 / 14卷 / 03期
关键词
blockchain; difficulty adjustment; genetic algorithm; proof-of-work;
D O I
10.3390/sym14030609
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
In blockchains, the principle of proof-of-work (PoW) is used to compute a complex mathematical problem. The computation complexity is governed by the difficulty, adjusted periodically to control the rate at which new blocks are created. The network hash rate determines this, a phenomenon of symmetry, as the difficulty also increases when the hash rate increases. If the hash rate grows or declines exponentially, the block creation interval cannot be maintained. A genetic algorithm (GA) is proposed as an additional mechanism to the existing difficulty adjustment algorithm for optimizing the blockchain parameters. The study was conducted with four scenarios in mind, including a default scenario that simulates a regular blockchain. All the scenarios with the GA were able to achieve a lower standard deviation of the average block time and difficulty compared to the default blockchain network without GA. The scenario of a fixed difficulty adjustment interval with GA was able to reduce the standard deviation of the average block time by 80.1%, from 497.1 to 98.9, and achieved a moderate median block propagation time of 6.81 s and a stale block rate of 6.67%.
引用
收藏
页数:21
相关论文
共 26 条
  • [1] A GENERAL DIFFICULTY CONTROL ALGORITHM FOR PROOF-OF-WORK BASED BLOCKCHAINS
    Zhang, Shulai
    Ma, Xiaoli
    [J]. 2020 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 2020, : 3077 - 3081
  • [2] Difficulty Prediction for Proof-of-Work Based Blockchains
    Zheng, Kaiwen
    Zhang, Shulai
    Ma, Xiaoli
    [J]. PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING ADVANCES IN WIRELESS COMMUNICATIONS (IEEE SPAWC2020), 2020,
  • [3] Analysis of Difficulty Control in Bitcoin and Proof-of-Work Blockchains
    Fullmer, Daniel
    Morse, A. Stephen
    [J]. 2018 IEEE CONFERENCE ON DECISION AND CONTROL (CDC), 2018, : 5988 - 5992
  • [4] Block Interval Adjustment Toward Fair Proof-of-Work Blockchains
    Kanda, Reiki
    Shudo, Kazuyuki
    [J]. 2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDEW 2020), 2020, : 1 - 6
  • [5] On the Storage Overhead of Proof-of-Work Blockchains
    Sforzin, Alessandro
    Maso, Matteo
    Soriente, Claudio
    Karame, Ghassan
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN (BLOCKCHAIN 2022), 2022, : 258 - 265
  • [6] Analysis of the confirmation time in proof-of-work blockchains
    Malakhov, Ivan
    Marin, Andrea
    Rossi, Sabina
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2023, 147 : 275 - 291
  • [7] Proof-of-work blockchains and settlement finality: a functional interpretation
    Wandhofer, Ruth
    Berndsen, Ron
    [J]. JOURNAL OF FINANCIAL MARKET INFRASTRUCTURES, 2019, 7 (04): : 71 - 104
  • [8] Control-oriented modelling of proof-of-work blockchains
    Leva, Alberto
    Strada, Silvia
    Tanelli, Mara
    [J]. 2019 18TH EUROPEAN CONTROL CONFERENCE (ECC), 2019, : 2873 - 2878
  • [9] Workflow Management on Proof-of-Work Blockchains: Implications and Recommendations
    Evermann J.
    Kim H.
    [J]. SN Computer Science, 2021, 2 (1)
  • [10] On the trade-offs of Proof-of-Work algorithms in blockchains
    Chin, Zi Hau
    Yap, Timothy Tzen Vun
    Tan, Ian K. T.
    [J]. COMPUTATIONAL SCIENCE AND TECHNOLOGY (ICCST 2019), 2020, 603 : 575 - 584