Bitcoin Forum
January 20, 2018, 05:38:06 PM *
News: Electrum users must upgrade to 3.0.5 if they haven't already. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Anyone know a Merkle Root and Genesis Block Generator? for new altcoin  (Read 1240 times)
Solidsmart
Member
**
Offline Offline

Activity: 70


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

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

Posts: 1516469886

View Profile Personal Message (Offline)

Ignore
1516469886
Reply with quote  #2

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

Posts: 1516469886

View Profile Personal Message (Offline)

Ignore
1516469886
Reply with quote  #2

1516469886
Report to moderator
1516469886
Hero Member
*
Offline Offline

Posts: 1516469886

View Profile Personal Message (Offline)

Ignore
1516469886
Reply with quote  #2

1516469886
Report to moderator
1516469886
Hero Member
*
Offline Offline

Posts: 1516469886

View Profile Personal Message (Offline)

Ignore
1516469886
Reply with quote  #2

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

Activity: 689


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



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

https://github.com/decred/genesisminer

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
jasemoney
Legendary
*
Offline Offline

Activity: 1274


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: 1540



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

Your computer

██████████████
██████████████████████
████████████████████████████
████████████████████████████████
████████████████████████████████████
██████████████████████████████████████
██████████████████████████████████████████
████████████████████████████████████████████
█████████████████████████████████████████
██████████████████████████████████████
███████████████████████████████████████████████
███████████████████████████████████████████
███████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
███████████████████████████████████████████████
████████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
████████████████████████████████████████████
██████████████████████████████████████████
█████████████████████████████████████
████████████████████████████████████
████████████████████████████████
████████████████████████████
██████████████████████
██████████████
   .HealthyWormCoin.   |     Twitter
Explorer
   |       YouTube
Worm Shop
The worms need your help to grow!
cloudboy
Hero Member
*****
Offline Offline

Activity: 689


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

Your computer

lolol +1
tearodactyl
Full Member
***
Offline Offline

Activity: 216


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!