Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Charles Hope on April 08, 2014, 03:03:38 AM



Title: Testnet blockchain download taking forever
Post by: Charles Hope on April 08, 2014, 03:03:38 AM
Installing bitcoind on a brand new Mac, with plenty of memory, and I set it for testnet. Downloading most of the blockchain has taken 24 hours, but now loading the last two weeks has ground to a snail's pace. My download bandwidth is just over 1Mb.

This is what over 10 minutes of activity looks like:

Code:
2014-04-08 02:22:03 ResendWalletTransactions()
2014-04-08 02:31:40 socket recv error 60
2014-04-08 02:32:58 receive version message: /Satoshi:0.8.2.2/: version 70001, blocks=209440, us=67.101.29.73:37885, them=83.170.86.67:18333, peer=83.170.86.67:18333
2014-04-08 02:32:58 Added time data, samples 17, offset -96 (-1 minutes)
2014-04-08 02:32:58 nTimeOffset = -3  (+0 minutes)
2014-04-08 02:34:36 ProcessBlock: ORPHAN BLOCK 3, prev=00000000e846ac6272015cf3420fcf1e3681f72fa9c7f15dc31c341435b0a1c7
2014-04-08 02:35:05 socket recv error 60
2014-04-08 02:35:12 socket recv error 60
2014-04-08 02:35:22 socket recv error 60
2014-04-08 02:35:52 socket recv error 60
2014-04-08 02:37:34 UpdateTip: new best=000000003e64532930e2315d0916d0523f33ef0ba46311ac4a3f4e4707dc5e5a  height=208152  log2_work=58.29812  tx=1330799  date=2014-03-27 05:00:37 progress=0.997298
2014-04-08 02:37:34 ProcessBlock: ACCEPTED
2014-04-08 02:37:52 socket recv error 60
2014-04-08 02:37:52 socket recv error 60
2014-04-08 02:37:54 ResendWalletTransactions()
2014-04-08 02:38:32 socket recv error 60
2014-04-08 02:40:51 connect() to 162.13.156.125:18333 failed after select(): Connection refused


I know this isn't normal. Is there something I can do to speed this up?

Thanks!


Title: Re: Testnet blockchain download taking forever
Post by: izz on April 09, 2014, 01:36:43 AM
It's pretty bad isn't it.

One thing you could try is https://multibit.org/features.html they have a feature that allows it to sync alot faster. You'll just need to figure out how they enable testnet and get going with that.

I noticed your using bitcoind though, if its something you want to interface with via RPC calls you will most likely need to wait it out.


Title: Re: Testnet blockchain download taking forever
Post by: sd on April 10, 2014, 08:26:05 AM
I noticed the same thing on testnet yesterday. As far as I could tell there were only 8 testnet nodes out there.

I put a physical server with decent bandwidth on it and left it CPU mining. Now there should be 9 nodes.


EDIT: My connection count on testnet is now up to 13. And I CPU mined my first block.


Title: Re: Testnet blockchain download taking forever
Post by: Charles Hope on April 13, 2014, 12:46:51 AM
It was all very strange. Soon after I posted this message, suddenly the network came back to life, and caught me up rather quickly. So now I'm turning on CPU mining, so I can earn some development coins, and also contribute to the other developers out there.


Title: Re: Testnet blockchain download taking forever
Post by: -ck on April 13, 2014, 12:53:47 AM
Testnet difficulty is too high for cpu mining.


Title: Re: Testnet blockchain download taking forever
Post by: thezerg on April 13, 2014, 01:10:54 AM
It was all very strange. Soon after I posted this message, suddenly the network came back to life, and caught me up rather quickly. So now I'm turning on CPU mining, so I can earn some development coins, and also contribute to the other developers out there.

there are testnet faucets try google


Title: Re: Testnet blockchain download taking forever
Post by: Charles Hope on April 16, 2014, 10:45:37 PM
Testnet difficulty is too high for cpu mining.

Yeah, I noticed. Several days and not a single block won. Are people testing GPUs here?


Title: Re: Testnet blockchain download taking forever
Post by: gmaxwell on April 16, 2014, 11:06:13 PM
Testnet difficulty is too high for cpu mining.
You can still get the 20 minute blocks from time to time.


Title: Re: Testnet blockchain download taking forever
Post by: eleuthria on April 17, 2014, 12:17:01 AM
Generally when using testnet, it's recommended you use a 'testnet-in-a-box' setup where you have your own private testnet, especially if you're using it to test mining of any kind.


Title: Re: Testnet blockchain download taking forever
Post by: TierNolan on April 17, 2014, 12:22:43 PM
The newest version of the client has a regression test mode, where it can find a block almost instantly, even with a CPU.

It is like a built in testnet-in-a-box.