signum-pool
signum-pool copied to clipboard
Allow pool admins to set the solo percentage threshold. Currently hard coded to 20%
Allow pool admins to set the solo percentage threshold. Currently hard coded to 20%. a setting in the config file would be great. So we could set the solo mining threshold from 1-99%
Not really a protocol change more something like:
// Take pool fee
float feePercentage = propertyService.getFloat(Props.poolFeePercentage);
if(winningMiner.getSharePercent() < propertyService.getInt(Props.poolSoloSharePercentage)) {
// charge the solo fee
feePercentage = propertyService.getFloat(Props.poolSoloFeePercentage);
}
then add a config property "poolSoloSharePercentage = 30" would also need to pull that value into the "Pool Info" react tab to show the change to the users.
I'm not a java pro.. lol so that probably wont work, but its in the ball park I suspect. I can figure it out and do a pull i guess.