Open
Description
Describe the issue
Dash Core v18.2 RC2 returns the following error in some scenario when certain indexes are enabled.
2022-12-07T16:40:56Z [0%]...[16%]...[25%]...[33%]...[41%]...[50%]...[ProcessBlock] h[795010] numCommitmentsRequired[0] numCommitmentsInNewBlock[0]
2022-12-07T16:40:56Z ERROR: ConnectBlock(DASH): ProcessSpecialTxsInBlock for block 00000086e9bf45802a44258e882865b176d2bcaf425d1c7d9b7acc59b859a5fe failed with bad-cbtx-mnmerkleroot (code 16)
2022-12-07T16:40:56Z ERROR: VerifyDB(): *** found unconnectable block at 795010, hash=00000086e9bf45802a44258e882865b176d2bcaf425d1c7d9b7acc59b859a5fe (bad-cbtx-mnmerkleroot (code 16))
2022-12-07T16:40:56Z : Corrupted block database detected.
Please restart with -reindex or -reindex-chainstate to recover.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
- Enable
txindex=1
andaddressindex=1
indash.conf
- Run Dash Core v18.2 RC2 on testnet with the
-reindex
option. I was specifically runningdash-qt -conf=<conf file> -reindex
. - Once reindexing has completed, close Dash Core normally.
- Reopen Dash Core (without the
-reindex
parameter) - Observe the error reported above
Expected behaviour
Core should run successfully after the reindex
Actual behaviour
Core reports a corrupted block database and shuts down
What version of Dash Core are you using?
Dash Core version v18.2.0-rc.2. Published GitHub binary and self-compiled.