原始文献 / 论坛帖 / Re: On IRC bootstrapping

Re: On IRC bootstrapping

Bitcointalk · 2010-03-16 19:48:47 UTC

AuthorSatoshi Nakamoto
TitleRe: On IRC bootstrapping
Date2010-03-16 19:48:47 UTC
ForumBitcointalk · 原文

感谢 soultcer 跟 Freenode 的工作人员沟通。很高兴知道目前这个规模没问题,他们也知道我们是谁了。他们支持 TOR 这样的项目,希望也会对我们友好。我们不想赖着不走。如果我们长太大,那按同样的道理,我们也大到不需要 IRC 了,会自己撤出来。

我们当初需要 IRC 只是因为没人有固定 IP。早期有几位稳定的支持者,但他们的 IP 都是动态分配的,隔几天就变。IRC 本来就只是临时方案。Bitcoin 内置的 addr 系统才是主要方案。

Bitcoin 可以从任意 bitcoin 节点拿到 IP 列表。从这个意义上说,每个节点都是目录服务器。

等有足够多的固定 IP 节点,让我们有把握在当前版本被淘汰之前至少还有一个活着,我们就可以预置一个种子列表。

你觉得种子列表该怎么编?从当前已连接、且稳定在线一段时间的 IP 里挑,可以吗?

顺便说一句,如果我们想额外部署独立的目录服务器软件,我推荐 IRC?IRC 是个很好的目录服务器(听说它还有别的用处),有成熟的 IRC 服务器实现,谁都能跑。Bitcoin 的 IRC 客户端实现已经过充分测试。

英文原文

Thanks soultcer for talking with the Freenode staffer.  Good to know it's OK at the current size, and now they know who we are.  They're supportive of projects like TOR so I hope they would probably be friendly to us.  We don't want to overstay our welcome.  If we get too big, then by the same token, we're big enough that we don't need IRC anymore and we'll get off.

We only needed IRC because nobody had a static IP.  In the early days there were some steady supporters, but they all had pool-allocated IPs that change every few days.  IRC was only intended as a temporary solution.  Bitcoin's built-in addr system is the main solution.

Bitcoin can get the list of IPs from any bitcoin node.  In that sense, every node serves as a directory server.

When there are enough static IP nodes to have a good chance that at least one will still be running by the time the current version goes out of use, we can preprogram a seed list.

How do you think we should compile the seed list?  Would it be OK to create it from the currently connected IPs that have been static for a while?

BTW, if we want to supplement by deploying separate directory server software, may I suggest IRC?  IRC is a good directory server (I've heard it has other uses too), and there are mature IRC server implementations available that anyone can run.   Bitcoin's IRC client implementation is already thoroughly tested.