<p>Do you have all of the checkpoint blocks that are referenced within the source for the coin you are cloning commented out or removed? </p>

<p>I had a similar problem my first go at cloning a coin with it's own blockchain.</p>

<p>Also, what did you use to generate your genesis hash? What software/parameters. </p>

<p>I can recommend a piece of software if the problem lies within the parameters that make up your genesis block.</p>

<p>Also, the Assert error your receiving is due to the genesis hash for your testnet parameters not being valid for the rest of the genesis hash input values. I would double check under testnet in chainparams.cpp and make sure that ALL the values (nonce, timestamp, pzTimestamp, genesis reward, bits) are correct for the given genesis hash.</p>

CC BY-SA 4.0
2019-01-16T10:35:32.837Z
Can you please recommend which software you used for generating the genesis block
Umar Abbas
CC BY-SA 4.0
2019-01-31T00:54:10.137Z
What hashing algorithm are you using? Also, can you provide a snippet from your main.cpp or chainparams.cpp, because depending on how it is structured you may be able to write in a chunk of code that can find the hash for you.
apt-getschwifty
CC BY-SA 4.0
2018-06-13T18:48:49.720Z
2018-07-03T23:31:38.317Z
2018-07-03T23:31:38.317Z
apt-getschwifty
<p>I am kindly asking the expert programmers of this wonderful forum to enlighten me on why the updated QT I have created, does not properly open when running ./stonecoin-qt , but rather dumps core and shows the incorrect genesis block for the -testnet flag</p>

<p>after updating all the parameters in the github repo below</p>

<blockquote>
  <p><a href="https://github.com/advantage-project/stonedfork" rel="nofollow noreferrer">https://github.com/advantage-project/stonedfork</a></p>
  
  <p>./autogen.sh &amp;&amp; ./configure &amp;&amp; make</p>
</blockquote>

<p>I have updated all the information inside the chainparams.cpp (public keys, magic bytes, spork keys, genesis, merkle, everything) and successfully recompiled to update and reflect the changes I have made</p>

<p>however when I attempt to run either the daemon or qt mainnet or -testnet it fails to properly open and instead aborts and dumps the core, however when I leave the original details in, it opens perfectly fine. </p>

<p><strong>What do I need to do after changing the merkle and genesis in the src to successfully run the QT GUI or daemon without crashing?</strong></p>

<p><a href="https://i.sstatic.net/co4Mt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/co4Mt.jpg" alt="enter image description here"></a>
<a href="https://i.sstatic.net/7h39D.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7h39D.jpg" alt="enter image description here"></a></p>

<p>**(also, when I run the ./stonecoin-qt -testnet , it shows the main net genesis hash, rather than the testnet genesis hash, which is different)</p>

<p>Thank you :)</p>

<altcoin>
Changed Merkle Root and Genesis Hash - Not Compiling
student101
# Changed Merkle Root and Genesis Hash - Not Compiling

(Asked by: username_0 on 2018-05-23)

I am kindly asking the expert programmers of this wonderful forum to enlighten me on why the updated QT I have created, does not properly open when running ./stonecoin-qt , but rather dumps core and shows the incorrect genesis block for the -testnet flag

after updating all the parameters in the github repo below

> <https://github.com/advantage-project/stonedfork>
>
> ./autogen.sh && ./configure && make

I have updated all the information inside the chainparams.cpp (public keys, magic bytes, spork keys, genesis, merkle, everything) and successfully recompiled to update and reflect the changes I have made

however when I attempt to run either the daemon or qt mainnet or -testnet it fails to properly open and instead aborts and dumps the core, however when I leave the original details in, it opens perfectly fine.

**What do I need to do after changing the merkle and genesis in the src to successfully run the QT GUI or daemon without crashing?**

[![enter image description here](https://i.sstatic.net/co4Mt.jpg)](https://i.sstatic.net/co4Mt.jpg)
[![enter image description here](https://i.sstatic.net/7h39D.jpg)](https://i.sstatic.net/7h39D.jpg)

\*\*(also, when I run the ./stonecoin-qt -testnet , it shows the main net genesis hash, rather than the testnet genesis hash, which is different)

Thank you :)

**Tags:** altcoin


---

## 1 answers

### Answer by username_1 on 2018-06-13. Score: 1

Do you have all of the checkpoint blocks that are referenced within the source for the coin you are cloning commented out or removed?

I had a similar problem my first go at cloning a coin with it's own blockchain.

Also, what did you use to generate your genesis hash? What software/parameters.

I can recommend a piece of software if the problem lies within the parameters that make up your genesis block.

Also, the Assert error your receiving is due to the genesis hash for your testnet parameters not being valid for the rest of the genesis hash input values. I would double check under testnet in chainparams.cpp and make sure that ALL the values (nonce, timestamp, pzTimestamp, genesis reward, bits) are correct for the given genesis hash.

> **Comments:**
> **username_2**: Can you please recommend which software you used for generating the genesis block  
> **username_1**: What hashing algorithm are you using? Also, can you provide a snippet from your main.cpp or chainparams.cpp, because depending on how it is structured you may be able to write in a chunk of code that can find the hash for you.  

---

