Bitcoin Forum
July 25, 2024, 02:08:08 AM *
News: Help 1Dq create 15th anniversary forum artwork.
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Re: forking a coin : how to merkle root on: September 22, 2015, 01:48:06 AM
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!
2  Alternate cryptocurrencies / Altcoin Discussion / Re: forking a coin : how to merkle root on: September 22, 2015, 01:23:01 AM
Oh shoot! I can't do that.
3  Alternate cryptocurrencies / Altcoin Discussion / Re: forking a coin : how to merkle root on: September 22, 2015, 12:18:25 AM
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
4  Alternate cryptocurrencies / Altcoin Discussion / forking a coin : how to merkle root on: September 13, 2015, 08:29:44 PM
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?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!