From a1bc5de2b6fc5fbd1a091847e1128f4e08a248a6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 16 Mar 2018 00:29:07 +0200 Subject: [PATCH] Test --- iguana/dpow/dpow_network.c | 2 +- iguana/iguana_notary.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 214f928e2..0c7ea1526 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -2021,7 +2021,7 @@ void dpow_ipbitsadd(struct supernet_info *myinfo,struct dpow_info *dp,uint32_t * if ( ipbits[i] != 0 ) { expand_ipbits(ipaddr,ipbits[i]); - printf("ADD NOTARY.(%s) %08x\n",ipaddr,ipbits[i]); + //printf("ADD NOTARY.(%s) %08x\n",ipaddr,ipbits[i]); dpow_addnotary(myinfo,dp,ipaddr); } } else if ( missing > 0 ) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index cee95c774..d6b9fc15b 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -230,7 +230,7 @@ void iguana_dPoWupdate(struct supernet_info *myinfo,struct dpow_info *dp) } if ( (height= dpow_getchaintip(myinfo,&merkleroot,&blockhash,&blocktime,dp->srctx,&dp->numsrctx,src)) != dp->last.blockhash.height && height >= 0 ) { - //char str[65]; printf("[%s].%d %s %s height.%d vs last.%d\n",dp->dest,dp->SRCHEIGHT,dp->symbol,bits256_str(str,blockhash),height,dp->last.blockhash.height); + char str[65]; printf("[%s].%d %s %s height.%d vs last.%d\n",dp->dest,dp->SRCHEIGHT,dp->symbol,bits256_str(str,blockhash),height,dp->last.blockhash.height); if ( dp->lastheight == 0 ) dp->lastheight = height-1; if ( height < dp->last.blockhash.height )