Browse Source

Test

etomic
jl777 7 years ago
parent
commit
81a3cd5cd1
  1. 8
      iguana/dpow/dpow_rpc.c

8
iguana/dpow/dpow_rpc.c

@ -198,8 +198,14 @@ void iguana_notarystats(char *fname,int32_t totals[64],int32_t dispflag)
if ( iter == 1 && height >= 180000 ) if ( iter == 1 && height >= 180000 )
{ {
for (i=0; i<num; i++) for (i=0; i<num; i++)
{
if ( ((1LL << i) & signedmask) != 0 ) if ( ((1LL << i) & signedmask) != 0 )
{
totals[i]++; totals[i]++;
printf("%d ",i);
}
}
printf("height.%d %016llx\n",height,(long long)signedmask);
} }
prevheight = height; prevheight = height;
} else break; } else break;
@ -212,7 +218,7 @@ void iguana_notarystats(char *fname,int32_t totals[64],int32_t dispflag)
} }
} }
fclose(fp); fclose(fp);
if ( dispflag != 0 ) //if ( dispflag != 0 )
{ {
for (i=0; i<num; i++) for (i=0; i<num; i++)
{ {

Loading…
Cancel
Save