Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: datguys on January 09, 2014, 08:01:26 PM



Title: Genesis block LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ?
Post by: datguys on January 09, 2014, 08:01:26 PM
I have found my nonce, GB and merkle, I updated my main.cpp and main.h with corrosponding, compiled it, ran with -testnet  but got that

Quote
error:  LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet)'


when I run without -testnet I get the following error:

Quote
main.cpp:2600: bool LoadBlockIndex(bool): Assertion `block.CheckBlock()' failed.

Anyone any ideas why?


Title: Re: Genesis block LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ?
Post by: elbandi on January 09, 2014, 10:59:43 PM
delete old blocks and chainstate dirs


Title: Re: Genesis block LoadBlockIndex(bool): Assertion `block.GetHash() == (!fTestNet ?
Post by: datguys on January 09, 2014, 11:19:55 PM
delete old blocks and chainstate dirs

I deleted all the data directory, still the same errors :/