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

PBM without the penalty #832

Closed
acos0874 opened this issue Jan 20, 2020 · 9 comments
Closed

PBM without the penalty #832

acos0874 opened this issue Jan 20, 2020 · 9 comments
Assignees
Labels
question Further information is requested

Comments

@acos0874
Copy link

Is there a way of preventing a coin being mined except for when it is considered for post block mining?

@RainbowMiner RainbowMiner self-assigned this Jan 20, 2020
@RainbowMiner RainbowMiner added the question Further information is requested label Jan 20, 2020
@RainbowMiner
Copy link
Owner

Good question. I'll check :)

@acos0874
Copy link
Author

I realised I responded in the wrong thread. Thanks again!

@RainbowMiner
Copy link
Owner

Oh, me too 🍭

@RainbowMiner
Copy link
Owner

With the next release, the parameter "CoinSymbolPBM" in pools.config.txt will work as expected, even if there is only one pool for the coin's algorithm selected:

If you put a coin symbol onto the "CoinSymbolPBM" list, this coin will idle on the corresponding pool, until the post block mining condition is met.

@acos0874
Copy link
Author

Final request though. Is there some way of introducing a PBM hysteresis in the same way you did with the miners and the pools? I think this would be the cherry on top of the PBM setup.

@RainbowMiner
Copy link
Owner

RainbowMiner commented Jan 22, 2020

I think, that cherry already exists in coins.config.txt, parameter "MinProfitPercent":
switching to postblock mining only, if the post block miner's profit is at least MinProfitPercent % of the best miner's profit.
Can also be set to values greater than 100%

@acos0874
Copy link
Author

Yes I do use that however what actually ends up happening is that as that PBM ignores the switch prevention I get a lot of chopping between nicehash and PBM as soon as one becomes slightly more profitable than the other.

As an alternative to using an hysteresis it might be effective to have the miner lock to a coin when PBM is detected. Although of the two options I think this would be less desirable

@acos0874
Copy link
Author

image
Here's how it looks when it's switching too much. It seems to ignore both the switch prevention and minimum mining intervals. I would be happy if it would obey the minimum mining intervals which I could set to a higher number.

@acos0874
Copy link
Author

It also seems that pbm is still based on revenue not profit, although I'm not entirely sure.

RainbowMiner added a commit that referenced this issue Jan 30, 2020
- fix CoinSymbolPBM (issue #832)
RainbowMiner added a commit that referenced this issue Jan 30, 2020
- use extra parameter on pools for CoinSymbolPBM (issue #832)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants