<p>The latest bitcoin source doesn't output any debug log in chainparams.cpp. <br>
You can, <br></p>

<ol>
<li>Use <a href="https://github.com/lhartikk/GenesisH0" rel="nofollow">GenesisH0</a> to find your Genesis block hash.</li>
<li>make &amp;&amp; sudo make install</li>
<li>Run it again, then you will see debug.log within your bitcoin folder</li>
</ol>

CC BY-SA 3.0
2015-03-12T15:00:57.477Z
2015-03-12T15:00:57.477Z
moshaholo
<p>I changed the source code of bitcoin and I ran it. However, it gives the following error:</p>

<pre><code>chainparams.cpp:140: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0xxx")' failed.
</code></pre>

<p>Aborted (core dumped)</p>

<p>It also does not create .altcoin folder in home folder, so I cannot see debug.log. Why is this so?</p>

<altcoin><logging>
Altcoin does not create .altcoin folder and debug.log
donmezburak
# Altcoin does not create .altcoin folder and debug.log

(Asked by: username_0 on 2014-05-21)

I changed the source code of bitcoin and I ran it. However, it gives the following error:

```
chainparams.cpp:140: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0xxx")' failed.

```

Aborted (core dumped)

It also does not create .altcoin folder in home folder, so I cannot see debug.log. Why is this so?

**Tags:** altcoin, logging


---

## 1 answers

### Answer by username_1 on 2015-03-12. Score: 2

The latest bitcoin source doesn't output any debug log in chainparams.cpp.   
You can,

1. Use [GenesisH0](https://github.com/lhartikk/GenesisH0) to find your Genesis block hash.
2. make && sudo make install
3. Run it again, then you will see debug.log within your bitcoin folder


---

