Browse Source

Test

pull/4/head
jl777 7 years ago
parent
commit
1e1893d8f1
  1. 7
      src/bitcoind.cpp
  2. 4
      src/komodo_gateway.h

7
src/bitcoind.cpp

@ -42,8 +42,11 @@ void WaitForShutdown(boost::thread_group* threadGroup)
while (!fShutdown)
{
//fprintf(stderr,"call passport iteration\n");
MilliSleep(10000);
komodo_passport_iteration();
if ( ASSETCHAINS_SYMBOL[0] == 0 )
{
MilliSleep(10000);
komodo_passport_iteration();
}
fShutdown = ShutdownRequested();
}
if (threadGroup)

4
src/komodo_gateway.h

@ -727,8 +727,8 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
}
while ( KOMODO_PASSPORT_INITDONE == 0 )
{
fprintf(stderr,".");
sleep(3);
komodo_passport_iteration();
//sleep(3);
}
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
return(0);

Loading…
Cancel
Save