byron1st
byron1st

Reputation: 981

Is it okay that there is no anchor peer on channel?

In the balance-transfer sample (typescript version) among the official fabric samples, the client did not set any anchor peer over the channel. I checked that the _anchor_peers property of the channel object in the client was empty.

So, is it okay that there is no anchor peer on the channel? Or is the default anchor peer automatically set when we don't explicitly designate them?

Upvotes: 1

Views: 400

Answers (1)

smeyers
smeyers

Reputation: 333

Anchor peers enable cross organization communication for peers. There is no default anchor peer, you must explicitly declare one. Not having one on a channel will still allow peers of the same org be able to communicate.

Upvotes: 5

Related Questions