《 Hyperledger锯齿架构指南》的文档中需要澄清:验证器对等(P2P)网络 [英] Need clarification in documentation of Hyperledger Sawtooth Architecture Guide : Validator Peer to Peer (P2P) Network

查看:127
本文介绍了《 Hyperledger锯齿架构指南》的文档中需要澄清:验证器对等(P2P)网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从此文档中了解以下声明.

第1部分:

The network component continues to perform a peer search if its number of peers is less than the minimum connectivity. The network component rejects peering attempts if its number of peers is equal to or greater than the maximum connectivity.

第2部分:

Even if maximum peer connections is reached, a network service should still accept and respond to a reasonable number of connections (for the purposes of other node topology build outs, etc.)

问题:

Question:

第1部分和第2部分中的陈述相互矛盾.文档不对吗?

The statements in part 1 and part 2 - contradict with each other. Is the documentation wrong?

如果不是,则两者均有效...那么,在什么情况下它们各自对另一个都有效?

If not, both are valid... then, under what circumstances each of them is valid over the other?

按照第1部分:

network component rejects peering attempts if its number of peers is equal to or greater than the maximum connectivity

根据第2部分:

network service should still accept and respond to a reasonable number of connections.

推荐答案

混乱可能是因为,我认为最大连接性"实际上是最大连接对等". 在建立与该节点的对等连接之前,连接是指与远程节点的基本网络连接(我认为是0MQ).基本连接就像客户端服务器连接(远程节点是服务器) 对等连接将涉及两个节点之间的双向关系,以进行消息传递(块,批处理等).开始对等过程之前,应该已存在到远程节点的基本连接.

The confusion may be because, I think "maximum connectivity" is actually "maximum connectivity peering". Connections refer to a basic network connection (0MQ I think) with a remote node, before establishing a peer connectivity with that node. A basic connection would be like a client server connection (the remote node being the server) A peer connectivity would involve a bi directional relationship between the two nodes for message passing (block, batches etc). A basic connection to remote node should be there before starting the peering process.

即使在达到最大对等连接之后,一个节点仍应接受诸如以下的基本连接:允许其他节点获取对等列表,并且可以与之建立连接或仅在网络中查找其他节点.节点可以获取远程节点的对等列表,而无需与该远程节点建立对等连接.

Even after maximum peer connections are reached, a node should still accept basic connections for things like, allowing other nodes to get a list of your peers, and may be connect with them or just finding other nodes in the network. A node can get the list of peers of a remote node, without having a peer connection with that remote node.

这篇关于《 Hyperledger锯齿架构指南》的文档中需要澄清:验证器对等(P2P)网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆