peer 的 peer.gossip.bootstrap 属性 应该设置成什么值?

What value should peer.gossip.bootstrap property of a peer be set to?

Hyperledger Fabric 官方文档(https://hyperledger-fabric.readthedocs.io/en/latest/gossip.html#external-and-internal-endpoints)提到"The peer.gossip.bootstrap property in the core.yaml of the peer is used to bootstrap gossip within an organization. If you are using gossip, you will typically configure all the peers in your organization to point to an initial set of bootstrap peers (you can specify a space-separated list of peers)."。我不太明白。我的问题是:

  1. 如果一个组织org1有四个节点A,B,C和D,A和B可以是 设置为 bootstrap peers,然后 C 和 D 都被 A bootstrapped 和乙?
  2. 如果是,C和D中的peer.gossip.bootstrap 属性是否应该 core.yaml设置为A和B的核心地址列表,如 "A:7051,B:7051"?
  3. A和B都是bootstrap对等的,他们的值应该是多少 peer.gossip.bootstrap 属性 设置为?

非常感谢。

  1. If an organization org1 has four peers, A,B,C and D, can A and B be set as bootstrap peers, and then both C and D are bootstrapped by A and B?

是的,您可以将 A 和 B 设置为 bootstrap 集合。然后 C 和 D 将学习通过这些对等点连接的成员关系。

  1. If yes, should the peer.gossip.bootstrap property in C and D's core.yaml be set to a list of A and B's core addresses, such as "A:7051,B:7051"?

这正是它的工作原理。

  1. Both A and B are bootstrap peers, what value should their peer.gossip.bootstrap property be set to?

与 C 和 D 相同。