Skip to content

回复:一些建议 ​

原始发布页

打开来源页面
查看 1 个交叉存档

没错,SVN 中已经有接近候选发布版的 0.2 源代码,也可以在 Linux 上构建和运行。它还没有在 FreeBSD 上测试过。

引用 madhatter2 于 2009 年 12 月 11 日 04:59:19 AM 的发言

如果我们能做到有一个可在 FreeBSD 上运行的后端进程,我就可以运行始终在线的种子节点。

那会帮上大忙。TOR 用户不必担心如何获得种子,我们也不必依赖 IRC。

如果你不介意桌面上有一个最小化窗口,它可以在不访问 UI 的情况下以几种简单模式运行。(0.1.5 没有 -min,所以会有一个打开的窗口)

仅运行种子节点: bitcoin -min -gen=0

你可以查看 debug.log 来进行一定程度的监控。要停止它,就终止进程,数据库不会介意。

生成新币: bitcoin -min -gen

要取得生成的比特币,你必须把 wallet.dat(使用 0.2 版本)复制到一台有 UI 的机器上,换入该 wallet.dat,运行 bitcoin,再把币转到你的主账户。(使用 0.1.5 版本时,你必须复制整个 "%appdata%/Bitcoin" 目录。)复制 wallet.dat 有一点需要注意:如果你碰巧在程序生成新币或收到付款的那一刻终止了它,单独使用 wallet.dat 可能无法工作,你就必须复制整个目录。

引用

我确实认为,让下载包包含每日种子快照会改善引导过程。我在这里进行新的测试安装时见过这样的情况:应用程序停在 0 个连接 / 1 个区块。查看 debug.log 后,我发现 IRC 服务器(我想是 freenode)声称我已经连接,并拒绝让我为应用程序获取种子。(只是举个例子。)

明白了,当多个节点使用同一个 NAT 或 VPN,或者某些 ISP 把所有人都汇集到少数几个代理服务器时,就会发生这种情况。我刚刚向 SVN 提交了对此的修复。如果它收到名称已被使用的“433”(是错误 433,对吧?),就会改用一个并非地址的随机用户名重试。

引用

无论如何,我想提供帮助。我有很多时间,而像这样的项目非常令人兴奋。

太好了,真的非常感谢任何帮助!

英文原文 ​

展开英文原文

Right, the SVN has the almost-release-candidate 0.2 source, which can also be built and run on Linux. It hasn't been tested on FreeBSD.

Quote from: madhatter2 on December 11, 2009, 04:59:19 AM

If we can get to the point where we have a working backend process that will run on FreeBSD I can run always-on seeds.

That would be a big help. TOR users wouldn't have to worry about how to get seeded, and we wouldn't depend on IRC.

It can be run in a few simple modes without access to the UI if you don't mind a minimized window on the desktop. (0.1.5 doesn't have -min so it would be an open window)

To only run a seed: bitcoin -min -gen=0

You could sort of monitor it by looking at debug.log. To stop it, kill the process, the database won't mind.

To generate: bitcoin -min -gen

To get the generated bitcoins, you'd have to copy wallet.dat (with version 0.2) to a machine with a UI, swap in the wallet.dat, run bitcoin and transfer the coins to your main account. (With version 0.1.5 you'd have to copy the whole "%appdata%/Bitcoin" directory.) There is one caveat about copying wallet.dat: if you happened to kill the program at the exact moment that it generated a coin or received a payment, wallet.dat might not work by itself and you'd have to copy the whole directory.

Quote

I really think that having the download package contain a daily seed snapshot will improve the bootstrapping. I have seen instances on new test installs here where the application will sit with 0 connections / 1 block. Upon inspecting the debug.log I find that the IRC server (freenode, I believe) claims I am already connected and refuses to let me seed the application. (Just an example).

I see, that would happen with multiple nodes using the same NAT or VPN or some ISP that funnels everyone through a few proxy servers. I just committed a fix to SVN for this. If it gets "433" name already in use (it was error 433, right?), it'll retry with a non-address random username.

Quote

In any event, I would like to help. I have a lot of time and a project like this one is very exciting.

That's great, any help is really appreciated!

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。