Bitcointalk

Connection limits

中本聪 · 2010 年 8 月 9 日

SN-2237 已核对来源,附原文与上下文。

阅读语言

SVN rev 125:

  • 即使已有 8 条入站连接,也始终维持 8 条出站连接
  • 出站连接限制为每个 a.b.?.? 段一条
  • 新增 -maxconnections=# 开关

SVN rev 125:

  • Always make 8 outbound connections even if have 8 inbound
  • Limit outbound connections to one per a.b.?.? range
  • Switch -maxconnections=#

我加了(目前未写进文档的)开关 -maxconnections=#。除非你的路由器撑不住大量连接,否则不要用它;需要的话试试 -maxconnections=30。

I added the (currently undocumented) switch -maxconnections=#. You shouldn't use it unless you need to because your router can't maintain a lot of connections, then try -maxconnections=30.

-maxconnections 我没怎么测过,有人能帮忙测测吗?

I haven't really tested -maxconnections much, could someone test it?

上下文
← 上一条 SN-2237 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2237

阅读字号

选择适合你的字号,之后阅读会继续使用。