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

Per-device miners: per-device options? #2178

Closed
ghost opened this issue Sep 20, 2018 · 5 comments
Closed

Per-device miners: per-device options? #2178

ghost opened this issue Sep 20, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2018

Any thoughts on setting, for example, intensity, per device, per miner?
device 0 use i 19
device 1 use i 20
or
workername with device number included

..that kind of thing

@UselessGuru
Copy link
Contributor

This currently is not supported, It requires extra parsing of the algo parameters which is not currently implemented.
I'll see what I can do - but this will have to wait a few weeks.

@ghost
Copy link
Author

ghost commented Sep 21, 2018

Ok, thanks for taking a look!

@UselessGuru
Copy link
Contributor

UselessGuru commented Sep 21, 2018

@Dewbs
If you're experimentally inclined you can look at my implementation for this in my (for now abandoned) fork here:
https://github.com/UselessGuru/MultiPoolMiner.
I created a function called Get-CommandPerDevice in Include.psm1. I'll see how I can add it to the regular MPM - or maybe I'll port MPM to my fork. Time will tell.

@UselessGuru
Copy link
Contributor

UselessGuru commented Oct 7, 2018

@Dewbs

Get-CommandPerDevice is now already in Include.psm1 with 3.0.1. :-)
https://github.com/MultiPoolMiner/MultiPoolMiner/blob/MultiPoolMiner_3.0.1/Include.psm1

For most miners is is sufficient to add this line to the miner file:

$Commands.$_ = Get-CommandPerDevice $Commands.$_ $Miner_Device.Type_Vendor_Index

The important thing is to use the correct $Miner_Type.[index]

e.g.

...
        #Get commands for active miner devices
        $Commands.$_ = Get-CommandPerDevice $Commands.$_ $Miner_Device.Type_Vendor_Index

        [PSCustomObject]@{
            Name       = $Miner_Name
...

@UselessGuru
Copy link
Contributor

I'll add Get-CommandPerDevice to all miners in 3.0.2.

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

1 participant