Post
Topic
Board Mining (Altcoins)
Re: [ANN] Miner Control 1.3.0 - Auto profit switching miner controller
by
kalen37
on 12/10/2014, 02:18:06 UTC
OK, so I get miner control config'd and the control panel comes up. When I hit auto eventually all status displays as dead. Help!?

error log:

Type: InvalidOperationException
Message: Sequence contains no elements
Stack trace:    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at MinerControl.MiningEngine.RunBestAlgo(Boolean isMinimizedToTray)


over and over

First, try launching a miner manually (start button on the price grid).  If it doesn't start then you have a config error causing the miner to go dead.

Best guess is an error in your conf file.  If you provide a copy of it I can take a look.  Most likely you are not getting any valid miner entries from the file so trying to determine the best paying algo throws an error.

Try running with the sample conf file bundled with the executable.  Put in your Bitcoin address and TMB key.  Start modifying from there to put your own miner information in.

{
    "general": {
        "power": 0.10,
        "exchange": 500,
        "currencycode": "USD",
        "mintime": 4,
        "maxtime": 30,
        "switchtime": 3,
        "deadtime": 10,
        "logerrors": true,
        "gridsortmode": 1,
        "minerkillmode": 1,
        "traymode": 1,
        "donationpercentage": 2,
        "donationfrequency": 240
    },
    "algorithms": [
        { "name": "x11", "hashrate": 5251, "power": 49 },
        { "name": "x13", "hashrate": 4024, "power": 49 },
        { "name": "x15", "hashrate": 3270, "power": 52 },
        { "name": "nist5", "hashrate": 15682, "power": 54 }
    ],
    "nicehash": {
        "account": "14pZvGeJZ5J3SvtgTBtCHszRbxoNTKNeyW",
        "worker": "1",
        "weight": 0.75,
        "param1": "-q -r 3 -R 10 -a",
        "param2": "stratum+tcp://stratum.nicehash.com",
        "algos": [
        { "algo": "x11", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x11 -o _PARAM2_:3336 -u_ACCOUNT_._WORKER_ -p d=0.08" },
        { "algo": "x13", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x13 -o _PARAM2_:3337 -u _ACCOUNT_._WORKER_ -p d=0.08" },
        { "algo": "x15", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x15 -o _PARAM2_:3340 -u _ACCOUNT_._WORKER_ -p d=0.08" },
        { "algo": "nist5", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ nist5 -o _PARAM2_:3339 -u _ACCOUNT_._WORKER_ -p d=0.08" }
        ]
    },
    "westhash": {
        "account": "14pZvGeJZ5J3SvtgTBtCHszRbxoNTKNeyW",
        "worker": "1",
        "param1": "-q -r 3 -R 10 -a",
        "param2": "stratum+tcp://stratum.westhash.com",
        "algos": [
            { "algo": "x11", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x11 -o _PARAM2_:3336 -u _ACCOUNT_._WORKER_ -p d=0.08" },
            { "algo": "x13", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x13 -o _PARAM2_:3337 -u_ACCOUNT_._WORKER_ -p d=0.08" },
            { "algo": "x15", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x15 -o _PARAM2_:3340 -u _ACCOUNT_._WORKER_ -p d=0.08" },
            { "algo": "nist5", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ nist5 -o _PARAM2_:3339 -u _ACCOUNT_._WORKER_ -p d=0.08" }
        ]
    },
    "trademybit": {
        "apikey": "oops",
        "account": "14pZvGeJZ5J3SvtgTBtCHszRbxoNTKNeyW",
        "worker": "1",
        "param1": "-q -r 3 -R 10 -a",
        "param2": "stratum+tcp://east01.us.trademybit.com",
        "algos": [
            { "algo": "x11", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x11 -o _PARAM2_:4440 -u_ACCOUNT_._WORKER_ -p x" },
            { "algo": "x13", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x13 -o _PARAM2_:5550 -u_ACCOUNT_._WORKER_ -p x" },
            { "algo": "x15", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x15 -o _PARAM2_:6660 -u _ACCOUNT_._WORKER_ -p x" },
            { "algo": "nist5", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ nist5 -o _PARAM2_:7770 -u_ACCOUNT_._WORKER_ -p x" }
        ]
    },
    "yaamp": {
        "account": "14pZvGeJZ5J3SvtgTBtCHszRbxoNTKNeyW",
        "worker": "1",
        "param1": "-q -r 3 -R 10 -a",
        "param2": "stratum+tcp://yaamp.com",
        "algos": [
            { "algo": "x11", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x11 -o _PARAM2_:3533 -u _ACCOUNT_ -p _WORKER_"},
            { "algo": "x13", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x13 -o _PARAM2_:3633 -u _ACCOUNT_ -p _WORKER_"},
            { "algo": "x15", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ x15 -o _PARAM2_:3733 -u _ACCOUNT_ -p _WORKER_"},
            { "algo": "nist5", "folder": "", "command": "ccminer-52.exe", "arguments": "_PARAM1_ nist5 -o _PARAM2_:3833 -u _ACCOUNT_ -p _WORKER_"}
        ]
    }
}