Corruption Issue on Chain?

+1 vote

Hi

I am running multichain alpha-23 and after stopping and starting a multichain cluster within docker I'm getting this error on my main node....

multichain-main_1       | 2016-08-29 00:21:01 generated 0.00
multichain-main_1       | 2016-08-29 00:21:01 ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*) : GetHash() doesn't match index
multichain-main_1       | 2016-08-29 00:21:01 *** Failed to read block
multichain-main_1       | 2016-08-29 00:21:01 Error: Error: A fatal internal error occured, see debug.log for details
multichain-main_1       | Error: Error: A fatal internal error occured, see debug.log for details
multichain-main_1       | 2016-08-29 00:21:01 ERROR: ProcessNewBlock : ActivateBestChain failed
multichain-main_1       | 2016-08-29 00:21:01 ERROR: MultiChainMiner : ProcessNewBlock, block not accepted
multichain-main_1       | 2016-08-29 00:21:02 Running MultiChainMiner with 1 transactions in block (267 bytes)
multichain-main_1       | 2016-08-29 00:21:02 MultiChainMiner:
multichain-main_1       | 2016-08-29 00:21:02 proof-of-work found
multichain-main_1       |   hash: 0000ade257de391e83f64cf54b841fd56862e752e2d6263499c58a41eb186df7
multichain-main_1       | target: 0000ffff00000000000000000000000000000000000000000000000000000000
multichain-main_1       | 2016-08-29 00:21:02 CBlock(hash=0000ade257de391e83f64cf54b841fd56862e752e2d6263499c58a41eb186df7, ver=3, hashPrevBlock=00006149765035276fc9a109c445ab2b56b1c26f5cb2e616257946598b2ad366, hashMerkleRoot=c64b2f81bb0304fe19bb4bb66d26106a6ba764debcb977d6db617ff88b62d665, nTime=1472430062, nBits=1f00ffff, nNonce=1266, vtx=1)
multichain-main_1       |   CTransaction(hash=c64b2f81bb, ver=1, vin.size=1, vout.size=1, nLockTime=0)
multichain-main_1       |     CTxIn(COutPoint(0000000000, 4294967295), coinbase 024e0b0144062f503253482f)
multichain-main_1       |     CTxOut(nValue=0.00000000, scriptPubKey=OP_RETURN 53504b62473045022100)
multichain-main_1       |
multichain-main_1       |   vMerkleTree:  c64b2f81bb0304fe19bb4bb66d26106a6ba764debcb977d6db617ff88b62d665
multichain-main_1       |
multichain-main_1       | 2016-08-29 00:21:02 generated 0.00
multichain-main_1       | 2016-08-29 00:21:02 ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*) : GetHash() doesn't match index
multichain-main_1       | 2016-08-29 00:21:02 *** Failed to read block
multichain-main_1       | 2016-08-29 00:21:02 Error: Error: A fatal internal error occured, see debug.log for details
multichain-main_1       | Error: Error: A fatal internal error occured, see debug.log for details
multichain-main_1       | 2016-08-29 00:21:02 ERROR: ProcessNewBlock : ActivateBestChain failed
multichain-main_1       | 2016-08-29 00:21:02 ERROR: MultiChainMiner : ProcessNewBlock, block not accepted
multichain-main_1       | 2016-08-29 00:21:03 Running MultiChainMiner with 1 transactions in block (267 bytes)
multichain-main_1       | 2016-08-29 00:21:03 MultiChainMiner:
multichain-main_1       | 2016-08-29 00:21:03 proof-of-work found
multichain-main_1       |   hash: 00003e8fea7cda2b76fc2a9f3e2fb250355e39b320762bc1ffb81fad142ed3b4
multichain-main_1       | target: 0000ffff00000000000000000000000000000000000000000000000000000000
multichain-main_1       | 2016-08-29 00:21:03 CBlock(hash=00003e8fea7cda2b76fc2a9f3e2fb250355e39b320762bc1ffb81fad142ed3b4, ver=3, hashPrevBlock=00006149765035276fc9a109c445ab2b56b1c26f5cb2e616257946598b2ad366, hashMerkleRoot=f248a277908350ee36ac569e6002d6a2b1b756c9f92b1cfbeb02f7cea2b4087b, nTime=1472430063, nBits=1f00ffff, nNonce=22524, vtx=1)
multichain-main_1       |   CTransaction(hash=f248a27790, ver=1, vin.size=1, vout.size=1, nLockTime=0)
multichain-main_1       |     CTxIn(COutPoint(0000000000, 4294967295), coinbase 024e0b0145062f503253482f)
multichain-main_1       |     CTxOut(nValue=0.00000000, scriptPubKey=OP_RETURN 53504b62473045022100)
multichain-main_1       |
multichain-main_1       |   vMerkleTree:  f248a277908350ee36ac569e6002d6a2b1b756c9f92b1cfbeb02f7cea2b4087b

The main node is pretty dead at this point.  Any idea as to what could be causing this?  I've been running multichain within docker for some time with no issue, but since the latest release, I am seeing more issues with stability.  Any advice would be greatly appreciated.....

 

asked Aug 28, 2016 by Marty

1 Answer

0 votes

You should be able to recover this by running multichaind with the reindex=1 parameter, but we'd also like to take a look at your data to see what happened. So before running the reindexing, can you please zip up the blockchain directory (in ~/.multichain/) and send it to multichain dot debug at gmail? Thank you.

answered Aug 30, 2016 by MultiChain
Sorry, I nuked the volume and started over......if I get a repeat of the issue I'll tar up the chain data for you.......

Marty
Thank you - please do.
...