diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 36e80b511..96601b66e 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -334,7 +334,7 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo } if ( ep->masks[src_or_dest][bp->bestk] == 0 ) { - printf("dpow update signedtxgen\n"); + //printf("dpow update signedtxgen\n"); dpow_signedtxgen(myinfo,dp,(src_or_dest != 0) ? bp->destcoin : bp->srccoin,bp,bp->bestk,bp->bestmask,myind,DPOW_SIGBTCCHANNEL,src_or_dest); } if ( bp->bestk >= 0 && (rand() % 10) == 0 ) @@ -349,7 +349,7 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo } if ( bp->bestk >= 0 && ep->masks[src_or_dest][bp->bestk] == 0 ) { - printf("dpow update2 signedtxgen\n"); + //printf("dpow update2 signedtxgen\n"); dpow_signedtxgen(myinfo,dp,(src_or_dest != 0) ? bp->destcoin : bp->srccoin,bp,bp->bestk,bp->bestmask,myind,DPOW_SIGBTCCHANNEL,src_or_dest); } if ( bp->bestk >= 0 && (rand() % 10) == 0 ) @@ -365,7 +365,7 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo src_or_dest = 0; if ( bp->bestk >= 0 && ep->masks[src_or_dest][bp->bestk] == 0 ) { - printf("dpow update src signedtxgen\n"); + //printf("dpow update src signedtxgen\n"); dpow_signedtxgen(myinfo,dp,(src_or_dest != 0) ? bp->destcoin : bp->srccoin,bp,bp->bestk,bp->bestmask,myind,DPOW_SIGCHANNEL,src_or_dest); } if ( bp->bestk >= 0 && (rand() % 10) == 0 ) @@ -387,7 +387,7 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo dpow_sendcoinentrys(myinfo,dp,bp); if ( bp->bestk >= 0 ) { - printf("dpow update ratify signedtxgen\n"); + //printf("dpow update ratify signedtxgen\n"); dpow_signedtxgen(myinfo,dp,(bp->state < 1000) ? bp->destcoin : bp->srccoin,bp,bp->bestk,bp->bestmask,myind,bp->state < 1000 ? DPOW_SIGBTCCHANNEL : DPOW_SIGCHANNEL,bp->state < 1000); } printf("ht.%d numnotaries.%d BEST.%llx from RECV.%llx bestk.%d sigsmask.%llx missing.%llx\n",bp->height,bp->numnotaries,(long long)bp->bestmask,(long long)bp->recvmask,bp->bestk,bp->bestk>=0?(long long)bp->destsigsmasks[bp->bestk]:0,bp->bestk>=0?(long long)(bp->bestmask & ~bp->destsigsmasks[bp->bestk]):0); diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 8714c8698..9e8c26db6 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -195,7 +195,7 @@ char *dpow_signrawtransaction(struct supernet_info *myinfo,struct iguana_info *c jaddistr(array,rawtx); jaddi(array,jduplicate(vins)); paramstr = jprint(array,1); - printf("signrawtransaction\n"); + //printf("signrawtransaction\n"); retstr = bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"signrawtransaction",paramstr); //printf("%s signrawtransaction.(%s) params.(%s)\n",coin->symbol,retstr,paramstr); free(paramstr); diff --git a/iguana/dpow/dpow_tx.c b/iguana/dpow/dpow_tx.c index da48a55e5..e9a2c5b16 100755 --- a/iguana/dpow/dpow_tx.c +++ b/iguana/dpow/dpow_tx.c @@ -307,7 +307,7 @@ void dpow_rawtxsign(struct supernet_info *myinfo,struct dpow_info *dp,struct igu dpow_sigsend(myinfo,dp,bp,myind,bestk,bestmask,srchash,src_or_dest != 0 ? DPOW_SIGBTCCHANNEL : DPOW_SIGCHANNEL); return; } - printf("rawtxsign\n"); + //printf("rawtxsign\n"); if ( (jsonstr= dpow_signrawtransaction(myinfo,coin,rawtx,vins)) != 0 ) { if ( (signobj= cJSON_Parse(jsonstr)) != 0 )