节点加入 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/