cculianu / Fulcrum

A fast & nimble SPV Server for BCH, BTC, and LTC
Other
325 stars 73 forks source link

FATAL: Caught exception: File size is not a multiple of recordSize #250

Open Fredvs79 opened 2 months ago

Fredvs79 commented 2 months ago

We lost power again, today, which is annoying, but also normal for Puerto Rico. Our house has a generator, but there are 30 seconds before the engine starts and the transfer switch kicks it over. Consequently, my little bitcoin node was stopped in the middle of updating its database. I noticed that Fulcrum wasn't loading, and gave the error message

FATAL: Caught exception: File size is not a multiple of recordSize

I wanted to report this problem to you, but I see that you're already aware of it. This is a duplicate of issue #122 from 2022. Which is also a duplicate of issue #41 from 2020.

I was just hoping that maybe you could implement a fix for this. Losing power and corrupting a database requiring resync is quite a penalty to pay for "faster than Electrum".

Thanks.