Title: Corrupted Database: Is --reindex the only option? Post by: teppy on November 30, 2015, 02:05:34 PM I've tried restarting with --rescan, but get this:
2015-11-30 13:34:22 Verifying last 288 blocks at level 3 2015-11-30 13:34:22 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:34:24 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:34:24 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:34:27 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:34:28 ERROR: DisconnectBlock() : undo data overwriting existing transaction 2015-11-30 13:34:29 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:34:30 ERROR: DisconnectBlock() : added transaction mismatch? database corrupted 2015-11-30 13:35:27 ERROR: VerifyDB() : *** coin database inconsistencies found (last 7 blocks, 106434 good transactions before that) 2015-11-30 13:35:29 : Corrupted block database detected. The last time I had to do a --reindex it took 4-5 days to complete, and that's a long time to be down. Any other options? Should --reindex take that long? Title: Re: Corrupted Database: Is --reindex the only option? Post by: teppy on November 30, 2015, 02:18:41 PM Also, I do have the blocks and chainstate directories backed up as of a month ago. Would replacing the current directories (and only those two directories) with the backups be safe?
Title: Re: Corrupted Database: Is --reindex the only option? Post by: achow101 on November 30, 2015, 02:32:24 PM Also, I do have the blocks and chainstate directories backed up as of a month ago. Would replacing the current directories (and only those two directories) with the backups be safe? Yes, that would be safeTitle: Re: Corrupted Database: Is --reindex the only option? Post by: BitAurum on November 30, 2015, 02:52:22 PM Also, I do have the blocks and chainstate directories backed up as of a month ago. Would replacing the current directories (and only those two directories) with the backups be safe? Yes, it would be safe and faster than -reindex but make sure to backup your wallet.dat before doing anything. |