signum-pool icon indicating copy to clipboard operation
signum-pool copied to clipboard

Allow pool admins to set the solo percentage threshold. Currently hard coded to 20%

Open pir8radio opened this issue 2 years ago • 1 comments

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%

pir8radio avatar Apr 03 '22 22:04 pir8radio

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.

pir8radio avatar Apr 14 '22 23:04 pir8radio