是否在HyperLedger Fabric中挖掘块? [英] Are blocks mined in HyperLedger Fabric?

查看:78
本文介绍了是否在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:

  1. 将一笔交易发送给一个受信任的VP.
  2. 副总裁将该交易广播给所有其他副总裁.
  3. 所有副总裁(使用PBFT算法)就执行交易的顺序达成共识.
  4. 所有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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆