作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2019, Vol. 45 ›› Issue (5): 25-28,34. doi: 10.19678/j.issn.1000-3428.0053516

所属专题: 区块链技术专题

• 区块链专题 • 上一篇    下一篇

一种优化的权益证明共识策略

夏昌琳 a,宋玉蓉b,蒋国平b   

  1. 南京邮电大学 a.计算机学院; b.自动化学院,南京 210046
  • 收稿日期:2018-12-28 出版日期:2019-05-15 发布日期:2019-05-15
  • 作者简介:夏昌琳(1994—),男,硕士研究生,主研方向为区块链、分布式系统、共识机制;宋玉蓉、蒋国平,教授、博士、博士生导师。
  • 基金资助:

    国家自然科学基金(61672298,61873326,61373136);江苏高校哲学社会科学重点项目(2018SJZDI142)

An optimized proof of stake consensus strategy

XIA Changlin a,SONG Yurong b,JIANG Guoping b   

  1. a.School of Computing Science; b.School of Automation,Nanjing University of Posts and Telecommunications,Nanjing 210046,China
  • Received:2018-12-28 Online:2019-05-15 Published:2019-05-15

摘要:

区块链作为一种去中心化的分布式账本技术,主要功能是在无信任的节点之间达成共识。在区块链中合适的共识机制能提高区块链性能,保证交易数据安全。针对权益共识机制中存在的“无风险投注”问题,提出一种新的权益证明共识策略。该策略允许投票节点投出支持票和反对票,若节点对某一分叉投支持票且该分叉最后胜出,则节点获得收益,若节点对某一分叉投出反对票且该分叉最后失败,则节点也获得收益。在以太坊平台上部署智能合约验证该投票策略,结果表明,该策略可以正常执行,并且节点最终达到共识。

关键词: 区块链, 比特币, 共识机制, 区块链分叉, 无风险投注

Abstract:

As a decentralized distributed ledger technology,the main function of blockchain is to reach a consensus among untrusted nodes.In the blockchain,a suitable consensus mechanism can improve the blockchain performance and guarantee transaction data security.This paper proposes a new solution strategy for the “nothing at stake” problem in the Proof of Stakes(PoS).This strategy allows voting nodes to send agreement disagreement votes.If the node votes for a fork and the fork wins,the node will gain the profit.Otherwise,if the node votes against a fork and the fork fails,the node will also gain the profit.A smart contract is deployed on the Ethereum platform to validate the voting strategy.Results show that the proposed strategy can run normally and the nodes finally reach consensus.

Key words: blockchain, Bitcoin, consensus mechanism, blockchain fork, risk free betting

中图分类号: