Bitcoin Forum
October 19, 2017, 10:25:03 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: which step wrong for generate genesis block  (Read 167 times)
supercanada1
Sr. Member
****
Offline Offline

Activity: 375



View Profile
September 09, 2016, 05:17:42 AM
 #1

 I just set a new pszTimestamp, new block.nTime, block.nNonce=0, and set assert(block.hashMerkleRoot == uint256("0x"), and clean uint256 hashGenesisBlock("0x"), and compile, and fill in the hashMerkleRoot, compile and run again, fill in block.nNonce, hashGenesisBlock("0x") this time, then compile again, get the stake modifier checkpoint error when run
anything wrong or any step wrong? I used to work on the same way, but right now have problem, what is wrong? i forget something?




CBlock(hash=00000f1b793437f9c95e2d0932156150d1cd584cfc517fea2daf31ae174f9ea0, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=1390b75dd1bdfe9b83feaf692e62db43157111cac7df224174151f2bc2477574, nTime=1473283649, nBits=1e0fffff, nNonce=77745, vtx=1, vchBlockSig=)
  Coinbase(hash=1390b75dd1, nTime=1473283649, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 00012a0c6d616b6520697420676f6f64)
    CTxOut(empty)
  vMerkleTree: 1390b75dd1
block.GetHash() == 00000f1b793437f9c95e2d0932156150d1cd584cfc517fea2daf31ae174f9ea0
block.hashMerkleRoot == 1390b75dd1bdfe9b83feaf692e62db43157111cac7df224174151f2bc2477574
block.nTime = 1473283649
block.nNonce = 77745
CBlock(hash=00000f1b793437f9c95e2d0932156150d1cd584cfc517fea2daf31ae174f9ea0, ver=1, hashPrevBlock=0000000000000000000000000000000000000000000000000000000000000000, hashMerkleRoot=1390b75dd1bdfe9b83feaf692e62db43157111cac7df224174151f2bc2477574, nTime=1473283649, nBits=1e0fffff, nNonce=77745, vtx=1, vchBlockSig=)
  Coinbase(hash=1390b75dd1, nTime=1473283649, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 00012a0c6d616b6520697420676f6f64)
    CTxOut(empty)
  vMerkleTree: 1390b75dd1
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=0, modifier=0x0000000000000000
ERROR: LoadBlockIndex() : genesis block not accepted

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!