Post
Topic
Board Mining (Altcoins)
Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner
by
badman74
on 04/08/2014, 00:28:55 UTC
I'm still lost on my config atm. I know I'm overlooking it, but not sure what. Here it is

Code:
{
"pools" :
[
  {
"name" : "x13 multi",
"url" : "stratum+tcp://east02.us.trademybit.com:4011",
"user" : "x",
"pass" : "x",
"profile" : "x13",
"algorithm": "marucoin-mod"
},
{
"name" : "x11 multi",
"url" : "stratum+tcp://east02.us.trademybit.com:4010",
"user" : "x",
"pass" : "x",
"profile" : "x11",
"algorithm": "darkcoin-mod"
},
{
"profiles" :
[
    {
      "name": "x13",
      "algorithm": "marucoin-mod",
      "device" : "0,1,2,3",
      "xintensity" : "66,56,56,56",
      "worksize": "64",
      "gpu-engine" : "1130,1130,1130,1110",
      "gpu-memclock" : "1300,1300,1300,1300",
      "gpu-threads": "2",
      "gpu-fan" : "75,60,60,60"
    },
    {
      "name": "x11",
      "algorithm": "darkcoin-mod",
      "device" : "0,1,2,3",
      "intensity" : "18,17,17,17",
      "worksize" : "256,128,128,128",
      "gpu-engine" : "1130,1130,1130,1110",
      "gpu-memclock" : "1500,1500,1500,1500",
      "gpu-threads": "2",
      "gpu-fan" : "75,60,60,60"
    }
],
  "show-coindiff" : true,
  "api-listen" : true,
  "api-allow" : "W:127.0.0.1",
  "api-port" : "4028",
  "api-mcast-port" : "4028",
  "expiry" : "1",
  "queue" : "0",
  "scan-time" : "1",
  "hamsi-expand-big" : "1",
  "hamsi-short" : true,
  "no-pool-disable" : true,
  "no-client-reconnect" : true,
  "no-submit-stale" : true,
  "no-restart" : true,
  "failover-switch-delay" : "30"
}

JSONlist says the error is right at the end

Parse error on line 59:
...lay": "30"        }
----------------------^
Expecting '}', ',', ']'

Quote
  "no-submit-stale" : true,
  "no-restart" : true,
  "failover-switch-delay" : "30"
}

I thought I closed off all my brackets? I did try "include" : "profile.conf" but it wouldn't ever load it, and default right to Scrypt-N kernel
here is the fix
Code:
{
    "pools": [
        {
            "name": "x13 multi",
            "url": "stratum+tcp://east02.us.trademybit.com:4011",
            "user": "x",
            "pass": "x",
            "profile": "x13",
            "algorithm": "marucoin-mod"
        },
        {
            "name": "x11 multi",
            "url": "stratum+tcp://east02.us.trademybit.com:4010",
            "user": "x",
            "pass": "x",
            "profile": "x11",
            "algorithm": "darkcoin-mod"
        }
    ],
    "profiles": [
        {
            "name": "x13",
            "algorithm": "marucoin-mod",
            "device": "0,1,2,3",
            "xintensity": "66,56,56,56",
            "worksize": "64",
            "gpu-engine": "1130,1130,1130,1110",
            "gpu-memclock": "1300,1300,1300,1300",
            "gpu-threads": "2",
            "gpu-fan": "75,60,60,60"
        },
        {
            "name": "x11",
            "algorithm": "darkcoin-mod",
            "device": "0,1,2,3",
            "intensity": "18,17,17,17",
            "worksize": "256,128,128,128",
            "gpu-engine": "1130,1130,1130,1110",
            "gpu-memclock": "1500,1500,1500,1500",
            "gpu-threads": "2",
            "gpu-fan": "75,60,60,60"
        }
    ],
    "show-coindiff": true,
    "api-listen": true,
    "api-allow": "W:127.0.0.1",
    "api-port": "4028",
    "api-mcast-port": "4028",
    "expiry": "1",
    "queue": "0",
    "scan-time": "1",
    "hamsi-expand-big": "1",
    "hamsi-short": true,
    "no-pool-disable": true,
    "no-client-reconnect": true,
    "no-submit-stale": true,
    "no-restart": true,
    "failover-switch-delay": "30"
}