Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: mrflibblehat on September 23, 2014, 07:17:56 PM



Title: cloning Litecoin for my own coin - blockchain errors
Post by: mrflibblehat on September 23, 2014, 07:17:56 PM
Hi All,

Just a quick one.

I have created a litecoin clone (just to learn more than anything, its not going to be released to public)

I have created a new psztimestamp, nnonce, merklehash and genesis block and all works fine....

however when I load the new coin I get an error stating "failed to read block" when I try with -reindex it still says "failed to read block"

I have also noticed the blockchain is 298 weeks behind (same as litecoins) How can this be when ive changed the nnonce, merklehash, genesisblock and epoch time?

Any help would be much appreciated.


Title: Re: cloning Litecoin for my own coin - blockchain errors
Post by: Willisius on September 23, 2014, 11:06:07 PM
Did you successfully mine the genesis block? And running the wallet causes the failure? Is there any relevant debug log info you can post?

Anyway, what might help given only what you've said so far: Make sure you changed this to just have the hash of your genesis block: https://github.com/litecoin-project/litecoin/blob/master-0.8/src/checkpoints.cpp#L36


Title: Re: cloning Litecoin for my own coin - blockchain errors
Post by: cloudboy on September 24, 2014, 12:00:41 AM
Delete the checkpoints in checkpoints.cpp