Altcoin does not create .altcoin folder and debug.log

1

1

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?

donmezburak

Posted 2014-05-21T15:12:05.063

Reputation: 44

Answers

2

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

  1. Use 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

moshaholo

Posted 2014-05-21T15:12:05.063

Reputation: 575