test
This commit is contained in:
@@ -366,7 +366,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
|
||||
sleep(3);
|
||||
}
|
||||
}
|
||||
KOMODO_INITDONE = (uint32_t)time(NULL);
|
||||
KOMODO_REALTIME = KOMODO_INITDONE = (uint32_t)time(NULL);
|
||||
if ( pindex != 0 )
|
||||
{
|
||||
height = pindex->nHeight;
|
||||
|
||||
@@ -122,9 +122,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
||||
if ( KOMODO_INITDONE == 0 || time(NULL) < KOMODO_INITDONE+60 || KOMODO_REALTIME == 0 )
|
||||
{
|
||||
fprintf(stderr,"INITDONE.%d RT.%d deposits %.8f\n",KOMODO_INITDONE,KOMODO_REALTIME,(double)deposits/COIN);
|
||||
continue;
|
||||
}
|
||||
if ( deposits != 0 )
|
||||
else if ( deposits != 0 )
|
||||
break;
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user