fabric channel :所有成员的公共分类帐或可以设置限制访问?

fabric channel : common ledger for all it's members or can restricted access be set?

hyperledgerchannels 的理解有点困惑。

一个频道内的账本对于它的所有成员都是一样的?

考虑一个包含 n 方的网络,该网络由一个频道 C 和成员 123.

如果交易从 1 方发送到 2,它将出现在 3 的分类帐中,因为它们都是同一频道的一部分,但不是成员 4...n 因为它们不属于 C !!

用例:成员 1 发起与 3 的交易,在这种情况下 2 的分类帐记录不应反映该记录。这是否意味着我必须创建一个只有 13 的新频道,或者我可以使用 C 和一些政策吗?

如果是前者,则意味着为每个可能的私人账本更新创建一个新渠道!

The ledger within a channel is one and the same for all of it's members ?

快速回答是,同意创建和加入频道的参与者同意共享信息并接受频道规则。

Consider a network with n parties in it which consists of a channel C with members 1, 2, 3.

If a transaction is sent from party 1 to 2 it would appear on the ledger of 3 as they are all part of same channel but not members 4...n as they aren't part of C !!

正确的是,如果 1、2、3 加入了相同的频道,他们共享相同的账本,因此 1 和 2 之间的交易将在 3 的账本上更新。

Usecase: Member 1 initiates a transaction with 3, in which case the ledger record of 2 shouldn't reflect the record. Does this mean I have to create a new channel with just 1 and 3 in it or can I use C with some policies of sorts?

如果您想在 1 和 3 之间保持私人通信,这样组织 2 就无法访问它,您有几个选择:

  1. 正如您所解释的,您可以有单独的频道,其中只有参与者是组织 1 和组织 3 的对等方。
  2. 您可能会考虑使用加密来防止组织 2 读取 1 和 3 之间的交易内容,但是 2 可以看到交易甚至加密的事实揭示了 1 和 3 之间的一些业务关系,因此选项 #1(有单独的频道)我更可取。

If it's the former then that would mean creating a new channel for every possible private ledger update!

如果你想在组织对之间有互斥的双边私有,是的,你需要为每一对创建一个通道,从而分开账本。