Permalink
Browse files

Change Timestamps.

Change Timestamps.
  • Loading branch information...
HowToCloneAnAltcoin
HowToCloneAnAltcoin committed Nov 6, 2014
1 parent 24cf679 commit 790f9964abdb0543abe1ee1801562a004349e719
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main.cpp
View
@@ -2779,7 +2779,7 @@ bool InitBlockIndex() {
// vMerkleTree: 97ddfbbae6
// Genesis block
const char* pszTimestamp = "NY Times 05/Oct/2011 Steve Jobs, Apple’s Visionary, Dies at 56";
const char* pszTimestamp = "05/Nov/2014 Police: 1 dead after car rams Jerusalem train platform in terror attack";
CTransaction txNew;
txNew.vin.resize(1);
txNew.vout.resize(1);
@@ -2791,13 +2791,13 @@ bool InitBlockIndex() {
block.hashPrevBlock = 0;
block.hashMerkleRoot = block.BuildMerkleTree();
block.nVersion = 1;
block.nTime = 1317972665;
block.nTime = 1415210670;
block.nBits = 0x1e0ffff0;
block.nNonce = 0;
if (fTestNet)
{
block.nTime = 1317798646;
block.nTime = 1415210670;
block.nNonce = 0;
}

1 comment on commit 790f996

@dragosthealex

This comment has been minimized.

Show comment
Hide comment
@dragosthealex

dragosthealex Aug 4, 2018

These are now in chainparams.cpp
Change pszTimestamp in CreateGenesisBlock()
Change times for main, testnet and regtest in their own ChainParams classes
genesis = CreateGenesisBlock(time, nonce, bits, version, reward)

dragosthealex commented on 790f996 Aug 4, 2018

These are now in chainparams.cpp
Change pszTimestamp in CreateGenesisBlock()
Change times for main, testnet and regtest in their own ChainParams classes
genesis = CreateGenesisBlock(time, nonce, bits, version, reward)

Please sign in to comment.