Bitcoin Forum
June 18, 2018, 08:17:55 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Anyone know a Merkle Root and Genesis Block Generator? for new altcoin  (Read 1290 times)
Solidsmart
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
November 10, 2014, 01:00:49 PM
 #1

anything wher i can just type and it outputs merkle, like GenesisH0
1529353075
Hero Member
*
Offline Offline

Posts: 1529353075

View Profile Personal Message (Offline)

Ignore
1529353075
Reply with quote  #2

1529353075
Report to moderator
1529353075
Hero Member
*
Offline Offline

Posts: 1529353075

View Profile Personal Message (Offline)

Ignore
1529353075
Reply with quote  #2

1529353075
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529353075
Hero Member
*
Offline Offline

Posts: 1529353075

View Profile Personal Message (Offline)

Ignore
1529353075
Reply with quote  #2

1529353075
Report to moderator
1529353075
Hero Member
*
Offline Offline

Posts: 1529353075

View Profile Personal Message (Offline)

Ignore
1529353075
Reply with quote  #2

1529353075
Report to moderator
cloudboy
Hero Member
*****
Offline Offline

Activity: 689
Merit: 500


View Profile
November 10, 2014, 01:56:32 PM
 #2

You do it from main.cpp when you run it the first time.
tacotime
Legendary
*
Offline Offline

Activity: 1484
Merit: 1000



View Profile
November 10, 2014, 03:41:06 PM
 #3

https://github.com/decred/genesisminer

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
jasemoney
Legendary
*
Offline Offline

Activity: 1400
Merit: 1003


Forget-about-it


View Profile
November 10, 2014, 04:01:45 PM
 #4

From Fisheater on this thread: https://bitcointalk.org/index.php?topic=225690.0 "*** Complete Guide on How to Create a New Alt Coin ***"

Quote
7.  Create genesis block. Some people get stuck there, it's really easy:
- find LoadBlockIndex() function, inside, change:
    - paraphrase (pszTimestamp) to any recent news phase.
    - get the latest unix time (do a google), and put in block.nTime.
    - set any nNonce (doesn't really matter)
you can change the time/nonce for testnet too, if you want to use it.
After you are done, save it. Now the genesis block will not match the hash check and merkle root check, it doesn't matter.

The first time you run the compiled code (daemon or qt), it will say "assertion failed". Just exit the program, go to
config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", copy and paste it to the beginnig of main.cpp, hashGenesisBlock. Also get the merkle root in the same log file, paste it to the ... position in the following code, in LoadBlockIndex()
Quote
      assert(block.hashMerkleRoot == uint256("0x..."));

recompile the code, and genesis block created!


$MAID & $BTC other than that some short hodls and some long held garbage.
iGotSpots
Legendary
*
Offline Offline

Activity: 1652
Merit: 1001


The Trust Rating Below is Bullshit


View Profile WWW
November 10, 2014, 07:46:53 PM
 #5

Your computer

cloudboy
Hero Member
*****
Offline Offline

Activity: 689
Merit: 500


View Profile
November 10, 2014, 07:48:11 PM
 #6

Your computer

lolol +1
tearodactyl
Full Member
***
Offline Offline

Activity: 230
Merit: 100


View Profile
April 20, 2017, 08:53:20 PM
 #7

2014 methods no longer work.
2017 Bitcoin / Litecoin codebase update
http://practicecoin.com/index.php/2017/04/19/genesis-block/
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!