Hyperledger Sawtooth Validator节点如何在"Sawtooth网络"中具有“大于最大连接性的对等体数量"? [英] How is it possible for a Hyperledger Sawtooth Validator node to have 'number of peers greater than the maximum connectivity' in the Sawtooth Network?

查看:106
本文介绍了Hyperledger Sawtooth Validator节点如何在"Sawtooth网络"中具有“大于最大连接性的对等体数量"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下声明来自此文档.

如果网络组件的编号为,则继续执行对等搜索 对等点数小于最小连接数.网络组件 如果对等体数目等于或大于25,则拒绝对等尝试 比最大的连接性.

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.

问题:

Question:

如文档所述,

对等体数等于或大于最大连通性

number of peers is equal to or greater than the maximum connectivity,

如果允许一个节点具有最大对等体数目"(例如N),那么对等体数目"如何比N更大?

If a node is allowed to have a 'maximum number of peers', say N, how can the 'number of peers' be GREATER than N ?

注意:

您可能要参考另一个问题来自我,这与尝试peering"之前发生的节点之间的最大connection"有关.这两个问题之间的主要区别在于最大连接数"和最大(双向)对等体".

You may want to refer to another question from me, which was related to 'maximum connection between nodes' which happens before 'attempting peering'. The main difference between these 2 questions is about 'maximum connections' and 'maximum (bi-directional) peers'.

推荐答案

否,它不能大于N(理想情况下). 查看此代码 ,如果当前对等点小于允许的最大对等点,则将连接注册为对等点.该文件说的是拒绝的条件.即(小于"与大于或等于")

No, it cannot be greater than N (ideally). Looking at this code, a connection is registered as peer, if current peers is less than the maximum peers allowed. The documentation is saying it in terms of condition for rejection. ie ("less than" vs "greater than or equal to")

文档正确

这篇关于Hyperledger Sawtooth Validator节点如何在"Sawtooth网络"中具有“大于最大连接性的对等体数量"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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