在官方结构样本中的余额转移样本(打字稿版本)中,客户端没有在通道上设置任何锚定对等体。 我检查了客户端中channel对象的_anchor_peers属性是否为空。
那么,通道上没有主播同伴可以吗? 或者,当我们没有明确指定它们时,是否会自动设置默认锚点对等体?
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?
最满意答案
锚点对等体为对等体启用跨组织通信。 没有默认的锚点对等体,您必须明确声明一个。 在频道上没有一个仍然允许相同组织的同伴能够进行通信。
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.
更多推荐
发布评论