Test
This commit is contained in:
@@ -728,17 +728,10 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
while ( KOMODO_PASSPORT_INITDONE == 0 )
|
while ( KOMODO_PASSPORT_INITDONE == 0 )
|
||||||
{
|
|
||||||
komodo_passport_iteration();
|
komodo_passport_iteration();
|
||||||
//sleep(3);
|
|
||||||
}
|
|
||||||
if ( KOMODO_PASSPORT_INITDONE == 0 ) // komodo_isrealtime(&ht) == 0 || init time already in DB
|
|
||||||
return(0);
|
|
||||||
// f9510bbd58f90ea133653005a6e3087779fd838317518ba63cce2b0fc381dff6 1337
|
|
||||||
// 7b6e26d9ffbb7cc1b71185c38906b71632324d1c9df3a2596d09e1353a714c27 1338
|
|
||||||
if ( baseid == USD )
|
if ( baseid == USD )
|
||||||
{
|
{
|
||||||
if ( baseid == USD && (height <= 2000 || height == 3282 || height == 3328 || height == 3468) )
|
if ( baseid == USD && height <= 2000 )// || height == 3282 || height == 3328 || height == 3468) )
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1225,7 +1218,7 @@ void komodo_passport_iteration()
|
|||||||
fseek(fp,0,SEEK_END);
|
fseek(fp,0,SEEK_END);
|
||||||
if ( ftell(fp) > lastpos[baseid] )
|
if ( ftell(fp) > lastpos[baseid] )
|
||||||
{
|
{
|
||||||
if ( strcmp(symbol,"KMD") != 0 )
|
if ( ASSETCHAINS_SYMBOL[0] != 0 )
|
||||||
printf("%s passport refid.%d %s fname.(%s) base.%s %ld %ld\n",ASSETCHAINS_SYMBOL,refid,symbol,fname,base,ftell(fp),lastpos[baseid]);
|
printf("%s passport refid.%d %s fname.(%s) base.%s %ld %ld\n",ASSETCHAINS_SYMBOL,refid,symbol,fname,base,ftell(fp),lastpos[baseid]);
|
||||||
fseek(fp,lastpos[baseid],SEEK_SET);
|
fseek(fp,lastpos[baseid],SEEK_SET);
|
||||||
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 && n < 1000 )
|
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 && n < 1000 )
|
||||||
|
|||||||
Reference in New Issue
Block a user