test
This commit is contained in:
@@ -347,7 +347,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
|
||||
{
|
||||
while ( KOMODO_REALTIME == 0 || time(NULL) < KOMODO_REALTIME+10 )
|
||||
{
|
||||
fprintf(stderr,"komodo_connect.(%s) waiting for realtime\n",ASSETCHAINS_SYMBOL);
|
||||
fprintf(stderr,"komodo_connect.(%s) waiting for realtime RT.%u now.%u\n",ASSETCHAINS_SYMBOL,KOMODO_REALTIME,(uint32_t)time(NULL));
|
||||
sleep(3);
|
||||
}
|
||||
KOMODO_INITDONE = (uint32_t)time(NULL);
|
||||
|
||||
@@ -397,10 +397,10 @@ void komodo_gateway_iteration(char *symbol)
|
||||
printf("error KMDHEIGHT %d\n",KMDHEIGHT);
|
||||
break;
|
||||
}
|
||||
if ( KMDHEIGHT == kmdheight )
|
||||
KOMODO_REALTIME = (uint32_t)time(NULL);
|
||||
usleep(10000);
|
||||
}
|
||||
if ( KMDHEIGHT >= kmdheight )
|
||||
KOMODO_REALTIME = (uint32_t)time(NULL);
|
||||
}
|
||||
free_json(infoobj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user