diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 7ff5b91a7..c58109153 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -931,7 +931,7 @@ void basilisk_iteration(struct supernet_info *myinfo) void basilisks_loop(void *arg) { - //static uint32_t counter; + static uint32_t counter; struct supernet_info *myinfo = arg; int32_t iter; double startmilli,endmilli; iter = 0; while ( 1 ) @@ -942,7 +942,7 @@ void basilisks_loop(void *arg) basilisk_p2pQ_process(myinfo,777); if ( myinfo->NOTARY.RELAYID >= 0 ) { - //if ( (counter++ % 20) == 0 ) + if ( (counter++ % 2) == 0 ) iguana_dPoWupdate(myinfo); endmilli = startmilli + 500; } diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 057ff9305..37b730220 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -390,7 +390,7 @@ int32_t dpow_message_most(uint8_t *k_masks,int32_t num,cJSON *json,int32_t lastf siglen = data[10]; sig = data+11; memcpy(&k_masks[num << 7],data,datalen); - printf("num.%d sender.%d lastk.%d %llx\n",num,senderind,lastk,(long long)mask); + //printf("num.%d sender.%d lastk.%d %llx\n",num,senderind,lastk,(long long)mask); num++; } } else printf("datalen.%d >= maxlen.%d\n",datalen,(int32_t)sizeof(data)); @@ -409,7 +409,7 @@ int32_t dpow_message_most(uint8_t *k_masks,int32_t num,cJSON *json,int32_t lastf } } } - printf("most.%d n.%d\n",most,n); + //printf("most.%d n.%d\n",most,n); return(num); } @@ -498,7 +498,7 @@ cJSON *dpow_createtx(struct iguana_info *coin,cJSON **vinsp,struct dpow_entry no txobj = bitcoin_txoutput(txobj,script,sizeof(script),satoshis); } *vinsp = vins; - if ( usesigs != 0 ) + if ( 0 && usesigs != 0 ) printf("%s createtx.(%s)\n",coin->symbol,jprint(txobj,0)); return(txobj); } @@ -585,7 +585,8 @@ int32_t dpow_k_masks_match(struct dpow_entry notaries[DPOW_MAXRELAYS],int32_t nu memcpy(notaries[senderind].sig,data+11,data[10]); int32_t j; for (j=0; j 0 ) + printf(" <- sender.%d siglen.%d\n",i,data[10]); matches++; } }