Bitcoin Forum
May 30, 2024, 12:15:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A SHA256/Scrypt/X11/X13/X15 genesis block creation script  (Read 2301 times)
voileipa (OP)
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
March 14, 2014, 11:24:27 AM
Last edit: September 09, 2014, 08:27:21 AM by voileipa
 #1

Check it out

It's in python

https://github.com/lhartikk/GenesisH0
voileipa (OP)
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
September 09, 2014, 08:27:44 AM
 #2

Added X11/X13/X15 support.
bhokor
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
March 06, 2015, 10:08:23 PM
 #3

Hi, do you know if it is possible to obtain genesis with pos coins without fixed block value?


thanks and your software is amazing
voileipa (OP)
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
March 06, 2015, 11:30:48 PM
 #4

Hi, do you know if it is possible to obtain genesis with pos coins without fixed block value?


thanks and your software is amazing

Can you be more specific?
The script accepts a value parameter:

Code:
-v VALUE, --value=VALUE
     the value in coins for the output, full value (exp. in bitcoin 5000000000 - To get other coins value: Block Value * 100000000)
Cryddit
Legendary
*
Offline Offline

Activity: 924
Merit: 1129


View Profile
March 07, 2015, 01:52:41 AM
 #5

Dude.  That's a nice one. Seriously, cool hack.

Now for extra credit, figure out how to make it work for systems that dare to change the format of the block header.  Cheesy

Just kidding.  If they're changing the format of the block header, they can figure it out on their own.
voileipa (OP)
Member
**
Offline Offline

Activity: 116
Merit: 10


View Profile
March 07, 2015, 09:26:58 AM
 #6

Yeah.. I guess it can't solve the genesisblock of e.g. PeerCoin. There are some different "magic numbers" in the block, at least the CBigNum(4) -> CBigNum(9999)

https://github.com/bitcoin/bitcoin/blob/0.8/src/main.cpp#L2779
https://github.com/ppcoin/ppcoin/blob/master/src/main.cpp#L2272
bhokor
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
March 29, 2015, 12:36:26 AM
 #7

may it be because the pow block value is not fixed?
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!