Bitcoin Forum
June 29, 2024, 03:00:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [HELP] Mining a Genesis block [Reward]  (Read 900 times)
_echelon (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 02, 2014, 04:51:11 AM
 #1

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
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
August 02, 2014, 07:49:21 AM
 #2


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

“God does not play dice"
KriszDev
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
August 02, 2014, 12:34:59 PM
 #3

Try this http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&rev=1391981820.
_echelon (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 02, 2014, 01:46:25 PM
 #4


I've been using that guide. Thanks though.
PereguineBerty
Member
**
Offline Offline

Activity: 109
Merit: 35


View Profile
August 02, 2014, 06:20:52 PM
 #5

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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!