Bitcoin Forum
May 06, 2024, 05:21:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Anyone know a Merkle Root and Genesis Block Generator? for new altcoin  (Read 1406 times)
Solidsmart (OP)
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
1715016094
Hero Member
*
Offline Offline

Posts: 1715016094

View Profile Personal Message (Offline)

Ignore
1715016094
Reply with quote  #2

1715016094
Report to moderator
1715016094
Hero Member
*
Offline Offline

Posts: 1715016094

View Profile Personal Message (Offline)

Ignore
1715016094
Reply with quote  #2

1715016094
Report to moderator
1715016094
Hero Member
*
Offline Offline

Posts: 1715016094

View Profile Personal Message (Offline)

Ignore
1715016094
Reply with quote  #2

1715016094
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715016094
Hero Member
*
Offline Offline

Posts: 1715016094

View Profile Personal Message (Offline)

Ignore
1715016094
Reply with quote  #2

1715016094
Report to moderator
1715016094
Hero Member
*
Offline Offline

Posts: 1715016094

View Profile Personal Message (Offline)

Ignore
1715016094
Reply with quote  #2

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

Activity: 690
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: 1005



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

https://github.com/decred/genesisminer

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
jasemoney
Legendary
*
Offline Offline

Activity: 1610
Merit: 1008


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: 2548
Merit: 1054


CPU Web Mining 🕸️ on webmining.io


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

Your computer

cloudboy
Hero Member
*****
Offline Offline

Activity: 690
Merit: 500


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

Your computer

lolol +1
tearodactyl
Full Member
***
Offline Offline

Activity: 235
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:  

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