sareea

server.json

Aug 4th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. {
  2.  
  3. "listen" : [
  4.  
  5. { "port" : 8342 },
  6.  
  7.  
  8. { "port" : 8341, "protocol" : "http-json" },
  9.  
  10.  
  11. { "port" : 8332, "protocol" : "http-json",
  12. "proxy" : "127.0.0.1" },
  13.  
  14.  
  15. { "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
  16. ],
  17.  
  18.  
  19. "database" : {
  20. "engine" : "mysql",
  21. "host" : "localhost",
  22. "port" : 3306,
  23. "name" : "",
  24. "username" : "",
  25. "password" : "",
  26. "sharelog" : true,
  27. "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?",
  28. "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
  29.  
  30. },
  31.  
  32.  
  33. "memcached" : {
  34. "servers" : [
  35. { "host" : "127.0.0.1", "port" : 11211 }
  36. ]
  37. },
  38.  
  39. "pid" : "/tmp/pushpoold.pid",
  40.  
  41.  
  42. "forcehost" : "localhost.localdomain",
  43.  
  44. "log.requests" : "/tmp/request.log",
  45. "log.shares" : "/tmp/shares.log",
  46.  
  47.  
  48. "longpoll.disable" : false,
  49.  
  50.  
  51. "auth.cred_cache.expire" : 75,
  52.  
  53.  
  54. "rpc.url" : "http://127.0.0.1:8333/",
  55. "rpc.user" : "",
  56. "rpc.pass" : "",
  57.  
  58.  
  59. "rpc.target.rewrite" : true
  60. }
Advertisement
Add Comment
Please, Sign In to add comment