55

区块链,工作证明(POW)代码+原理 golang版剖析-网络安全

 6 years ago
source link: http://blog.51cto.com/iceman123/2089546
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
介绍在之前的文章中,我们构建了一个非常简单的数据结构,这是块链数据库的本质。 而且我们可以用它们之间的链式关系向它添加区块:每个区块与前一个链接。 唉,然而在现实中添加一个区块添加到链是艰巨的工作。工作证明块链的一个关键思想是,必须通过工作证明才能将数据放入其中。这是一个艰巨的工作,使块链安全和一致。此外,这笔辛苦的工作也得到了奖励(这是人们获得采矿硬币的方式)。这种机制与现实生活中的机制非常相似

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK