Search content
Sort by

Showing 4 of 4 results by iwantodev
Post
Topic
Board Altcoin Discussion
Re: forking a coin : how to merkle root
by
iwantodev
on 22/09/2015, 01:48:06 UTC
This is the error I see when looking into debug.log

Code:
ERROR: CTransaction::CheckTransaction() : coinbase script size is invalid
ERROR: CheckBlock() : CheckTransaction failed

What? But I want the script size to be valid!
Post
Topic
Board Altcoin Discussion
Re: forking a coin : how to merkle root
by
iwantodev
on 22/09/2015, 01:23:01 UTC
Oh shoot! I can't do that.
Post
Topic
Board Altcoin Discussion
Re: forking a coin : how to merkle root
by
iwantodev
on 22/09/2015, 00: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
Post
Topic
Board Altcoin Discussion
Topic OP
forking a coin : how to merkle root
by
iwantodev
on 13/09/2015, 20:29:44 UTC
I'm trying to fork a X13 coin I like but i'm missing something important.

I've made all the code changes I want, then I use GenesisH0 to get merkle root, genesis hash, pszTimestamp and nTime, add those to the code and compile.

But when I launch the windows-qt i get an Assertion failed ! error.
Expression: block.hashMerkleRoot == uint256("0xb8a521c89f62af3b80565dec94e5a08eafe4e15b372550f77409832a20cf4398")

Please someone help me out. What am i doing wrong ? Why is it not accepting my merkle root?