Quake4 / MindMiner

MindMiner - the miner manager programm with online monitoring
http://mindminer.online
GNU General Public License v3.0
108 stars 35 forks source link

[Add Feature] Ability to Speculative Mine specific algo & pool while still staying alive for MRR & setting prices based on most profitable algo #857

Closed platinum4 closed 2 years ago

platinum4 commented 2 years ago

Hi,

I want to spec mine some coins on another pool or even just zergpool, but I want that to be top priority above mining Ethash (most profitable).

Is there a way to add to pools as top priority speculative.txt so I can have it do RunBefore commands and load my speculative mining choice but still watchdog all pools and take rentals from MRR when they come in.

Running an empty MM with high LowerFloor (so it won't mine anything if not rented) is pointless since I have to watch the machine whole time in case MRR rental comes in.

platinum4 commented 2 years ago

I still would want to set a LowerFloor so when it's exceeded, it kicks out speculative mining and goes back to Ethash.

Quake4 commented 2 years ago

Algorithm is 'Enabled = true' or solo/party on zerg?

platinum4 commented 2 years ago

{ "Enabled": true, "AverageProfit": "45 min", "Wallet": "LTC", "SpecifiedCoins": { "x16r": [ "RVL", "only"] }, "EnabledAlgorithms": "x16r", "DisabledAlgorithms": null } This just disables all algos on Zergpool and still mines Ethash on Nicehash. I want it to mine x16r with priority OVER Ethash but still want MRR to set prices based on Ethash, so I can't disable it on NH

platinum4 commented 2 years ago

I wanna make this a carat like when MRR is rented I want to set an algo and pool as #1 priority even if it's not more profitable than #1 profitable algo

Like when people rent at bad price and MM still forces it to mine to MRR

platinum4 commented 2 years ago

This way I can mine some ergo and flux and stuff and diversify instead of just mine to NH or MPH because Ethash is most profitable always

Quake4 commented 2 years ago

I want it to mine x16r with priority OVER Ethash but still want MRR to set prices based on Ethash, so I can't disable it on NH Its do it in zergpool.config.txt: "EnabledAlgorithms": [ "X16r" ],

platinum4 commented 2 years ago

I did this and it removed all other algos from Zergpool except for x16r, then began mining on NICEHASH. Why.

platinum4 commented 2 years ago

I think you need to add in Algorithms.txt or in each pools a "PriorityAlgorithm" and for Zerg also PrioritySpecifiedCoin

Quake4 commented 2 years ago

I did this and it removed all other algos from Zergpool except for x16r, then began mining on NICEHASH. Why. Possibly, you enable other algos (in NH config or algorithm.txt). Check ^ in MM window. Set all algos to default (not enabled). Enabled algorithm - is priority to mine with profit check from All enabled algos (if one enabled, MM must mine only it).

Quake4 commented 2 years ago

algorithm.txt

EnabledAlgorithms [string array] - set of enabled (prioritized) algorithms.
If the value is null or empty, this means that all algorithms are enabled from the all pools
otherwise only the specified algorithms are prioritized on all pools.

[pool].config.txt

EnabledAlgorithms [string array] - set of enabled (prioritized) algorithms.
If the value is null or empty, this means that all algorithms are enabled from the pool
otherwise only the specified algorithms are prioritized.
Quake4 commented 2 years ago

EnabledAlgorithms is it a PriorityAlgorithm, which one you wanted

platinum4 commented 2 years ago

I know what the documentation says, please show me a working example where you have Zergpool mining x16r and have Ethash still enabled but not mining.

I do not think it works like you have typed out in the documentation, I think you think it works but have not tried it.

Quake4 commented 2 years ago

image mine (+) cngpu (^ as priority), most profit eq192

Quake4 commented 2 years ago

zergpool.config.txt

{
    "AverageProfit":  "3 hour",
    "SpecifiedCoins":  null,
    "EnabledAlgorithms": [ "CryptonightGPU" ],
    "PartyPassword":  null,
    "DisabledAlgorithms":  null,
    "Enabled":  true
}
Quake4 commented 2 years ago

^ - priority (EnabledAlgo, solo/party)

Quake4 commented 2 years ago

some time later (4344 changed to 4347) image

Quake4 commented 2 years ago

if is you use Master/Slave, you must setup on Master. Setting up pools on the Slave does not affect anything (exclude apipoolproxy and mrr).

platinum4 commented 2 years ago

Hi, I am not using master/slave, I will check on this after work; how many rounds does it take to take effect?

Quake4 commented 2 years ago

one

platinum4 commented 2 years ago

OK, this seems to work when selecting a different algo, but now I have a deeper question.

If I set Ethash to enabled for MPH it disables Ethash on NH, since NH is more profitable I want to set MRR based on NH profitability but I want to mine ETH at MPH so I can have ETH.

What compare statement do you need to add?

Quake4 commented 2 years ago

;) set upper value in "Target" for MRR.

platinum4 commented 2 years ago

Gotta be an easier / better answer than that yeah?

Quake4 commented 2 years ago

where is it easier to change one value? why invent heroic difficulties for yourself, so that they can be heroically solved later?

platinum4 commented 2 years ago

I guess man, I take pride on setting the right prices though so I fall cheaper than most others, and stay rented near 24/7

Just seemed like something that was possible, I'm OK with how it is now I guess.

Quake4 commented 2 years ago

change "target" from default 50 to 60. after successful rent, price is raised to "Increase": 5 percent value

platinum4 commented 2 years ago

Won't get rented at 60 @ 0.1545 electricity, too high

platinum4 commented 2 years ago

That might work for a 1070 or RX 6600 XT not for 30-series though; too profitable already

platinum4 commented 2 years ago

I'm set at 42.5 which is 40 + 1 for MM + 1 for MM+MRR + 0.5 increase for myself (dev fee from https://github.com/Quake4/MindMiner/issues/780)

platinum4 commented 2 years ago

Code appears to work as intended

Quake4 commented 2 years ago

I don't understand your logic. Suppose: profit on Nicehash: 5000 sat profit on MPH: 4600 sat difference of 8.7% set Target to 42.5 + 8.7 = 50% I don't understand that you are stuck with the profit figures on NiceHash.

Quake4 commented 2 years ago

The main thing is that you earn more on MRR than your current profit. Its regulate for Target in MRR config.

Quake4 commented 2 years ago

welcome to https://discord.gg/HrKChEQ