Chris_Z
Chris_Z

Reputation: 31

Anchor Peers config within a channel

  1. Should we only add anchor peers to a channel to enable cross-org communication?
  2. If yes, from my understanding chaincode is only applied at a channel level, does that mean any peer thats not in the channel will not have the correct chaincode?
  3. If I were to add all of the peers to a channel then is there a point for declearing any anchor peers?

Upvotes: 0

Views: 453

Answers (1)

yacovm
yacovm

Reputation: 5140

  1. To be precise, it allows cross-org mutual discovery of peers, and therefore it is crucial for cross org endorsements if the client uses service discovery.

  2. This has nothing to do with chaincodes... chaincodes are installed independently to channels.

  3. Yes. Because otherwise peers from different organizations won't be able to find each other.

Upvotes: 1

Related Questions