jl777 7 years ago
parent
commit
20f0a60e12
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 4
      iguana/exchanges/LP_utxo.c

2
iguana/exchanges/LP_nativeDEX.c

@ -547,7 +547,7 @@ void LP_coinsloop(void *myipaddr)
continue;
}
//if ( (coin->lastscanht % 1000) == 0 )
for (j=0; j<100; j++)
for (j=0; j<1; j++)
{
//if ( strcmp("REVS",coin->symbol) == 0 )
printf("%s ref.%d scan.%d to %d, longest.%d\n",coin->symbol,coin->firstrefht,coin->firstscanht,coin->lastscanht,coin->longestchain);

4
iguana/exchanges/LP_utxo.c

@ -628,8 +628,8 @@ cJSON *LP_transactioninit(struct iguana_info *coin,bits256 txid,int32_t iter,cJS
spentvout = jint(vin,"vout");
if ( i == 0 && bits256_nonz(spenttxid) == 0 )
continue;
if ( strcmp("REVS",coin->symbol) == 0 )
printf("ht.%d vini.%d %s/v%d spent\n",height,i,bits256_str(str,spenttxid),spentvout);
//if ( strcmp("REVS",coin->symbol) == 0 )
// printf("ht.%d vini.%d %s/v%d spent\n",height,i,bits256_str(str,spenttxid),spentvout);
if ( (tx= LP_transactionfind(coin,spenttxid)) != 0 )
{
if ( spentvout < tx->numvouts )

Loading…
Cancel
Save