是否在HyperLedger Fabric中挖掘块? [英] Are blocks mined in HyperLedger Fabric?
问题描述
我一直在阅读有关HyperLedger Fabric项目如何实施开源BlockChain解决方案的文档:
I have been reading the documentation on how HyperLedger Fabric's project is implementing a open source BlockChain solution: https://github.com/hyperledger/fabric/blob/master/docs/protocol-spec.md
我已经看到使用了PBFT共识算法,但是我不了解在BlockChain网络中如何在所有验证对等方之间挖掘和共享块.
I have seen that PBFT consensus algorithm is used, but I do not understand how blocks are mined and shared among all Validating Peers in the BlockChain network.
推荐答案
超级账本验证对等点(VP)不会挖掘块,也不会在它们之间共享块.运作方式如下:
Hyperledger Validating Peers (VPs) do not mine blocks and do not share the blocks between them. Here is how it works:
- 将一笔交易发送给一个受信任的VP.
- 副总裁将该交易广播给所有其他副总裁.
- 所有副总裁(使用PBFT算法)就执行交易的顺序达成共识.
- 所有VP按照总订单独立"执行事务,并使用已执行的事务构建一个块(主要计算哈希值).
所有块都是相同的,因为:事务执行是确定的(应该是),并且块中的tx数量是固定的.
All the blocks will be the same because: the transaction execution is deterministic (should be) and the number of tx in a block is fixed.
这篇关于是否在HyperLedger Fabric中挖掘块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!