Closed GoogleCodeExporter closed 9 years ago
I didn't try DiskBlockStore for a long time, perhaps I should remove it. Let's
get you up and running with SPVBlockStore.
Original comment by hearn@google.com
on 23 Apr 2013 at 9:26
Hello , i've tried SPVBlockStore , but this time i got this exception thrown
when i change it
http://pastie.org/7707242
Original comment by kadir.ba...@gmail.com
on 24 Apr 2013 at 6:25
com.google.bitcoin.store.BlockStoreException:
com.google.bitcoin.store.BlockStoreException: File size on disk does not match
expected size: 18848962 vs 641024
at com.google.bitcoin.store.SPVBlockStore.<init>(SPVBlockStore.java:139)
at BitcoinClient.<init>(BitcoinClient.java:88)
at BitcoinClient.init(BitcoinClient.java:46)
at PaymentReporterClient$1.run(PaymentReporterClient.java:60)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.google.bitcoin.store.BlockStoreException: File size on disk does
not match expected size: 18848962 vs 641024
at com.google.bitcoin.store.SPVBlockStore.<init>(SPVBlockStore.java:107)
... 6 more
Original comment by kadir.ba...@gmail.com
on 24 Apr 2013 at 6:28
Did you erase the file first? It uses a different file format to
BoundedOverheadBlockStore.
Original comment by hearn@google.com
on 24 Apr 2013 at 7:50
doesnt matter.It always such error even delete file.
Original comment by kadir.ba...@gmail.com
on 24 Apr 2013 at 7:56
sorry , seems like problem fixed.
The problem because file was DiskBlockStore format.
But you can delete inside code and remake better maybe if broken?
Original comment by kadir.ba...@gmail.com
on 24 Apr 2013 at 8:01
Maybe we can add some more robustness around file format types, but deleting
and rebuilding requires co-ordination with the wallet currently. It's up to the
app. That's why it's an exception.
Original comment by hearn@google.com
on 24 Apr 2013 at 8:06
Original issue reported on code.google.com by
kadir.ba...@gmail.com
on 22 Apr 2013 at 6:58