SimBlock Simulator Enhancement with Difficulty Level Algorithm Based on Proof-of-Work Consensus for Lightweight Blockchain

工作证明制度 计算机科学 散列函数 块链 块(置换群论) 算法 协议(科学) 理论计算机科学 计算机安全 数学 几何学 医学 病理 替代医学
作者
Viddi Mardiansyah,Riri Fitri Sari
出处
期刊:Sensors [Multidisciplinary Digital Publishing Institute]
卷期号:22 (23): 9057-9057 被引量:6
标识
DOI:10.3390/s22239057
摘要

Proof-of-Work (PoW) was the first blockchain consensus protocol discovered, followed by Proof-of-Stake and others. The disadvantage of the PoW is that it requires high energy consumption compared to other consensus protocols. Based on this weakness, some researchers proposed a lightweight blockchain technology, a modified blockchain that has a simplified algorithm but does not reduce the security factor. This lightweight blockchain is suitable for applications requiring data reliability but with limited computing resources, such as Internet of Things devices. This paper discussed and modified the SimBlock simulator as one of the existing blockchain simulators. It has a visualization tool to look further into the propagation transition of the block. Unfortunately, the existing PoW consensus on the SimBlock simulator is unable to pinpoint the actual hash computation method. Therefore, the hashing process in the SimBlock simulator was modified by including the difficulty level for finding the hash target. The purpose of including the difficulty level was to determine how long it takes to create a block. By knowing the time needed, a recommendation could be obtained for the most suitable difficulty level for a lightweight blockchain and its implementation with IoT devices. There are two options of approaches to the difficulty level referred to in this paper; finding the number of zeros that appear sequentially and are in front of a hash value (leading zero) and finding the number of zeros that appear arbitrarily (count zero). For example, the first difficulty level on a leading-zero quest has the same meaning as searching for a leading zero, the second level of difficulty is the search for the two leading zeros, etc. The block generation time on a blockchain network using the PoW consensus highly depends on the difficulty level. Block generation time and resource utility have been analyzed and compared with other blockchain simulators and existing networks, such as Ethereum and Bitcoin. The modified SimBlock simulator was tested in this experiment using 100–600 nodes, with the expected result of creating 100–1000 blocks. Based on the experiments, creating a block using leading zeros as the hash target for the first to fourth difficulty levels took less than 1 s, whereas when using count zeros (zero-count) as the target hash, it took less than 1 s for the first to fifteenth difficulty levels. Using leading zeros took approximately 237.4 s at difficulty level 7, while count-zero took approximately 633.8 s at difficulty level 19. The experiment was not continued at the next difficulty level because it required a longer compilation time. With the modifications made, the creation of a block on a blockchain network using the PoW consensus can be clearly seen. The difficulty level added to the simulator can also provide information for determining the difficulty level to be implemented on the lightweight blockchain.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
解觅荷完成签到,获得积分10
1秒前
4秒前
冬雪完成签到,获得积分10
7秒前
大模型应助Ade采纳,获得10
8秒前
清心淡如水完成签到,获得积分10
10秒前
可靠之玉完成签到,获得积分10
10秒前
zcl发布了新的文献求助10
11秒前
研友_Lmg01Z完成签到,获得积分20
12秒前
13秒前
15秒前
小超完成签到,获得积分10
15秒前
17秒前
小蘑菇应助一一一采纳,获得10
18秒前
20秒前
22秒前
笙笙发布了新的文献求助10
22秒前
勤奋映之完成签到 ,获得积分10
22秒前
Lucas应助关天木采纳,获得10
24秒前
27秒前
cdercder应助科研通管家采纳,获得10
29秒前
赘婿应助科研通管家采纳,获得10
29秒前
cdercder应助科研通管家采纳,获得10
29秒前
29秒前
wy.he应助科研通管家采纳,获得30
29秒前
Hello应助科研通管家采纳,获得10
29秒前
cdercder应助科研通管家采纳,获得10
29秒前
29秒前
29秒前
姜sir完成签到 ,获得积分10
29秒前
30秒前
怕孤独的修杰完成签到 ,获得积分10
30秒前
犹豫野狼完成签到 ,获得积分10
30秒前
chenu给chenu的求助进行了留言
31秒前
研友_Lmg01Z发布了新的文献求助10
31秒前
superLmy完成签到 ,获得积分10
32秒前
32秒前
32秒前
32秒前
33秒前
35秒前
高分求助中
【此为提示信息,请勿应助】请按要求发布求助,避免被关 20000
Continuum Thermodynamics and Material Modelling 2000
Encyclopedia of Geology (2nd Edition) 2000
105th Edition CRC Handbook of Chemistry and Physics 1600
Maneuvering of a Damaged Navy Combatant 650
Периодизация спортивной тренировки. Общая теория и её практическое применение 310
Mixing the elements of mass customisation 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3779613
求助须知:如何正确求助?哪些是违规求助? 3325127
关于积分的说明 10221318
捐赠科研通 3040220
什么是DOI,文献DOI怎么找? 1668678
邀请新用户注册赠送积分活动 798766
科研通“疑难数据库(出版商)”最低求助积分说明 758535