Browse Source

Reset testnet with a new genesis block

miguelfreitas
David FRANCOIS 14 years ago
parent
commit
98ba262a48
  1. 6
      main.cpp

6
main.cpp

@ -1898,7 +1898,7 @@ bool LoadBlockIndex(bool fAllowNew) @@ -1898,7 +1898,7 @@ bool LoadBlockIndex(bool fAllowNew)
{
if (fTestNet)
{
hashGenesisBlock = uint256("0x0000000224b1593e3ff16a0e3b61285bbc393a39f78c8aa48c456142671f7110");
hashGenesisBlock = uint256("0x00000007199508e34a9ff81e6ec0c477a4cccff2a4767a8eee39c11db367b008");
bnProofOfWorkLimit = CBigNum(~uint256(0) >> 28);
pchMessageStart[0] = 0xfa;
pchMessageStart[1] = 0xbf;
@ -1948,9 +1948,9 @@ bool LoadBlockIndex(bool fAllowNew) @@ -1948,9 +1948,9 @@ bool LoadBlockIndex(bool fAllowNew)
if (fTestNet)
{
block.nTime = 1279232055;
block.nTime = 1296688602;
block.nBits = 0x1d07fff8;
block.nNonce = 81622180;
block.nNonce = 384568319;
}
//// debug print

Loading…
Cancel
Save