可以在频道上没有主播同伴吗?(Is it okay that there is no anchor peer on channel?)

编程入门 行业动态 更新时间:2024-10-16 22:16:30
可以在频道上没有主播同伴吗?(Is it okay that there is no anchor peer on channel?)

在官方结构样本中的余额转移样本(打字稿版本)中,客户端没有在通道上设置任何锚定对等体。 我检查了客户端中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.

更多推荐

本文发布于:2023-08-06 23:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1456664.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:同伴   主播   频道   channel   peer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!