jl777 8 years ago
parent
commit
bb38e19b10
  1. 2
      iguana/dpow/dpow_fsm.c
  2. 4
      iguana/dpow/dpow_network.c

2
iguana/dpow/dpow_fsm.c

@ -299,7 +299,7 @@ int32_t dpow_datahandler(struct supernet_info *myinfo,struct dpow_info *dp,struc
printf("txidchannel txid %s mismatch %s (%s)\n",bits256_str(str,txid),bits256_str(str2,srchash),bp->signedtx);
bp->signedtx[0] = 0;
}
} else printf("unhandled channel.%x\n",channel);
} //else printf("unhandled channel.%x\n",channel);
return(0);
}

4
iguana/dpow/dpow_network.c

@ -328,6 +328,8 @@ void dpow_ipbitsadd(struct supernet_info *myinfo,uint32_t *ipbits,int32_t numipb
return;
n = myinfo->numdpowipbits;
matched = missing = 0;
for (i=0; i<numipbits; i++)
printf("%08x ",ipbits[i]);
for (i=0; i<numipbits; i++)
{
for (j=0; j<n; j++)
@ -349,7 +351,7 @@ void dpow_ipbitsadd(struct supernet_info *myinfo,uint32_t *ipbits,int32_t numipb
expand_ipbits(ipaddr,ipbits[i]);
dpow_addnotary(myinfo,ipaddr);
}
} else printf("ignore\n");
} else if ( missing > 0 ) printf("ignore\n");
}
void dpow_nanomsg_update(struct supernet_info *myinfo)

Loading…
Cancel
Save