Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cjp on October 31, 2011, 06:09:18 PM



Title: Regression in 0.4.0: loading takes longer, have fewer connections
Post by: cjp on October 31, 2011, 06:09:18 PM
Hi,

I recently upgraded from version 0.3.21 to 0.4.0. I noticed the following regressions:
  • It takes a lot longer for the client to start up (and for a long time it seems to do nothing: no CPU/disk/network activity)
  • I have a much lower number of connections (about 12 instead of 80)

I don't know whether the second one is deliberate or not, but I see no reason for the first change.

I made a copy of debug.log during the period of apparent inactivity during startup, and this was the last line it had:

Quote
Loading addresses from DNS seeds (could take a while)

Is it really necessary to perform this time-consuming step? Can I disable this step to speed things up, and if so, would that be a good idea?

Note that I have the following special situation:
  • I have a double NAT network (one NAT inside another NAT)
  • I ported my copy of Bitcoin to WxWidgets 2.6 (by editing the source code), so that I can run it more easily on Ubuntu 10.04. I didn't touch any network-related code though.