@ -383,6 +383,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,int32_t helperid,int32_t convert
iguana_ramchain_prefetch(coin,&bp->ramchain,0);
if ( strcmp("BTC",coin->symbol) == 0 || iguana_bundlevalidate(coin,bp,1) == bp->n )
{
retval = 0;
if ( bp->utxofinish > 1 || (retval= iguana_spendvectors(coin,bp,&bp->ramchain,0,bp->n,convertflag)) >= 0 )
if ( retval > 0 )
@ -634,8 +634,8 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc
if ( bits256_nonz(hash2) == 0 )
break;
}
printf("GOT HEADERS n.%d len.%d\n",n,len);
printf("GOT HEADERS.(%s) n.%d len.%d\n",H->command,n,len);
else if ( (ishost= (strcmp(H->command,"version") == 0)) || strcmp(H->command,"verack") == 0 )
@ -1100,7 +1100,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st
if ( ptr != 0 )
myfree(ptr,sizeof(*ptr) * n);
if ( bp != coin->current )
//if ( bp != coin->current )
printf("UTXO [%4d].%-6d dur.%-2d [milli %8.3f] vectors %-6d err.%d [%5.2f%%] %7d %9s of %d\n",bp->hdrsi,bp->numtmpspends,(uint32_t)time(NULL)-starttime,OS_milliseconds()-startmillis,spendind,errs,100.*(double)emitted/(total+1),emit,mbstr(str,sizeof(*ptr) * emit),n);
return(-errs);