hyperledger-fabric - 在 Hyperledger Fabric 中,orderer 创世 block 的重要性是什么?

标签 hyperledger-fabric

build your first network documentation.TwoOrgsOrdererGenesis: generates the genesis block for a Solo ordering service.TwoOrgsChannel: generates the genesis block for our channel, mychannel.mychannel.tx是 channel 中的创世块,任何想要加入 channel 的对等点都需要这个。

在完整的教程中,一旦创建了 orderer 创世块,它就从未使用过。除了 channel 分类账之外,还有其他区块链吗?

这个排序器创世块是否需要系统 channel ?

最佳答案

In the build your first network documentation.



让我从指向官方文档开始here

TwoOrgsOrdererGenesis: generates the genesis block for a Solo ordering service. TwoOrgsChannel: generates the genesis block for our channel, mychannel.



这里是困惑的根源,实际上TwoOrgsChannel profile 生成提交给系统 channel 的配置事务,它包括形成新 channel 所需的配置。例如 channel 策略和 channel 联盟的成员,顺便说一下,它们必须是在系统 channel 的创世块中定义的联盟的子集。

The mychannel.tx is the genesis block in the channel and any peer who want to join the channel require this.



这是要提交给排序服务的配置事务,以便它将创建一个新 channel 并返回新 channel 的创世块,以便对等方可以使用它来加入它。

In the complete tutorial once the orderer genesis block is created it never used. And also Is there any other blockchain also present other than the channel ledger?



它始终用于引导您的订购服务节点,例如在关闭或重新启动后。

Does this orderer genesis block require for system channel?



事实上,系统 channel 使用这个创世块进行引导。现在要完成@Narendranath Reddy 的回答,创世区块包含联盟信息,他称之为网络定义,基本上它包含组织根 CA 的所有证书。因此,允许初始化 channel MSP 并使用这些根 CA 证书来验证 ACL、背书和客户端签名。

关于hyperledger-fabric - 在 Hyperledger Fabric 中,orderer 创世 block 的重要性是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57557308/

相关文章:

bash - Hyperledger Fabric 设置下载特定平台二进制文件权限错误 OSX

hyperledger-fabric - 如何从最新版本的 Hyperledger Fabric 中检索用户信息?

docker - 证书是如何从 super 账本中 hfc-key-store 中真实的 fabric-ca-server 证书派生出来的?

node.js - 使用 Nodejs 查询链码仅在大约 3/5 的情况下成功

hyperledger-fabric - 如何在 hyperledger composer 中保护参与者卡?

rest - golang 的 Shim 接口(interface)中的补丁函数

hyperledger-fabric - MVCC_READ_CONFLICT 并发提交多个事务时

docker - Hyperledger Fabric 对等容器无法与 couchdb 容器通信

couchdb - 如何在外部链码构建中打包 couchdb 索引?

raspberry-pi - Raspberry pi 3 上的 Hyperledger Fabric