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

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