假设我们有3个组织org1,org2,org3,每个组织有2个对等体,意味着总共6个对等体,每个组织由订购者组成,共3个被订购。
我们创建2个频道...
第一个是 channelAll ,所有组织和同级都连接到其中。
第二个频道,我们在org2和org3之间创建了 channel23 这个频道。现在我的问题是
1. when i send transaction on channelAll all the peers means total 6 peers and 3 orderer is update the ledger, saying that transaction valid and its create the new block number 1.
2. when i send the transaction to channel23, does all total 6 peers and 3 ordrer also get updated or org2 and org3 with their peers means total 4 peers, which is connect to channel23 only this will get update the ledger and create the new block 2.
3. If only org2 and org3 in channel channel23 is updated means its creating the new block which will not know to org1 then how does blockchain work, already org1 has missed the block.
实际上,我在这里有点困惑,如果我有私人频道,有人可以建议我如何阻止创建。
答案 0 :(得分:2)
Private data concept is implemented to avoid create multiple channels for privacy between organizations
一个渠道可以在组织之间实现隐私
例如:channelName:mychannel组织:Org1,Org2,Org3
可能想要创建分类帐twp类型1)所有2)公用的黑白 org1&org2
因此您可以创建集合,请参见详细的教程here
提出您的问题:
实施私有数据时,它不会创建多个分类帐,一个通道只有一个区块链
为了进行验证,私人数据将以散列的形式存储在未经授权的组织对等体中,而正常数据将以授权的对等体存储在
答案 1 :(得分:0)
每个通道都是其独立的独立区块链,因此org1在channel23中看不到块。