SN-10094 附来源、原文与上下文。
引用 New Liberty Standard 的文字New Liberty Standard来源 ↗好了,区块数现在开始增加了。它开始增加前等待的时间,肯定比 Windows 版长。而且我觉得,增加速度可能也比 Windows 版慢。你发给我的 Linux 构建是不是启用了调试?区块数大约每秒增加 15 个(我看着时钟目测的)。我没测 Windows 版增加得有多快,但感觉快得多。
Ok, blocks have now started to increase. It definitely takes longer for them to start increasing than with the Windows version. Also, I think they might be increasing at a slower rate than in with the Windows version. Is there perhaps debugging enabled in the Linux build that you sent me? Block are increasing at about 15 blocks per second (eyeball estimate while looking at a clock). I didn't time how fast they increased in the Windows version, but it seems like it was much faster.
大约等了多久才开始?可能是你碰巧请求的那个节点很慢。启动慢与下载速度慢是吻合的。
About how long did it take to start? It could be the node that you happened to request from is slow. The slow start is consistent with the slow download speed.
我想看看你目前的 debug.log 文件,试着弄清楚发生了什么。可能只是对方连接特别慢,也可能哪里出了问题,失败后又重试。耗时太长可能让其他用户困惑。
I'd like to look at your current debug.log file and try to understand what's going. It might just be a really slow connection on the other side, or maybe something's wrong and failed and retried. Taking too long could confuse other users.
Martti,你运行时,等了多久才开始下载区块,下载速度又有多快?
Martti, how long did it take to start downloading blocks when you ran it, and how fast did it download?
引用 New Liberty Standard 的文字New Liberty Standard来源 ↗我启动 Bitcoin 时,如果比特币端口不可用,命令行就会 出现以下消息。端口可用时,不会出现 这些消息。如果默认端口被占用,能否让 Bitcoin 选择另一个端口?我的 BitTorrent 客户端有时也出现同样情况。我 重启它时,原本开放的端口关闭了。只要 换个端口,就又能用了。 /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so /usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so /usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgiogconf.soWhen I launch bitcoin and the bitcoin port is not available, I get the following messages to the command line. I don't get those messages when the bitcoin port is available. Would it be possible for bitcoin to pick another port if the default port is taken? The same think sometimes happens to me with my BitTorrent client. When I restart it, my previously open port is closed. All I have to do is change the port and it starts working again. /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so /usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so /usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgiogconf.so
它已经使用 SO_REUSEADDR,所以端口关闭后处于 TIME_WAIT 状态时,也能绑定。只有程序确实已经运行,才应该绑定失败。不能在同一台机器上同时运行两份 Bitcoin,这很重要,因为它们会同时修改数据库。现在生成币已经会自动使用多个处理器,完全没有必要在一台机器上运行两份。
It already uses SO_REUSEADDR so it can bind to the port if it's in TIME_WAIT state after being closed. The only time it should fail to bind is when the program really is already running. It's important that two copies of Bitcoin not run on the same machine at once because they would be modifying the database at the same time. There is never any need to run two on one machine as coin generation will now use multiple processors automatically.
我不确定那些库错误是什么,我会搜索一下。
I'm not sure what those lib errors are, I'll do some searching.