<p>I'm trying to index the entire chain for spent P2PK inputs for <a href="https://github.com/SurmountSystems/gabriel" rel="nofollow noreferrer">this program I'm writing</a>, and whenever I get to this transaction - 7a8394fd438d9fbe6b36ce38e5b0ca65037f864d1007236775ac3532b886ebe1 - I get this error:</p>
<p>Error: JSON-RPC error: RPC error response: RpcError { code: -1, message: &quot;Fatal LevelDB error: Corruption: block checksum mismatch: /mnt/Node/bitcoind-mainnet/indexes/txindex/490706.ldb&quot;, data: None }</p>
<p>I've already tried the -reindex option. I'm not sure what else to try to recover from this, and I'm not sure what caused it. I'm going to reset the directory and see if that resolves the issue, but I'm not sure how it could be prevented in the future.</p>
<p>This is on Arch Linux with the datadir kept on an ext4 SSD.</p>

CC BY-SA 4.0
2024-08-20T15:30:04.313Z
Are you sure that after the reindex, you get a failure at exactly the same transaction?
Pieter Wuille
CC BY-SA 4.0
2024-08-21T18:39:35.587Z
Yes, however I later noticed that there was a block checksum error with leveldb. I'm currently doing an IBD on a different disk, in the hopes that it might just be a hardware issue.
Hunter Beast
CC BY-SA 4.0
2024-08-21T20:22:05.343Z
The leveldb block checksum mismatch still happens. This time during IBD. I'm going to file a bug report for this on Bitcoin Core.
Hunter Beast
<bitcoind><leveldb><reindex><checksum>
Repeated corruption issue with bitcoind
Hunter Beast
# Repeated corruption issue with bitcoind

(Asked by: username_0 on 2024-08-20)

I'm trying to index the entire chain for spent P2PK inputs for [this program I'm writing](https://github.com/SurmountSystems/gabriel), and whenever I get to this transaction - 7a8394fd438d9fbe6b36ce38e5b0ca65037f864d1007236775ac3532b886ebe1 - I get this error:

Error: JSON-RPC error: RPC error response: RpcError { code: -1, message: "Fatal LevelDB error: Corruption: block checksum mismatch: /mnt/Node/bitcoind-mainnet/indexes/txindex/490706.ldb", data: None }

I've already tried the -reindex option. I'm not sure what else to try to recover from this, and I'm not sure what caused it. I'm going to reset the directory and see if that resolves the issue, but I'm not sure how it could be prevented in the future.

This is on Arch Linux with the datadir kept on an ext4 SSD.

**Tags:** bitcoind, leveldb, reindex, checksum

> **Comments:**
> **username_1**: Are you sure that after the reindex, you get a failure at exactly the same transaction?  
> **username_0**: Yes, however I later noticed that there was a block checksum error with leveldb. I'm currently doing an IBD on a different disk, in the hopes that it might just be a hardware issue.  
> **username_0**: The leveldb block checksum mismatch still happens. This time during IBD. I'm going to file a bug report for this on Bitcoin Core.  

---

## 0 answers

