Title: Coin Clone Learning Help Post by: yeahitsme on January 28, 2017, 12:37:15 AM So ive been messing around with cloning coins for fun and to better understand the programming and different protocols ect. and im at the point of trying on one coin to generate a merkle hash my compile was fine but after running mycoind i get this
main.cpp:2326: bool LoadBlockIndex(bool): Assertion `block.hashMerkleRoot == uint256("0x")' failed. Aborted (core dumped) I have checked the main.cpp the net.cpp but im still learning so im not entirely sure what is holding the merkle creation up has anyone had this or know what the problem is and how to fix it so i can get the merkle to generate thanks for the help all Title: Re: Coin Clone Learning Help Post by: achow101 on January 28, 2017, 12:51:58 AM How are you trying to generate the merkle root?
The merkle root is the hash of all of the transactions in the block. There needs to be transactions to hash in order to find it. Title: Re: Coin Clone Learning Help Post by: yeahitsme on January 28, 2017, 12:54:43 AM been following a learning guide for scrypt coins said to use this command after compile to generate merkle from example mycoind
in the test net ./barcoind -testnet Title: Re: Coin Clone Learning Help Post by: achow101 on January 28, 2017, 12:56:05 AM Again, how are you trying to generate the merkle root? What did you change in the code that is supposed to generate it? I don't care about the command, I care about what you have done to the code. The commands will probably be the same, just the code will be different.
Title: Re: Coin Clone Learning Help Post by: yeahitsme on January 28, 2017, 01:02:47 AM oh okay i get the question sorry
changed ports of course p2p rpc and testnet ip address in net.cpp base58 - pubkey address updated nTime and pszTimeStamp thats about it i didnt change any block times rewards or anything wanted to see if i could basically clone the exact thing with just new merkle and genesis name ect been following this besides not changing those https://gist.github.com/mhsjlw/8130158de01071aa8c87 also idk if it matters but im using the latest ubuntu lts to build in Title: Re: Coin Clone Learning Help Post by: yeahitsme on January 28, 2017, 01:29:56 AM okay so i figured it out in a kinda derp moment i unhid hidden folders boom theres the folder created by the mycoind with merkle and genesis ect debug log so if anyone else has this issue dont be me unhide your folders in ubuntu ctrl+h
|