|
|
@ -227,8 +227,8 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct |
|
|
|
} |
|
|
|
if ( j == numdiff ) |
|
|
|
{ |
|
|
|
masks[counts[numdiff]] = bestmask; |
|
|
|
bestks[counts[numdiff]] = bestk; |
|
|
|
masks[numdiff] = bestmask; |
|
|
|
bestks[numdiff] = bestk; |
|
|
|
counts[numdiff]++; |
|
|
|
numdiff++; |
|
|
|
} |
|
|
@ -236,7 +236,7 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct |
|
|
|
besti = best_bestk = -1, best = 0; |
|
|
|
for (i=0; i<numdiff; i++) |
|
|
|
{ |
|
|
|
printf("(%llx %d) ",(long long)masks[i],counts[i]); |
|
|
|
printf("(%d %llx).%d ",bestks[i],(long long)masks[i],counts[i]); |
|
|
|
if ( counts[i] > best ) |
|
|
|
{ |
|
|
|
best = counts[i]; |
|
|
|