Investigate and resolve reindex corruption

Investigate possible corruption of chainstate data during the reindex process.
Complete
$7,500.00
Check Out Task
Task Bounty Details

21379

Bitcoin Issue

Days

Estimated Effort

Complete

Current Status

$7,500.00

Paid in USD or equivalent BTC upon acceptance

Bitcoin Issue

Reindexing is the process of using blocks that already reside on disk to rebuild the "chainstate," i.e. the leveldb databases that represent the chain of blockheaders and state of the UTXO set. It is essentially initial block download, but without having to download blocks from the network.

A user claims that "performing a reindex of the block files reliably introduces spurious bytes, resulting in subsequent deserialization errors," as detailed in the original issue. The reporter has included many details pertinent to the reported failure.

Investigate the failure, determine if reproduction is possible, and devise a fix.

Prerequisite Skills

C++

Code Guidelines

Repository Code Guidelines Page

Definition of Done

Perform an investigation, and possibly a code fix, leading to the close of the original issue

Check Out Task