update genesis block timestamp date

release-v0.5.1^2
wowario 5 years ago
parent 0742c615e2
commit dee662ce10
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -394,9 +394,9 @@ bool Blockchain::init(BlockchainDB* db, const network_type nettype, bool offline
uint64_t top_block_timestamp = m_db->get_top_block_timestamp();
uint64_t timestamp_diff = time(NULL) - top_block_timestamp;
// genesis block has no timestamp, could probably change it to have timestamp of 1341378000...
// genesis block has no timestamp, could probably change it to have timestamp of 1522624244 (2018-04-01 23:10:44, block 1)...
if(!top_block_timestamp)
timestamp_diff = time(NULL) - 1341378000;
timestamp_diff = time(NULL) - 1522624244;
// create general purpose async service queue

Loading…
Cancel
Save