From aeeacfc4dd92a22b43202f247ab76bb7d68cd006 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Sun, 28 Oct 2018 02:25:26 +0300 Subject: [PATCH] remove debug printouts --- iguana/dpow/dpow_rpc.c | 6 +++--- iguana/dpow/dpow_tx.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 066634ffe..030c16b5c 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -647,9 +647,9 @@ char *dpow_signrawtransaction(struct supernet_info *myinfo,struct iguana_info *c free_json(retjson); } //printf("%s signrawtransaction.(%s) params.(%s)\n",coin->symbol,retstr,paramstr); - uint32_t zcash = (strcmp(coin->symbol, "VRSC") == 0 || strcmp(coin->symbol, "VRSCTEST") == 0); - if (zcash) - printf("[Decker] %s dpow_signrawtransaction.(%s) params.(%s)\n", coin->symbol, retstr, paramstr); + uint32_t zcash = (strcmp(coin->symbol, "VRSC") == 0 || strcmp(coin->symbol, "VRSCTEST") == 0); + /*if (zcash) + printf("[Decker] %s dpow_signrawtransaction.(%s) params.(%s)\n", coin->symbol, retstr, paramstr);*/ free(paramstr); usleep(10000); return(retstr); diff --git a/iguana/dpow/dpow_tx.c b/iguana/dpow/dpow_tx.c index c6cd741c5..53cac3aac 100755 --- a/iguana/dpow/dpow_tx.c +++ b/iguana/dpow/dpow_tx.c @@ -271,7 +271,7 @@ bits256 dpow_notarytx(struct supernet_info *myinfo,char *signedtx,int32_t *numsi struct iguana_info *coin = (src_or_dest != 0) ? bp->destcoin : bp->srccoin; uint32_t zcash = (strcmp(coin->symbol, "VRSC") == 0 || strcmp(coin->symbol, "VRSCTEST") == 0); - printf("[Decker] dpow_notarytx: src.(%s) dst.(%s) src_or_dest.(%d) usesigs.(%d)\n", bp->srccoin->symbol, bp->destcoin->symbol, src_or_dest, usesigs); + //printf("[Decker] dpow_notarytx: src.(%s) dst.(%s) src_or_dest.(%d) usesigs.(%d)\n", bp->srccoin->symbol, bp->destcoin->symbol, src_or_dest, usesigs); signedtx[0] = 0; *numsigsp = 0; @@ -304,7 +304,7 @@ bits256 dpow_notarytx(struct supernet_info *myinfo,char *signedtx,int32_t *numsi { if ( pubkeys != 0 && numratified > 0 ) // state [1] { - printf("[Decker] dpow_notarytx: state [1]\n"); + //printf("[Decker] dpow_notarytx: state [1]\n"); if ( src_or_dest != 0 ) { txid = bp->notaries[k].ratifydestutxo; @@ -325,7 +325,7 @@ bits256 dpow_notarytx(struct supernet_info *myinfo,char *signedtx,int32_t *numsi } else // state [2] { - printf("[Decker] dpow_notarytx: state [2]\n"); + //printf("[Decker] dpow_notarytx: state [2]\n"); ep = &bp->notaries[k]; cp = (src_or_dest != 0) ? &bp->notaries[k].dest : &bp->notaries[k].src; if ( bits256_nonz(cp->prev_hash) == 0 ) @@ -386,7 +386,7 @@ bits256 dpow_notarytx(struct supernet_info *myinfo,char *signedtx,int32_t *numsi // here if usesigs=0 we have unsigned tx (not preimage), if usesigs=1 - we have signed tx with sigs from nn_bus network (?) init_hexbytes_noT(signedtx,serialized,len); - printf("[Decker] dpow_notarytx: signedtx.(%s)\n", signedtx); + //printf("[Decker] dpow_notarytx: signedtx.(%s)\n", signedtx); //printf("notarytx.(%s) opretlen.%d\n",signedtx,opretlen); if ( usesigs == 0 && bestk >= 0 )