This commit is contained in:
jl777
2017-03-19 18:14:46 +02:00
parent 65f47ad9e0
commit 4b6b337e4e

View File

@@ -725,13 +725,13 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
}
return(0);
}
/*while ( KOMODO_PASSPORT_INITDONE == 0 )
while ( KOMODO_PASSPORT_INITDONE == 0 )
{
fprintf(stderr,".");
sleep(3);
}
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
return(0);*/
return(0);
if ( baseid == USD && (height <= 4000 || komodo_isrealtime(&ht) == 0) )
return(0);
}
@@ -1190,8 +1190,8 @@ void komodo_passport_iteration()
fseek(fp,0,SEEK_END);
if ( ftell(fp) > lastpos[baseid] )
{
if ( 0 && lastpos[baseid] == 0 && strcmp(symbol,"KMD") == 0 )
printf("passport refid.%d %s fname.(%s) base.%s\n",refid,symbol,fname,base);
//if ( 0 && lastpos[baseid] == 0 && strcmp(symbol,"KMD") == 0 )
printf("passport refid.%d %s fname.(%s) base.%s %ld %ld\n",refid,symbol,fname,base,ftell(fp),lastpos[baseid]);
fseek(fp,lastpos[baseid],SEEK_SET);
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 && n < 1000 )
{