Browse Source

Test

pass-iguana-arg
jl777 7 years ago
parent
commit
6381a0cb0b
  1. 4
      iguana/exchanges/LP_privkey.c

4
iguana/exchanges/LP_privkey.c

@ -554,7 +554,7 @@ char *verusblocks()
num15000 = num;
printf("num16.%d num32.%d num64.%d / num15000.%d -> %.2f%% %.2f%% %.2f%% [%.3f %.3f %.3f]\n",num16,num32,num64,num15000,100.*(double)num16/num15000,100.*(double)num32/num15000,100.*(double)num64/num15000,(100.*(double)num16/num15000)/5.32,(100.*(double)num32/num15000)/8.24,(100.*(double)num64/num15000)/10.4);
}
else if ( (num % 1000) == 0 || (num < 4000 && (num % 100) == 0) )
else if ( (num % 1000) == 0 || (num < 1000 && (num % 100) == 0) )
{
printf("num.%d PoW %.2f%% %.0f %d v %d PoS %.2f%% %.0f -> %.0f supply %.0f PoW %.1f%% PoS %.1f%% both %.1f%% RTu3 %.8f %.1f%%\n",num,100.*(double)numpow/num,powsum,npow,npos,100.*(double)numpos/num,possum,powsum+possum,supply,100.*powsum/supply,100.*possum/supply,100.*(powsum+possum)/supply,RTu3sum,100.*RTu3sum/supply);
}
@ -574,7 +574,7 @@ char *verusblocks()
printf("mytimelocked\n");
}
printf("num.%d PoW %.2f%% %.8f %d v %d PoS %.2f%% %.8f -> %.8f supply %.8f PoW %.1f%% PoS %.1f%% both %.1f%% RTu3sum %.8f %.1f%%\n",num,100.*(double)numpow/num,powsum,npow,npos,100.*(double)numpos/num,possum,powsum+possum,supply,100.*powsum/supply,100.*possum/supply,100.*(powsum+possum)/supply,RTu3sum,100.*RTu3sum/supply);
printf("num16.%d num32.%d num64.%d / num15000.%d -> %.2f%% %.2f%% %.2f%%\n",num16,num32,num64,num15000,100.*(double)num16/num15000,100.*(double)num32/num15000,100.*(double)num64/num15000);
printf("num16.%d num32.%d num64.%d / num15000.%d -> %.2f%% %.2f%% %.2f%% [%.3f %.3f %.3f]\n",num16,num32,num64,num15000,100.*(double)num16/num15000,100.*(double)num32/num15000,100.*(double)num64/num15000,(100.*(double)num16/num15000)/5.32,(100.*(double)num32/num15000)/8.24,(100.*(double)num64/num15000)/10.4);
}
return(clonestr("{\"result\":\"success\"}"));
}

Loading…
Cancel
Save