Bitcoin Forum

Bitcoin => Pools => Topic started by: betatest512 on October 02, 2012, 03:47:21 PM



Title: pushpool help!
Post by: betatest512 on 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


Title: Re: pushpool help!
Post by: Graet on October 02, 2012, 04:01:30 PM
https://en.bitcoin.it/wiki/Running_Bitcoin
# You must set rpcuser and rpcpassword to secure the JSON-RPC api
 #rpcuser=Ulysseys
 #rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593

did you edit your bitciond.conf ?


I'm not sure what you are trying to setup but if you are going to mine on Ozcoin you would be better with a proxy than pushpool and you wouldn't worry about a bitcoind
ABCpool is an example of this
as is puppetmaster and (was) gpumax


Title: Re: pushpool help!
Post by: betatest512 on October 02, 2012, 04:38:14 PM
https://en.bitcoin.it/wiki/Running_Bitcoin
# You must set rpcuser and rpcpassword to secure the JSON-RPC api
 #rpcuser=Ulysseys
 #rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593

did you edit your bitciond.conf ?


I'm not sure what you are trying to setup but if you are going to mine on Ozcoin you would be better with a proxy than pushpool and you wouldn't worry about a bitcoind
ABCpool is an example of this
as is puppetmaster and (was) gpumax

no i am going to make a pool that forward's it's power to Ozcoin is this possibe with "ecoinpool"


Title: Re: pushpool help!
Post by: betatest512 on October 02, 2012, 08:30:32 PM
and i don't have bitcoind running i want to give my pool's power to Ozcoin and payout the user's from the bitcoin's earned from Ozcoin after taking a small fee.

is this possible with "pushpool" or "ecoinpool"


Title: Re: pushpool help!
Post by: sippsnapp on October 02, 2012, 08:36:38 PM
you cant forward any haspower by running a pool as i know!
Running a pool means you mine on your own, you solve the blocks on your own.

You can of course, donate a percentual gain to a specific address with a coinbaser.

You can also run a miner and enter the donation addres sfrom ozcoin.



Title: Re: pushpool help!
Post by: Inaba on October 03, 2012, 01:03:11 AM
If you are running Eloipool you can use Eclipse or Eligius as upstream nodes instead of running your own bitcoind.  I haven't actually setup a downstream node, but it should be fairly straight forward.


Title: Re: pushpool help!
Post by: Shadow383 on October 03, 2012, 01:34:35 AM
and i don't have bitcoind running i want to give my pool's power to Ozcoin and payout the user's from the bitcoin's earned from Ozcoin after taking a small fee.

is this possible with "pushpool" or "ecoinpool"
So why would anyone mine at your pool rather than Ozcoin?  :D


Title: Re: pushpool help!
Post by: Inaba on October 03, 2012, 02:44:08 AM
No fees.  And you can't use Ozcoin as an upstream node.



Title: Re: pushpool help!
Post by: martychubbs on December 13, 2012, 05:33:12 PM
What are the benefits of using an upstream node?  is it just a Proxy? 


Title: Re: pushpool help!
Post by: Graet on December 14, 2012, 01:20:16 AM
What are the benefits of using an upstream node?  is it just a Proxy? 
he was trying to setup a proxy