原始文献 / 论坛帖 / Re: Number of connections

Re: Number of connections

Bitcointalk · 2010-02-21 03:43:48 UTC

AuthorSatoshi Nakamoto
TitleRe: Number of connections
Date2010-02-21 03:43:48 UTC
ForumBitcointalk · 原文

节点到 15 个连接就不再主动发起新连接了。如果你能接受入站连接,别人连你,能远超这个数;否则最多 15 个。

我不知道 15 个连接有没有必要。也许该是 10 个。

现在只能往外连的节点多半时间都在 15 个左右,你应该能趋向一个平衡。45 说明只能出不能进的节点和能接受入站的节点比例是 3:1。

连接数以后不能再当网络规模的衡量了。应该有人定期 IRC 上 bitcoin 频道 chat.freenode.net 数数用户数。那是网络节点的总数(TOR 节点除外)。

出块又跑到进度前面了。下次调整还有约 5 天,难度又要大跳一步。

英文原文

Nodes stop trying to initiate connections once they have 15.  If you can accept incoming connections, then you can get well above that from nodes connecting to you, otherwise you max out at 15.

I don't know if there's any reason to have 15 connections.  Maybe it should be 10.

Since nodes that can only connect out are probably at or near 15 most of the time now, you should level off to an equilibrium.  45 suggests a ratio of 3 out-only nodes to every 1 in-accepting node.

The number of connections won't be a good gauge of the size of the network any more.  Someone should periodically IRC to the bitcoin channel on chat.freenode.net and count the number of users.  That gives you the total count of network nodes (except TOR nodes).

Block generation is again running ahead of pace.  We're in for another big step up in difficulty at the next adjustment in about 5 days.