Hi!
I need to make clone of Bitcoin Core whith new (another) genenis-block, blockchain and new name ("Mynewcoin" or something else).
How can I do it? I need step-by-step manual, but did'nt find it
Can u help me please?
Tnx!
Make a beginning square. A few people stall out there, it's extremely simple:
discover LoadBlockIndex() work, inside, change:
summarize (pszTimestamp) to any current news stage.
get the most recent Unix time (complete a google), and put in block.nTime.
set any nNonce (doesn't generally make a difference), you can change the time/nonce for testnet as well, on the off chance that you need to utilize it.
After you are done, spare it. Presently the beginning square won't coordinate the hash check and Merkle root check, it doesn't make a difference.
The first occasion when you run the arranged code (daemon or qt), it will state "attestation fizzled". Simply leave the program, go to config dir (under AppData/Roaming), open the debug.log, get the hash after "block.GetHash() = ", reorder it to the beginning of main.cpp, hashGenesisBlock. Likewise get the Merkle root in a similar log record, glue it to the ... position in the accompanying code, in LoadBlockIndex()
assert(block.hashMerkleRoot == uint256("0x..."));
recompile the code, and genesis block created!
BTW, don't forget to change "txNew.vout[0].nValue = " to the coin per block you defined, it doesn't matter to leave as 50, just be consistent with your coin per block (do this before adjust the hash and m-root, otherwise they will be changed again).