Hyperledger架构专用通道是否会创建新的单独分类帐

问题描述 投票:0回答:2

假设我们有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. 

实际上,我在这里有点困惑,如果我有私人频道,有人可以建议我如何阻止创建。

hyperledger-fabric
2个回答
1
投票
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

出现您的问题:

实施私有数据时,它不会创建多个分类帐,一个通道只有一个区块链

私有数据将作为散列存储在未经授权的组织对等方中,而经过验证的普通对等存储在授权的对等方中,因此不会将数据存储在未经授权的对等方中


0
投票

每个通道都是其独立的独立区块链,因此org1在channel23中看不到块。

© www.soinside.com 2019 - 2024. All rights reserved.