Inner For-Loop for Speeding Up Blockchain Mining

In this paper, the authors propose to increase the efficiency of blockchain mining by using a population-based approach. Blockchain relies on solving difficult mathematical problems as proof-of-work within a network before blocks are added to the chain. Brute force approach, advocated by some as the...

Full description

Bibliographic Details
Main Authors: Adewumi Tosin P., Liwicki Marcus
Format: Article
Language:English
Published: De Gruyter 2020-02-01
Series:Open Computer Science
Subjects:
Online Access:https://doi.org/10.1515/comp-2020-0004
id doaj-457ca8dbbb5840149e8b0e94f99c1f3f
record_format Article
spelling doaj-457ca8dbbb5840149e8b0e94f99c1f3f2021-09-06T19:19:42ZengDe GruyterOpen Computer Science2299-10932020-02-01101424710.1515/comp-2020-0004comp-2020-0004Inner For-Loop for Speeding Up Blockchain MiningAdewumi Tosin P.0Liwicki Marcus1Luleå University of Technology, Luleå, SwedenLuleå University of Technology, Luleå, SwedenIn this paper, the authors propose to increase the efficiency of blockchain mining by using a population-based approach. Blockchain relies on solving difficult mathematical problems as proof-of-work within a network before blocks are added to the chain. Brute force approach, advocated by some as the fastest algorithm for solving partial hash collisions and implemented in Bitcoin blockchain, implies exhaustive, sequential search. It involves incrementing the nonce (number) of the header by one, then taking a double SHA-256 hash at each instance and comparing it with a target value to ascertain if lower than that target. It excessively consumes both time and power. In this paper, the authors, therefore, suggest using an inner for-loop for the population-based approach. Comparison shows that it’s a slightly faster approach than brute force, with an average speed advantage of about 1.67% or 3,420 iterations per second and 73% of the time performing better. Also, we observed that the more the total particles deployed, the better the performance until a pivotal point. Furthermore, a recommendation on taming the excessive use of power by networks, like Bitcoin’s, by using penalty by consensus is suggested.https://doi.org/10.1515/comp-2020-0004blockchainnetworkinner for-loopsha-256brute force
collection DOAJ
language English
format Article
sources DOAJ
author Adewumi Tosin P.
Liwicki Marcus
spellingShingle Adewumi Tosin P.
Liwicki Marcus
Inner For-Loop for Speeding Up Blockchain Mining
Open Computer Science
blockchain
network
inner for-loop
sha-256
brute force
author_facet Adewumi Tosin P.
Liwicki Marcus
author_sort Adewumi Tosin P.
title Inner For-Loop for Speeding Up Blockchain Mining
title_short Inner For-Loop for Speeding Up Blockchain Mining
title_full Inner For-Loop for Speeding Up Blockchain Mining
title_fullStr Inner For-Loop for Speeding Up Blockchain Mining
title_full_unstemmed Inner For-Loop for Speeding Up Blockchain Mining
title_sort inner for-loop for speeding up blockchain mining
publisher De Gruyter
series Open Computer Science
issn 2299-1093
publishDate 2020-02-01
description In this paper, the authors propose to increase the efficiency of blockchain mining by using a population-based approach. Blockchain relies on solving difficult mathematical problems as proof-of-work within a network before blocks are added to the chain. Brute force approach, advocated by some as the fastest algorithm for solving partial hash collisions and implemented in Bitcoin blockchain, implies exhaustive, sequential search. It involves incrementing the nonce (number) of the header by one, then taking a double SHA-256 hash at each instance and comparing it with a target value to ascertain if lower than that target. It excessively consumes both time and power. In this paper, the authors, therefore, suggest using an inner for-loop for the population-based approach. Comparison shows that it’s a slightly faster approach than brute force, with an average speed advantage of about 1.67% or 3,420 iterations per second and 73% of the time performing better. Also, we observed that the more the total particles deployed, the better the performance until a pivotal point. Furthermore, a recommendation on taming the excessive use of power by networks, like Bitcoin’s, by using penalty by consensus is suggested.
topic blockchain
network
inner for-loop
sha-256
brute force
url https://doi.org/10.1515/comp-2020-0004
work_keys_str_mv AT adewumitosinp innerforloopforspeedingupblockchainmining
AT liwickimarcus innerforloopforspeedingupblockchainmining
_version_ 1717777932167938048