diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 9fc8ff0c5..8284c8281 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -110,7 +110,8 @@ int32_t dpow_datahandler(struct supernet_info *myinfo,uint32_t channel,uint32_t bits256 txid,commit,srchash; struct dpow_block *bp = 0; uint32_t flag = 0; int32_t src_or_dest,senderind,i,myind = -1; char str[65],str2[65]; struct dpow_sigentry dsig; struct dpow_entry *ep; struct dpow_coinentry *cp; struct dpow_utxoentry U; struct iguana_info *coin; if ( (bp= dpow_heightfind(myinfo,height)) == 0 ) { - printf("couldnt find height.%d\n",height); + if ( (rand() % 100) == 0 ) + printf("couldnt find height.%d\n",height); return(-1); } dpow_notaryfind(myinfo,bp,&myind,myinfo->DPOW.minerkey33); diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 44d81b562..98e4f1649 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -114,7 +114,7 @@ void dpow_nanomsg_update(struct supernet_info *myinfo) crc32 = calc_crc32(0,np->packet,np->datalen); if ( crc32 == np->crc32 && (firstz= dpow_crc32find(myinfo,crc32,np->channel)) >= 0 ) { - printf("NANORECV ht.%d channel.%08x (%d) crc32.%08x:%08x datalen.%d:%d firstz.%d\n",np->height,np->channel,size,np->crc32,crc32,np->datalen,(int32_t)(size - sizeof(*np)),firstz); + //printf("NANORECV ht.%d channel.%08x (%d) crc32.%08x:%08x datalen.%d:%d firstz.%d\n",np->height,np->channel,size,np->crc32,crc32,np->datalen,(int32_t)(size - sizeof(*np)),firstz); if ( dpow_datahandler(myinfo,np->channel,np->height,np->packet,np->datalen) >= 0 ) myinfo->DPOW.crcs[firstz] = crc32; }