吉林大学学报(理学版) ›› 2020, Vol. 58 ›› Issue (5): 1167-1172.

• • 上一篇    下一篇

基于有向无环图的高效区块链共识算法

王壹铭1, 初剑峰1, 王永军2, 陈彦东3   

  1. 1. 吉林大学 计算机科学与技术学院, 长春 130012; 2. 长春市公安局 网安支队, 长春 130051; 3. 吉林大学第二医院 信息中心, 长春 130041
  • 收稿日期:2020-05-20 出版日期:2020-09-26 发布日期:2020-11-18
  • 通讯作者: 陈彦东 E-mail:1514938005@qq.com

Efficient Blockchain Consensus Algorithm Based on Directed Acyclic Graph

WANG Yiming1, CHU Jianfeng1, WANG Yongjun2, CHEN Yandong3   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;
    2. Detachment of Network Security, Changchun City Public Security Bureau, Changchun 130051, China;
    3. Center of Information, The Second Hospital of Jilin University, Changchun 130041, China
  • Received:2020-05-20 Online:2020-09-26 Published:2020-11-18

摘要: 针对传统区块链共识算法存在效率低和大量资源浪费的问题, 提出一种使用基于ID分类的有向无环图数据结构取代传统区块链链式数据结构的算法, 解决了
传统区块链项目无法在短时间内确认大量交易的问题. 该算法使用基于ID分类的有向无环图数据结构能更简单地达成共识, 适用于多用户在同一时间进行交易确认. 该共识算法与传统区块链项目相比能在更短的时间内确认交易, 从而可节省大量的硬件资源, 且提升区块链对交易的处理效率.

关键词: 区块链, 共识算法, 工作量证明(PoW), 股权证明(PoS), 实用拜占庭容错(PBFT)

Abstract: Aiming at the problem that the traditional blockchain consensus algorithms had low efficiency and waste of a lot of resources, we proposed an algorithm that used the directed acyclic graph data structure based on ID classification to replace the traditional blockchain’s chain data structure, which solved the problem that the traditional blockchain project could confirm a large number of transactions in a short time. The proposed algorithm used the data structure of directed acyclic graph based on ID classification could reach a consensus more simply, and this data structure was more suitable for multi-user transaction confirmation at the same time. The proposed consensus algorithm could confirm transactions in a shorter time than traditional blockchain projects, which saved a lot of hardware resources and improved the processing efficiency of blockchain transactions.

Key words: blockchain, consensus algorithm, proof of work (PoW), proof of stake (PoS), practical Byzantine fault tolerance (PBFT)

中图分类号: 

  • TP311.13