Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 529dbfaa5c
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (65 sloc) 1.969 kB
{
# network ports
"listen" : [
# binary protocol (default), port 8336
{ "port" : 8336 },
# HTTP JSON-RPC protocol, port 8337
{ "port" : 8337, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8339,
# with trusted proxy appserver.example.com forwarding
# requests to us
{ "port" : 8337, "protocol" : "http-json",
"proxy" : "appserver.example.com" },
# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],
# database settings
"database" : {
"engine" : "sqlite3",
"name" : "/tmp/data.sqlite",
"stmt.pwdb" :
"SELECT password FROM pool_worker WHERE username = ?"
# ... or ...
"engine" : "mysql",
# 'host' defaults to localhost, if not specified
"host" : "mysql.example.com",
# 'port' uses proper default port for the DB engine,
# if not specified
"port" : 12121,
"name" : "mydatabasename",
"username" : "myuser",
"password" : "mypass",
"stmt.pwdb" :
"SELECT password FROM pool_worker WHERE username = ?"
# ... or ...
"engine" : "postgresql",
"host" : "db.example.com",
"port" : 12121,
"name" : "mydatabasename",
"username" : "myuser",
"password" : "mypass",
"stmt.pwdb" :
"SELECT password FROM pool_worker WHERE username = $1"
},
# cache settings
"memcached" : {
"servers" : [
{ "host" : "127.0.0.1", "port" : 11211 }
]
},
"pid" : "/tmp/pushpoold.pid",
# overrides local hostname detection
"forcehost" : "localhost.localdomain",
"log.requests" : "/tmp/request.log",
"log.shares" : "/tmp/shares.log",
# the server assumes longpolling (w/ SIGUSR1 called for each blk)
"longpoll.disable" : false,
# length of time to cache username/password credentials, in seconds
"auth.cred_cache.expire" : 75,
# RPC settings
"rpc.url" : "http://127.0.0.1:8332/",
"rpc.user" : "myusername",
"rpc.pass" : "mypassword",
# rewrite returned 'target' to difficulty-1?
"rpc.target.rewrite" : true
}
Jump to Line
Something went wrong with that request. Please try again.