摘要
针对工作量证明(PoW)共识算法中存在的网络性能太低、资源浪费、算力集中化等缺陷,面向公有链设计并提出结合权益证明的新式工作量证明共识算法。因PoW算法无限期的挖矿时间导致交易时延过长,提出一个期望时间机制,交互使用类权益证明进行出块,降低交易时延;增添挖矿时间作为权重之一,优化权益证明参数,解决其余节点挖矿浪费时间能源和权益证明公平性问题;为避免过于倾向某一种共识机制的平衡性问题,提出动态调整难度机制,根据实际出块时间不断调整挖矿难度值。实验结果表明,提出的IPoW共识算法相较于PoW共识算法,交易吞吐量提升23%,耗能降低35%,具有高性能,低耗能,出块时间稳定,选举公平等特性。
In response to the shortcomings of low network performance,waste of resources,and centralized com⁃puting power in the proof-of-work(PoW)consensus algorithm,a new PoW consensus algorithm combined with proof-of-stake was proposed for the public chain designed.Due to the indefinite mining time of the PoW algorithm,the transaction delay is too long.An expected time mechanism was proposed to interactively use the proof-of-stake to generate blocks to reduce the transaction delay.The mining time was added as one of the weights to optimize the proof-of-stake parameters,to solve the problem of time-wasting energy and equity proof fairness in mining for other nodes;In order to avoid the balance problem of overly inclined to a certain consensus mechanism,a dynamic adjust⁃ment difficulty mechanism was proposed,and the mining difficulty value was continuously adjusted according to the actual block production time.The experimental results show that,compared with the PoW consensus algorithm,the proposed IPoW consensus algorithm can increase the transaction throughput by 23%and reduce the energy consump⁃tion by 35%.It has the characteristics of high performance,low energy consumption,stable block time,and fair e⁃lection.
作者
隋星原
王峰
SUI Xing-yuan;WANG Feng(School of Information and Computer,Taiyuan University of Technology,Taiyuan Shanxi 030600,China)
出处
《计算机仿真》
北大核心
2023年第12期455-459,464,共6页
Computer Simulation
关键词
区块链
公有链
共识算法
Blockchain
Public chain
Consensus algorithm