Advertisement
JudeAustin

Untitled

Aug 27th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. {
  2. # network ports
  3. "listen" : [
  4. # HTTP JSON-RPC protocol, port 9999
  5. { "port" : 9999, "protocol" : "http-json" }
  6. ],
  7.  
  8. # database settings
  9. "database" : {
  10. "engine" : "mysql",
  11. "port" : "3306",
  12. "name" : "mmcfe_ng_db",
  13. "username" : "root",
  14. "password" : "root",
  15. "sharelog" : true,
  16. "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
  17. "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
  18. },
  19.  
  20. # cache settings
  21. "memcached" : {
  22. "servers" : [
  23. { "host" : "127.0.0.1", "port" : 11211 }
  24. ]
  25. },
  26.  
  27. "pid" : "pushpoold.pid",
  28.  
  29. # overrides local hostname detection
  30. "forcehost" : "localhost",
  31.  
  32. "log.requests" : "request.log",
  33. "log.shares" : "shares.log",
  34.  
  35. # the server assumes longpolling (w/ SIGUSR1 called for each blk)
  36. "longpoll.disable" : false,
  37.  
  38. # length of time to cache username/password credentials, in seconds
  39. "auth.cred_cache.expire" : 75,
  40.  
  41. # RPC settings
  42. "rpc.url" : "http://127.0.0.1:17332",
  43. "rpc.user" : "zetacoinrpc",
  44. "rpc.pass" : "root",
  45.  
  46. "rpc.target.bits" : 20,
  47.  
  48. # allow clients to update the ntime field of their work
  49. "roll.ntime.disable" : false
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement