Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: luckcolors on December 24, 2016, 05:19:32 PM



Title: Mine the genesis block using a bitcoin miner.
Post by: luckcolors on December 24, 2016, 05:19:32 PM
Hello.
I wanted to know if it's possible to use an bitcoin asic miner to mine the genesis block, as cpu mining takes a lot of time (6-7 hours).
If it's possible how would i send the right work parameters to the miner? Would i need to setup a stratum pool?
Thanks.


Title: Re: Mine the genesis block using a bitcoin miner.
Post by: achow101 on December 24, 2016, 05:25:09 PM
In theory it is possible, but not really necessary. The genesis block for any blockchain should be mined at a very very low difficulty. Usually it is done by modifying the client source code to include a basic CPU miner with all parameters (genesis transaction, previous block hash, etc.) except the nonce preset in hex and then hashed. Because the genesis block should be a low difficulty block (ideally the lowest possible difficulty), it should not take a very long time to find.


Title: Re: Mine the genesis block using a bitcoin miner.
Post by: SolarFlareProject on January 10, 2017, 09:41:01 AM
Correct, there's not necessary to mine the genesis block with a miner, it's possible to do with a normal computer as the difficulty is very low.
 If cpu mining takes a lot of time (6-7 hours) to mine genesis block, there's something wrong in the settings of the coin.