Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a negative fee to give bonus to miners? #463

Open
shigutso opened this issue Jan 7, 2019 · 4 comments
Open

Set a negative fee to give bonus to miners? #463

shigutso opened this issue Jan 7, 2019 · 4 comments

Comments

@shigutso
Copy link

shigutso commented Jan 7, 2019

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

@DurinsMine
Copy link

Just * their payments by 1.01 for 1% bonus

@shigutso
Copy link
Author

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

@BKdilse
Copy link

BKdilse commented Jan 25, 2019

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.

@shigutso
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants