原始文献 / 论坛帖 / Re: On IRC bootstrapping
Re: On IRC bootstrapping
Bitcointalk · 2010-06-14 18:13:21 UTC
Bitcoin 有自己的分布式地址目录,用 "addr" 消息。是时候把当前长期在线的固定节点的列表写进代码做种子了。我可以加一段代码,让新节点不赖在种子节点上,只是连上去拿列表就走,这样不会给它们造成负担。
大家觉得呢,我直接加上种子?
它还是会先试 IRC。IRC 的好处是列出来的是当前在线的节点,因为它们得保持连接才能留在列表上;坏处是单点故障。"addr" 系统没有单点故障,但只能告诉你最近见过哪些节点,所以有些试的节点已经下线,初次连上会慢一点。两者结合,取长补短,更健壮。
有人愿意在 freenode 嫌我们烦的时候,志愿跑个 IRC 服务器吗?
英文原文
Bitcoin has its own distributed address directory using the "addr" message. It's about time we coded in a list of the current long running static nodes to seed from. I can add code so new nodes do not preferentially stay connected to the seed nodes, just connect and get the list, so it won't be a burden on them.
What do you think, should I go ahead with adding the seeds?
It'll still try IRC first. The IRC has the advantage that it lists nodes that are currently online, since they have to stay connected to stay on the list, but the disadvantage that it's a single point of failure. The "addr" system has no single point of failure, but can only tell you what nodes have recently been seen, so it takes a little longer to get connected since some of the nodes you try have gone offline. The combination of the two gets us the best of both worlds and more total robustness.
Is there anyone who wants to volunteer to run an IRC server in case freenode gets tired of us?
