Skip to content

Instantly share code, notes, and snippets.

@kke
Created January 3, 2014 22:27
Show Gist options
  • Select an option

  • Save kke/8247874 to your computer and use it in GitHub Desktop.

Select an option

Save kke/8247874 to your computer and use it in GitHub Desktop.
How to use includes for your cgminer conf's to keep gpu settings in one place instead of copypasting them to each config file
# foocoin.conf:
{
"pools" : [
{
"quota" : "4;stratum+tcp://eu.multipool.us:3349",
"user" : "user.miner1",
"pass" : "x"
},
{
"quota" : "2;stratum+tcp://foo.dedicatedpool.com:3345",
"user" : "user.miner1",
"pass" : "x"
},
],
"include": "gpu.conf"
}
#gpu.conf:
{
"intensity" : "19,19",
"worksize" : "256,256",
"temp-overheat" : "60,60",
"temp-cutoff" : "65,65",
"temp-target" : "54,54",
"balance": true,
"gpu-fan" : "100,100",
"gpu-engine" : "900-1140,900-1060",
"gpu-memclock" : "1500,1300",
"lookup-gap": "2",
"gpu-powertune" : "20,20",
"gpu-threads": "1",
"scan-time" : "1",
"expiry" : "3",
"queue" : "0",
"api-allow" : "W:192.168.1.0/24,W:127.0.0.1/32",
"api-listen" : true,
"scrypt" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment