Bitcoin Forum
July 29, 2024, 06:22:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PushPoolD  (Read 356 times)
Daelus (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
April 15, 2013, 12:05:47 AM
 #1

Hi guys,

I am having issues when starting pushpoold, pushpoold will only connect to bitcoind when the rpc port is set at 8335, however when I set it to 8335 in my server.json Pushpoold won't initialize and doesn't report any errors with ./pushpoold -E -F -D2

Server.Json
Code:
{
# 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" : "xxx.xxx.x.xxx" },

# binary protocol, localhost-only port 8338
{ "host" : "127.0.0.1", "port" : 8338, "protocol" : "binary" }
],

# database settings
"database" : {
"engine" : "mysql",
"host" : "127.0.0.1",
"port" : 3306,
"name" : "miningfarm",
"username" : "xxxx",
"password" : "xxxx",
"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, time) VALUES (?, ?, ?, ?, ?, ?, UNIX_TIMESTAMP())"

},

# 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" : "http://xxx.xxx.x.xxx:8335/",
"rpc.user" : "Username",
"rpc.pass" : "5774",

# rewrite returned 'target' to difficulty-1?
"rpc.target.rewrite" : true
}

blkmond.conf
Code:
host=XXX.XXX.X.XXX
port=8335
pid=tmp/pushpoold.pid

bitcoin.conf
Code:
server=0
rpcuser=username
rpcpassword=password
rpcport=8335
rpcconnect=http://xxx.xxx.x.xxx/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!