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("")));
peerGroup.AddAddress(new PeerAddress(IPAddress.Parse("")));

Any ideas?

  • 2
    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
  • 2
    And i try BoundedOverheadBlockStore, DiskBlockStore , MemoryBlockStore create blockchain but same result. – Darkwave34 Dec 18 '11 at 7:34
  • 1
    Maybe it's just because there are so many transactions it's taking a while? – lurf jurv Jan 2 '13 at 20:03
  • 2
    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

The library is abandoned 7 years ago, and I don't see that anybody picked it up for maintenance https://github.com/search?utf8=%E2%9C%93&q=bitcoinsharp&type= Try to base your application on a library that is still maintained.

  • 5
    The question was also asked 7 years ago. – Pieter Wuille Apr 6 '18 at 15:44

protected by Community May 2 '18 at 12:59

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.