jl777 8 years ago
parent
commit
f1c4918b61
  1. 6
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_prices.c

6
iguana/exchanges/LP_nativeDEX.c

@ -355,13 +355,13 @@ int32_t LP_utxos_sync(struct LP_peerinfo *peer)
}
if ( j == m )
{
printf("%s missing %s\n",peer->ipaddr,jprint(item,0));
//printf("%s missing %s\n",peer->ipaddr,jprint(item,0));
if ( (retstr2= issue_LP_uitem(peer->ipaddr,peer->port,coin->symbol,coin->smartaddr,txid,v,jint(item,"height"),j64bits(item,"value"))) != 0 )
free(retstr2);
posted++;
}
}
if ( 1 && posted != 0 )
if ( 0 && posted != 0 )
printf(">>>>>>>> %s compare %s %s (%.8f n%d) (%.8f m%d)\n",peer->ipaddr,coin->symbol,coin->smartaddr,dstr(total),n,dstr(total2),m);
} //else printf("%s matches\n",peer->ipaddr);
free_json(array2);
@ -403,7 +403,7 @@ int32_t LP_utxos_sync(struct LP_peerinfo *peer)
}
free_json(array2);
}
printf("processed.(%s)\n",retstr);
//printf("processed.(%s)\n",retstr);
free(retstr);
}
}

2
iguana/exchanges/LP_prices.c

@ -238,7 +238,7 @@ cJSON *LP_pubkeyjson(struct LP_pubkeyinfo *pubp)
jaddstr(obj,"rmd160",hexstr);
init_hexbytes_noT(hexstr2,pubp->pubsecp,sizeof(pubp->pubsecp));
jaddstr(obj,"pubsecp",hexstr2);
printf("nonz rmd160 (%s %s)\n",hexstr,hexstr2);
//printf("nonz rmd160 (%s %s)\n",hexstr,hexstr2);
}
}
}

Loading…
Cancel
Save