From 15373725e70ed053da1ff21afb53a37d7cb28e1b Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 13 Dec 2016 12:09:52 +0200 Subject: [PATCH] test --- src/chainparams.cpp | 7 ++++--- src/komodo.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index c3f9bf0a4..688bc15c6 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -121,9 +121,10 @@ public: { boost::assign::map_list_of (0, consensus.hashGenesisBlock) - (2500, uint256S("0x00000006dc968f600be11a86cbfbf7feb61c7577f45caced2e82b6d261d19744")) - (15000, uint256S("0x00000000b6bc56656812a5b8dcad69d6ad4446dec23b5ec456c18641fb5381ba")), - 1479851027, // * UNIX timestamp of last checkpoint block + (2500, uint256S("0x0e6a3d5a46eba97c4e7618d66a39f115729e1176433c98481124c2bf733aa54e")) + (15000, uint256S("0x00f0bd236790e903321a2d22f85bd6bf8a505f6ef4eddb20458a65d37e14d142")), + (100000, uint256S("0x0f02eb1f3a4b89df9909fec81a4bd7d023e32e24e1f5262d9fc2cc36a715be6f")), + 1481120910, // * UNIX timestamp of last checkpoint block 110415, // * total number of transactions between genesis and last checkpoint // (the tx=... number in the SetBestChain debug.log lines) 4240 // * estimated number of transactions per day after checkpoint diff --git a/src/komodo.h b/src/komodo.h index 2d978d443..b6aaa4c2d 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -194,7 +194,10 @@ void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotar static FILE *fp; static int32_t errs; struct komodo_state *sp; char fname[512],symbol[16],dest[16]; int32_t ht,func; uint8_t num,pubkeys[64][33]; if ( (sp= komodo_stateptr(symbol,dest)) == 0 ) + { + KOMODO_INITDONE = (uint32_t)time(NULL); return; + } if ( fp == 0 ) { komodo_statefname(fname,ASSETCHAINS_SYMBOL,(char *)"komodostate");