摘要
区块链作为一种去中心化的分布式账本技术,主要功能是在无信任的节点之间达成共识。在区块链中合适的共识机制能提高区块链性能,保证交易数据安全。针对权益共识机制中存在的"无风险投注"问题,提出一种新的权益证明共识策略。该策略允许投票节点投出支持票和反对票,若节点对某一分叉投支持票且该分叉最后胜出,则节点获得收益,若节点对某一分叉投出反对票且该分叉最后失败,则节点也获得收益。在以太坊平台上部署智能合约验证该投票策略,结果表明,该策略可以正常执行,并且节点最终达到共识。
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.
作者
夏昌琳
宋玉蓉
蒋国平
XIA Changlin;SONG Yurong;JIANG Guoping(School of Computing Science,Nanjing University of Posts and Telecommunications,Nanjing 210046,China;School of Automation,Nanjing University of Posts and Telecommunications,Nanjing 210046,China)
出处
《计算机工程》
CAS
CSCD
北大核心
2019年第5期25-28,34,共5页
Computer Engineering
基金
国家自然科学基金(61672298
61873326
61373136)
江苏高校哲学社会科学重点项目(2018SJZDI142)
关键词
区块链
比特币
共识机制
区块链分叉
无风险投注
blockchain
Bitcoin
consensus mechanism
blockchain fork
risk free betting