Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: _echelon on August 02, 2014, 04:51:11 AM



Title: [HELP] Mining a Genesis block [Reward]
Post by: _echelon on August 02, 2014, 04:51:11 AM
I can't seem to mine a genesis block on my linux daemon. I have inputted the merkle hash, and recompiled twice, but I can's seem to get a single hash in the debug.log
Any help is welcome.
If someone points me in the right direction, there might be a reward(BTC).

-Echelon


Title: Re: [HELP] Mining a Genesis block [Reward]
Post by: YarkoL on August 02, 2014, 07:49:21 AM

Do you have the code portion that prints out the block info?

Is there anything at all in debug.log?

We can take this to PM


Title: Re: [HELP] Mining a Genesis block [Reward]
Post by: KriszDev on August 02, 2014, 12:34:59 PM
Try this http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&rev=1391981820 (http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&rev=1391981820).


Title: Re: [HELP] Mining a Genesis block [Reward]
Post by: _echelon on August 02, 2014, 01:46:25 PM
Try this http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&rev=1391981820 (http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&rev=1391981820).

I've been using that guide. Thanks though.


Title: Re: [HELP] Mining a Genesis block [Reward]
Post by: PereguineBerty on August 02, 2014, 06:20:52 PM
Are you setting this statement to true?

Code:
if (false && (block.GetHash() != hashGenesisBlock)) 

There is a section of code deliberately missing from main.cpp on a lot of coins to prevent people from trying to generate a genesis block. See this page to get an idea from Litecoin's example: https://gist.github.com/dmikey/8359944. This can be applied very easily to other algo coins.

If you're using X11/X13/X15 etc the guide you're using is rather outdated and once the genesis block has been created, it happens instantly so don't expect to wait a while for the machine to churn out a load of spam in the debug.log file, like it used to. The genesis block is easily overlooked if you are expecting something else to happen.