Permalink
Browse files

Remove Merkel Root and Genesis Block.

Remove Merkel Root and Genesis Block.
  • Loading branch information...
HowToCloneAnAltcoin
HowToCloneAnAltcoin committed Nov 6, 2014
1 parent 0798f24 commit 46bbcb1377ac2db0f8dabc19faffb9ab6f989cb6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main.cpp
View
@@ -35,7 +35,7 @@ CTxMemPool mempool;
unsigned int nTransactionsUpdated = 0;
map<uint256, CBlockIndex*> mapBlockIndex;
uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
uint256 hashGenesisBlock("0x");
static CBigNum bnProofOfWorkLimit(~uint256(0) >> 20); // Clonecoin: starting difficulty is 1 / 2^12
CBlockIndex* pindexGenesisBlock = NULL;
int nBestHeight = -1;
@@ -2806,7 +2806,7 @@ bool InitBlockIndex() {
printf("%s\n", hash.ToString().c_str());
printf("%s\n", hashGenesisBlock.ToString().c_str());
printf("%s\n", block.hashMerkleRoot.ToString().c_str());
assert(block.hashMerkleRoot == uint256("0x97ddfbbae6be97fd6cdf3e7ca13232a3afff2353e29badfab7f73011edd4ced9"));
assert(block.hashMerkleRoot == uint256("0x"));
block.print();
assert(hash == hashGenesisBlock);

2 comments on commit 46bbcb1

@blockchaintrainer

This comment has been minimized.

Show comment
Hide comment
@blockchaintrainer

blockchaintrainer Apr 3, 2018

I have made these changes in chainparams.cpp as it seems to be the correct file

blockchaintrainer replied Apr 3, 2018

I have made these changes in chainparams.cpp as it seems to be the correct file

@potadibyo

This comment has been minimized.

Show comment
Hide comment
@potadibyo

potadibyo Apr 16, 2018

would you tell me in which line no has changed

potadibyo replied Apr 16, 2018

would you tell me in which line no has changed

Please sign in to comment.