user111875: After running bitcoind (as part of myNode) for 6 monhths with no issue, I got this error:

Fatal LevelDB error: Corruption: checksum mismatch:
/home/bitcoin/.bitcoin/indexes/txindex/257701.log

At that point it would have been great to truncate the blockchain to some previously known good block and start loading blocks from that point (instead of starting from scratch which takes nearly a week). Since the integrity of the blockchain is maintained continuously from the genesis block on, I don't see that there would be any risk (or too great of a difficulty) in doing this. Yet it does not appear that there is any tool available to do such a truncation -- is this simply because no one has bothered to create and release such a tool, or would truncating the blockchain create some security risk that I'm not aware of?

user208: There is no need to truncate it. You can just start Bitcoin Core with the -reindex option. If you do, it'll throw away the UTXO set and other databases, and rebuild it from the blocks you have on disk (which will be kept), up to the point where they're corrupt. It'll take a while (possibly nearly as long as synchronizing in the first place), but it won't redownload valid blocks you already have.

111875: <p>After running bitcoind (as part of myNode) for 6 monhths with no issue, I got this error:</p>
<blockquote>
<p>Fatal LevelDB error: Corruption: checksum mismatch:
/home/bitcoin/.bitcoin/indexes/txindex/257701.log</p>
</blockquote>
<p>At that point it would have been great to truncate the blockchain to some previously known good block and start loading blocks from that point (instead of starting from scratch which takes nearly a week). Since the integrity of the blockchain is maintained continuously from the genesis block on, I don't see that there would be any risk (or too great of a difficulty) in doing this. Yet it does not appear that there is any tool available to do such a truncation -- is this simply because no one has bothered to create and release such a tool, or would truncating the blockchain create some security risk that I'm not aware of?</p>
 208: <p>There is no need to truncate it. You can just start Bitcoin Core with the <code>-reindex</code> option. If you do, it'll throw away the UTXO set and other databases, and rebuild it from the blocks you have on disk (which will be kept), up to the point where they're corrupt. It'll take a while (possibly nearly as long as synchronizing in the first place), but it won't redownload valid blocks you already have.</p>
