Post
Topic
Board Altcoin Discussion
Re: forking a coin : how to merkle root
by
achow101
on 22/09/2015, 01:18:25 UTC
Thanks for the information guys.
I followed your guide Quantum_Mechanics and it helped alot. I finally was able to succefully clone a X11 coin yet I had to remove some code to get the qt to launch.

I changed the merkle root, genesis block, time and nNonce. Compiled, but was still getting an assertion error.

assertion failed: block.checkblock()

Out of desperation I removing this code from main.cpp
Code:
assert(block.CheckBlock());

Now the qt is running ok but i'm wondering if the part of code I removed will cause some kind of problem.

Can someone tell me what this code is for ? What does it do ?
Code:
assert(block.CheckBlock());

Thanks
That is a check to make sure that the blocks are good and valid. Normally, if checkblock fails, then this line will cause the program to shutdown and warn the user that something has gone wrong. You have basically removed a security and safety feature.