diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 7a08c0e8b..c1fab2477 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -1154,11 +1154,11 @@ int32_t LP_reserved_msg(int32_t priority,char *base,char *rel,bits256 pubkey,cha { pubp->pairsock = -1; LP_peer_pairsock(pubkey); - printf("mark cmdchannel %d closed sentbytes.%d\n",pubp->pairsock,sentbytes); + //printf("mark cmdchannel %d closed sentbytes.%d\n",pubp->pairsock,sentbytes); } else { - printf("sent %d bytes to cmdchannel.%d\n",sentbytes,pubp->pairsock); + //printf("sent %d bytes to cmdchannel.%d\n",sentbytes,pubp->pairsock); return(sentbytes); } } diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index ca3c3ba38..081038caf 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -822,7 +822,7 @@ uint16_t LP_psock_get(char *connectaddr,char *publicaddr,int32_t ispaired,int32_ { if ( (retjson= cJSON_Parse(retstr)) != 0 ) { - printf("from %s:%u (%s)\n",peer->ipaddr,peer->port,retstr); + //printf("from %s:%u (%s)\n",peer->ipaddr,peer->port,retstr); if ( (addr= jstr(retjson,"publicaddr")) != 0 ) safecopy(publicaddr,addr,128); if ( (addr= jstr(retjson,"connectaddr")) != 0 ) @@ -834,7 +834,7 @@ uint16_t LP_psock_get(char *connectaddr,char *publicaddr,int32_t ispaired,int32_ //printf("got.(%s) connect.%s public.%s publicport.%u\n",retstr,connectaddr,publicaddr,publicport); free(retstr); return(publicport); - } else printf("error psock from %s:%u\n",peer->ipaddr,peer->port); + } //else printf("error psock from %s:%u\n",peer->ipaddr,peer->port); } return(0); } diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index b7dcf3767..fa2a51683 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -871,9 +871,9 @@ struct LP_quoteinfo *LP_trades_gotrequest(void *ctx,struct LP_quoteinfo *qp,stru printf("request from blacklisted %s, ignore\n",bits256_str(str,qp->desthash)); return(0); } - printf("LP_address_utxo_reset\n"); + printf("LP_address_utxo_reset.%s\n",coin->symbol); LP_address_utxo_reset(coin); - printf("done LP_address_utxo_reset\n"); + printf("done LP_address_utxo_reset.%s\n",coin->symbol); if ( (butxo= LP_address_myutxopair(butxo,1,utxos,max,LP_coinfind(qp->srccoin),qp->coinaddr,qp->txfee,dstr(qp->destsatoshis),price,qp->desttxfee)) != 0 ) { strcpy(qp->gui,G.gui); diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index b601f2acd..1ddb2892f 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -1027,7 +1027,9 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti for (j=0; j<32; j++) rev.bytes[j] = rswap.myprivs[0].bytes[31 - j]; if ( (rswap.txbytes[BASILISK_ALICESPEND]= basilisk_swap_bobtxspend(&signedtxid,rswap.Btxfee,"alicespend",rswap.bobcoin,bob->wiftaddr,bob->taddr,bob->pubtype,bob->p2shtype,bob->isPoS,bob->wiftype,ctx,rswap.myprivs[0],0,redeemscript,redeemlen,userdata,len,rswap.txids[BASILISK_BOBPAYMENT],0,0,rswap.pubkey33,1,rswap.expiration,&rswap.values[BASILISK_ALICESPEND],0,0,rswap.bobpaymentaddr,1,bob->zcash)) != 0 ) - printf("alicespend.(%s)\n",rswap.txbytes[BASILISK_ALICESPEND]); + { + //printf("alicespend.(%s)\n",rswap.txbytes[BASILISK_ALICESPEND]); + } } LP_txbytes_update("alicespend",rswap.bobcoin,rswap.txbytes[BASILISK_ALICESPEND],&rswap.txids[BASILISK_ALICESPEND],&rswap.paymentspent,&rswap.sentflags[BASILISK_ALICESPEND]); } diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index db2279758..ce0b1fc90 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -2044,9 +2044,9 @@ int32_t basilisk_alicetxs(int32_t pairsock,struct basilisk_swap *swap,uint8_t *d //LP_importaddress(coin->symbol,swap->alicepayment.I.destaddr); strcpy(swap->alicepayment.p2shaddr,swap->alicepayment.I.destaddr); retval = 0; - for (i=0; ialicepayment.I.datalen; i++) - printf("%02x",swap->alicepayment.txbytes[i]); - printf(" ALICE PAYMENT created.(%s)\n",swap->alicepayment.I.destaddr); + //for (i=0; ialicepayment.I.datalen; i++) + // printf("%02x",swap->alicepayment.txbytes[i]); + //printf(" ALICE PAYMENT created.(%s)\n",swap->alicepayment.I.destaddr); LP_unspents_mark(coin->symbol,swap->alicepayment.vins); //LP_importaddress(coin->symbol,swap->alicepayment.I.destaddr); //basilisk_txlog(swap,&swap->alicepayment,-1);