betatest512 (OP)
|
|
October 02, 2012, 03:47:21 PM |
|
i installed pushpool and my server config is :
{ # network ports "listen" : [ # binary protocol (default), port 8342 { "port" : 8342 },
# HTTP JSON-RPC protocol, port 8341 { "port" : 8341, "protocol" : "http-json" },
# HTTP JSON-RPC protocol, port 8344, # with trusted proxy appserver.example.com forwarding # requests to us { "port" : 8332, "protocol" : "http-json", "proxy" : "192.168.100.7" },
# binary protocol, localhost-only port 8338 { "host" : "192.168.100.7", "port" : 8338, "protocol" : "binary" } ],
# database settings "database" : { "engine" : "mysql", "host" : "localhost", "port" : 3306, "name" : "mysql_database_name", "username" : "mysql_username", "password" : "mysql_password", "sharelog" : true, "stmt.pwdb":"SELECT `password` FROM `pool_worker` WHERE `username` = ?", "stmt.sharelog":"INSERT INTO shares (rem_host, username, our_result, upstream_result, reason, solution) VALUES (?, ?, ?, ?, ?, ?)"
},
# 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 | Notice how this ISN'T port number 8332 this is becuase the same port number should not becuase inconjunction with the JSON RPC port other wise you'll get 500 errors "rpc.url" : "us1.ozco.in:8332", "rpc.user" : "pool_worker_user", "rpc.pass" : "pool_worker_password",
# rewrite returned 'target' to difficulty-1? "rpc.target.rewrite" : true }
when i connect my miner to pushpool it say's "Problem communicating with Bitcoin RPC"
can anyone tell me what is wrong in my "server.json"
and i want to point my pool's power to Ozcoin
|