期刊文献+

一种基于区块链PoS共识算法的改进研究 被引量:11

An Improvement on Blockchain-Based PoS Consensus Algorithm
下载PDF
导出
摘要 区块链共识算法保证了区块链中的区块按时间戳有序生成,算法优劣直接影响区块链系统性能。PoS共识算法是一种区块链公有链采用的主流共识算法,但生成区块的时间具有随机性,有些情况下区块间隔时间过长,不能满足商业应用场景需要;针对PoS共识算法生成区块的速度存在的性能局限,改进设计的Silkworm算法,通过智能合约对最快生成区块时间和最慢生成区块时间进行定义,结合Raft算法进行主节点选举;在有交易的情况下,当PoS共识算法未在定义的最快时间内生成区块时,Silkworm算法确保由主节点自动快速生成区块;在无交易情况下,当PoS共识算法未在定义的最慢时间内生成区块时,Silkworm算法也由主节点生成区块。而当主节点关闭或出故障时,PoS共识算法仍然生效正常生成区块。通过实验验证:Silkworm算法能较大提升基于PoS共识算法的区块链的性能,保证了区块链的安全性和健壮性,更能满足商业应用场景的需要。 While ensuring that blocks in the blockchain are generated in an orderly manner according to the timestamp,Blockchain consensus algorithm has a direct effect on the performance of the blockchain system.PoS consensus algorithm is a mainstream one adopted in the public chain of blockchain,blocks are generated randomly and in some cases the time interval between blocks is too long,making it difficult to meet the needs of commercial scenarios.To address performance limitations of PoS consensus algorithm,we design a Silkworm algorithm,which defines the fastest and slowest time for the generation of blocks through smart contract,and which selects the master node by combining Raft algorithm.When there are transactions,if PoS consensus algorithm does not generate blocks within the defined fastest time,the Silkworm algorithm ensures that blocks are automatically generated by the master node.In the case of no transactions,when the PoS consensus algorithm does not generate blocks within the defined slowest time,the Silkworm algorithm also generates blocks through the master node.It still generates blocks normally when the master node shuts down or fails.As verified in experiment,Silkworm algorithm can greatly improve the performance of blockchain based on PoS consensus algorithm,ensure the security and robustness of blockchain,and better meet the needs of commercial application scenarios.
作者 钟增胜 ZHONG Zeng-sheng(School of Computer Science, Central South University, Changsha 410083,China;Admission Office, Chongqing Technology and Business University, Chongqing 400067,China)
出处 《重庆工商大学学报(自然科学版)》 2021年第4期36-41,共6页 Journal of Chongqing Technology and Business University:Natural Science Edition
基金 重庆工商大学2019年校级科研项目资助(960419055).
关键词 区块链 共识算法 POS PoW RAFT blockchain consensus algorithm PoS PoW Raft
  • 相关文献

参考文献4

二级参考文献19

  • 1马克思恩格斯全集第13卷[M],北京:人民出版社,1962.16.
  • 2http://www.ha0123.com/bitcoin.
  • 3Joon lan Wong. 6 Charts Show Massive Bitcoin ATM growth[ EB/OL]. http://www, coindesk, corn/6 -charts -show -massive - bitcoin - atm - growth - 2014 [ 2014 - 12 - 01 ].
  • 4Christophe Langlois. BitPay Signs 1,000 Merchants to Accept Bitcoin Payments[ J]. American Banker, 2012, (12).
  • 5Jillian Kumagai. More Than 21,000 Retailers Accept Bitcoin Payments[ EB/OL]. http ://mashable. com[ 2014 - 11 - 15 ].
  • 6I John Quiggin. The Bitcoin Bubble and a Bad Hypothesis[ J]. Nationalinterest, 2015, (4).
  • 7王丽.格林斯潘称比特币如同泡沫无货币内在价值[EB/OL].http://www.huanqiu.com[2013-12-05].
  • 8李种.超主权国际货币的构建[M].北京:北京师范大学出版社,2014:212.
  • 9杨耀武,杨澄宇.中国基尼系数是否真地下降了?——基于微观数据的基尼系数区间估计[J].经济研究,2015,50(3):75-86. 被引量:88
  • 10袁勇,王飞跃.区块链技术发展现状与展望[J].自动化学报,2016,42(4):481-494. 被引量:2623

共引文献114

同被引文献116

引证文献11

二级引证文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部