java -jar stratum-proxy.jar -f stratum-proxy-nicehash.conf
My working config file:
"logDirectory" : "",
"logLevel" : "INFO",
"disableLogAppend": false,
"stratumListenPort" : 3345,
"stratumListenAddress" : "0.0.0.0",
"disableStratum": false,
"getworkListenPort" : 8666,
"getworkListenAddress" : "0.0.0.0",
"disableGetwork": false,
"apiListenPort" : 8888,
"apiListenAddress" : "0.0.0.0",
"disableApi": false,
"poolConnectionRetryDelay" : 5,
"poolReconnectStabilityPeriod" : 5,
"poolNoNotifyTimeout" : 240,
"rejectReconnectOnDifferentHost" : false,
"poolHashrateSamplingPeriod" : 600,
"userHashrateSamplingPeriod" : 600,
"connectionHashrateSamplingPeriod" : 600,
"isScrypt" : false,
"databaseDirectory": "",
"hashrateDatabaseSamplingPeriod": 60,
"hashrateDatabaseHistoryDepth": 7,
"noMidstate": false,
"apiLogLevel": "INFO",
"validateGetworkShares": false, // Validate the shares submitted by Getwork workers before submitting the shares to the pool. Only works for SHA256 and Scrypt.
"poolSwitchingStrategy": "priorityFailover",
"weightedRoundRobinRoundDuration": 60,
"apiUser": "",
"apiPassword": "",
// The apiEnableSsl should be set to true or left commented if an apiUser is specified. If the apiEnableSsl option is not set, ssl is enabled when apiUser is set else it is disabled.
//"apiEnableSsl": false,
"logRealShareDifficulty": false, // Take care, it is CPU intensive and it works only for SHA256 and Scrypt coins.
"workerNumberLimit": 256, // Only 1, 256 and 65536 values are supported.
"ipVersion": "auto", // Valid values: auto, v4, v6. Force the use of the IP protocol version.
"suggestedPoolDifficulty": 0.01, // Suggest this difficulty to the pool. The pool may ignore the suggested difficulty. (if not compatible or for any other reasons)
"pools" : [ {
"name" : "Nicehash quark",
"host" : "quark.eu.nicehash.com:3345",
"user" : "3DS5V6GZRzo5ToEtWHh15xkkTYcHeP9Vm1",
"password" : "d=0.02;p=0.24",
"enableExtranonceSubscribe" : true,
"weight" : 9,
"isEnabled": true
}, {
"name" : "Westhash quark",
"host" : "quark.usa.nicehash.com:3345",
"user" : "3DS5V6GZRzo5ToEtWHh15xkkTYcHeP9Vm1",
"password" : "d=0.008",
"enableExtranonceSubscribe" : true,
"weight" : 1,
"isEnabled": true
} ]
}
And the ccminer command:
ccminer.exe -q -a quark -o stratum+tcp://localhost:3345 -u gpu0 -p d=0.002 -d 0 --no-color
It worked without any problems, also from my remote pc throught a ssh tunnel.
I use -d parameter to specify each gpu separately...