Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

I'm using bitcoinsharp to build my client. I try to download the blockchain in a peergroup network. Download starts, but when progress is 98%, the download is stopped & the client is waiting (2 hours without any change). The size of the downloaded blockchain file is 4.5 MB.

I use the following code:

PeerGroup peerGroup = new PeerGroup(blockStore, @params, chain);
peerGroup.AddAddress(new PeerAddress(IPAddress.Parse("84.38.65.102")));
peerGroup.AddAddress(new PeerAddress(IPAddress.Parse("83.23.15.71")));
peerGroup.Start();
peerGroup.DownloadBlockChain();

Any ideas?

share|improve this question
1  
Are you using the latest libraries? –  Sean Chapman Dec 18 '11 at 1:20
    
yes , I checkout code.google.com/p/bitcoinsharp/source .. –  Darkwave34 Dec 18 '11 at 7:27
1  
And i try BoundedOverheadBlockStore, DiskBlockStore , MemoryBlockStore create blockchain but same result. –  Darkwave34 Dec 18 '11 at 7:34
    
Hi Stephane, Try your edited version and dont finished download. –  Darkwave34 Dec 18 '11 at 11:44
1  
can you segment the download? The block chain is really several chunks, divided by transaction groups and it could very well be an issue that the size changed over time. Basically treat the block chain as a download of unknown file size? –  nybbler905 Aug 24 '13 at 2:40
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.