hyperledger-fabric - 为什么对等方必须使用创世 block 才能加入 Hyperledger 结构中的 channel ?

标签 hyperledger-fabric hyperledger hyperledger-fabric-sdk-js

节点加入 channel ,必须要有创世区块的信息。

为什么 peer 需要创世区块?

我知道 channel 配置存储在创世块中,但是
最新的 channel 配置也可以在最近的区块中使用,那么为什么只有创世呢?

创世区块是否提供任何额外信息?

最佳答案

当您更新 channel 配置时,新块具有新 channel 配置的信息。例如,如果一个新组织进入 channel ,其 anchor 节点需要创世块从一开始就下载链,以存储和更新区块链的状态。

Hyperledger Fabric Docs Quote - Join Org3 to the Channel:

... we are passing a 0 to indicate that we want the first block on the channel’s ledger (i.e. the genesis block). If we simply passed the peer channel fetch config command, then we would have received block 5 – the updated config with Org3 defined. However, we can’t begin our ledger with a downstream block – we must start with block 0.

关于hyperledger-fabric - 为什么对等方必须使用创世 block 才能加入 Hyperledger 结构中的 channel ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55397964/

相关文章:

go - DeleteState 和 PutState 函数不会更改账本状态

hyperledger-fabric - 可以在 Fabric 区 block 链中引用在 Indy 上运行的身份吗?

hyperledger-fabric - super 账本结构无法生成排序器创世 block

hyperledger-fabric - 使用 Fabric Node SDK 实例化 Chaincode 会出现 API 错误 (404) : manifest for hyperledger/fabric-ccenv:latest not found

hyperledger-fabric - 调用链代码时 Hyperledger 认可失败 - 失败 : signature set did not satisfy policy

hyperledger-fabric - 错误 : timeout waiting for channel creation -- While using Kafka Orderer of Fabric

blockchain - hyperledger fabric fabcar 错误

hyperledger-fabric - hyperledger-fabric 中的最大交易大小是多少?

go - 是否可以从 Hyperledger Composer 脚本文件访问 GO lang 链代码

hyperledger-fabric - Hyperledger 结构错误 : 14 UNAVAILABLE: TCP Write failed