Browse Source

Prints

pass-iguana-arg
jl777 7 years ago
parent
commit
95b5289701
  1. 2
      iguana/dpow/dpow_network.c
  2. 2
      iguana/iguana_notary.c

2
iguana/dpow/dpow_network.c

@ -1545,7 +1545,7 @@ void dpow_bestconsensus(struct dpow_info *dp,struct dpow_block *bp)
for (i=0; i<bp->numnotaries; i++) for (i=0; i<bp->numnotaries; i++)
if ( wts[i] == 0 || owts[i] == 0 ) if ( wts[i] == 0 || owts[i] == 0 )
printf("%s.%d:%d ",Notaries_elected[i][0],wts[i],owts[i]); printf("%s.%d:%d ",Notaries_elected[i][0],wts[i],owts[i]);
printf(" <- problem nodes\n"); printf(" <- problem nodes.%s\n",dp->symbol);
} }
} }
bp->recvmask |= recvmask; bp->recvmask |= recvmask;

2
iguana/iguana_notary.c

@ -70,7 +70,7 @@ void dpow_srcupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t he
if ( dp->DESTHEIGHT < dp->prevDESTHEIGHT+DPOW_CHECKPOINTFREQ ) if ( dp->DESTHEIGHT < dp->prevDESTHEIGHT+DPOW_CHECKPOINTFREQ )
{ {
suppress = 1; suppress = 1;
fprintf(stderr,"suppress %s -> KMD\n",dp->symbol); //fprintf(stderr,"suppress %s -> KMD\n",dp->symbol);
} }
} }
/*if ( strcmp(dp->dest,"KMD") == 0 )//|| strcmp(dp->dest,"CHAIN") == 0 ) /*if ( strcmp(dp->dest,"KMD") == 0 )//|| strcmp(dp->dest,"CHAIN") == 0 )

Loading…
Cancel
Save