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

Set a negative fee to give bonus to miners?

Open shigutso opened this issue 7 years ago • 4 comments

Can I set on MySQL pool.config field "pplnsFee" to a negative value and after finding a block, miners will get more than they mined? I tested this on a testnet pool but blocks are found too quickly and I couldn't get if the negative fee was being payed correctly or not.

Thanks

shigutso avatar Jan 07 '19 18:01 shigutso

Just * their payments by 1.01 for 1% bonus

DurinsMine avatar Jan 11 '19 17:01 DurinsMine

Hmm that's an option as well, changing the code on payments module, you say?

If possible I'd like an option that could be confirmed by miners when checking the pool's API.

I remember an AEON Chinese pool that had negative fee value, but it wasn't a nodejs-pool

shigutso avatar Jan 11 '19 17:01 shigutso

A better option (I think) would be to have a flag IsBonusEnabled = true/false. BonusPercentage = n.

Then blockmanager.js has the code to apply the percentage. Not an expert in this, so not 100% sure on coding required.

BKdilse avatar Jan 25 '19 13:01 BKdilse

hmmm maybe @Snipa22 could clarify if this is possible and how easy is to implement...

shigutso avatar Jan 25 '19 16:01 shigutso