test
This commit is contained in:
@@ -539,7 +539,7 @@ int32_t komodo_checkpoint(int32_t *notarized_heightp,int32_t nHeight,uint256 has
|
|||||||
}
|
}
|
||||||
} else fprintf(stderr,"unexpected error notary_hash %s ht.%d at ht.%d\n",notarized_hash.ToString().c_str(),notarized_height,notary->nHeight);
|
} else fprintf(stderr,"unexpected error notary_hash %s ht.%d at ht.%d\n",notarized_hash.ToString().c_str(),notarized_height,notary->nHeight);
|
||||||
} else if ( notarized_height > 0 && notarized_height != 73880 )
|
} else if ( notarized_height > 0 && notarized_height != 73880 )
|
||||||
fprintf(stderr,"[%s] couldnt find notary_hash %s ht.%d\n",ASSETCHAINS_SYMBOL,notarized_hash.ToString().c_str(),notarized_height);
|
fprintf(stderr,"[%s] couldnt find notarized.(%s %d) ht.%d\n",ASSETCHAINS_SYMBOL,notarized_hash.ToString().c_str(),notarized_height,chainActive.Tip()->nHeight);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ void komodo_event_rewind(struct komodo_state *sp,char *symbol,int32_t height)
|
|||||||
{
|
{
|
||||||
if ( ep->height < height )
|
if ( ep->height < height )
|
||||||
break;
|
break;
|
||||||
printf("undo event.%c ht.%d for rewind.%d\n",ep->type,ep->height,height);
|
printf("[%s] undo %s event.%c ht.%d for rewind.%d\n",ASSETCHAINS_SYMBOL,symbol,ep->type,ep->height,height);
|
||||||
komodo_event_undo(sp,ep);
|
komodo_event_undo(sp,ep);
|
||||||
sp->Komodo_numevents--;
|
sp->Komodo_numevents--;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -582,7 +582,7 @@ void komodo_passport_iteration()
|
|||||||
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 )
|
while ( komodo_parsestatefile(sp,fp,symbol,dest) >= 0 )
|
||||||
;
|
;
|
||||||
lastpos[baseid] = ftell(fp);
|
lastpos[baseid] = ftell(fp);
|
||||||
printf("from.(%s) lastpos[%s] %ld\n",ASSETCHAINS_SYMBOL,CURRENCIES[baseid],lastpos[baseid]);
|
//printf("from.(%s) lastpos[%s] %ld\n",ASSETCHAINS_SYMBOL,CURRENCIES[baseid],lastpos[baseid]);
|
||||||
} //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp));
|
} //else fprintf(stderr,"%s.%ld ",CURRENCIES[baseid],ftell(fp));
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
} else printf("fname.(%s) cant open\n",fname);
|
} else printf("fname.(%s) cant open\n",fname);
|
||||||
|
|||||||
Reference in New Issue
Block a user