Test
This commit is contained in:
@@ -42,8 +42,11 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
|||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
{
|
{
|
||||||
//fprintf(stderr,"call passport iteration\n");
|
//fprintf(stderr,"call passport iteration\n");
|
||||||
MilliSleep(10000);
|
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
||||||
komodo_passport_iteration();
|
{
|
||||||
|
MilliSleep(10000);
|
||||||
|
komodo_passport_iteration();
|
||||||
|
}
|
||||||
fShutdown = ShutdownRequested();
|
fShutdown = ShutdownRequested();
|
||||||
}
|
}
|
||||||
if (threadGroup)
|
if (threadGroup)
|
||||||
|
|||||||
@@ -727,8 +727,8 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
|
|||||||
}
|
}
|
||||||
while ( KOMODO_PASSPORT_INITDONE == 0 )
|
while ( KOMODO_PASSPORT_INITDONE == 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,".");
|
komodo_passport_iteration();
|
||||||
sleep(3);
|
//sleep(3);
|
||||||
}
|
}
|
||||||
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
|
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
|
||||||
return(0);
|
return(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user