Post
Topic
Board Altcoin Discussion
Topic OP
[BTB][P2POOL][UPDATED] Source + 0% public node! Read instructions carefully!
by
baloo_kiev
on 27/05/2013, 21:42:50 UTC
Source: https://github.com/baloo-kiev/p2pool Make sure you have the latest version!
Public node: http://78.27.191.182:8333 temporarily down because of network connection problems. Use http://coinminer.net:9444 . It charges 2% fee. Back again!

IMPORTANT
Unlike with other coin p2pools, you have to specify your public key (not an address!) as username when mining on a public node.

Note: You don't need this if you run your own p2pool node. This is only relevant when connecting your worker to some other node.
To point your worker to my (or any other) public node you have to get a public key:
1) launch bitbar

2) in bitbar directory, run
Code:
./bitbard getnewpubkey "someccount"
you will receive a hex string, call it , which is the public key to a new address in account "someaccount" (you don't have to keep the key secret, as it's public)

3) (optionally) make sure it works as supposed to: run
Code:
./bitbard getaddressesbyaccount "someaccount"
you will see a new address, and
Code:
./bitbard validatepubkey
will return JSON object, which is expected to have 'isvalid' and 'ismine' properties set to 'true'

4) use as a worker username when connecting to a public node, just like you use your address with other coin p2pools.

Happy mining!
Feedback appreciated.

Quote
UPDATE: One more fix to avoid rounding of the award to cents. Please re-download the code and clear data directory.

P2pool works!
Source: https://github.com/baloo-kiev/p2pool
All work submitted to a node by workers is payed to the node address! Address specified as worker's username is ignored!
Download the source, host your node, point your workers to it.

EDIT4. First block found! http://btb.cryptocoinexplorer.com/block/00000000055aa1afdb25984d4740e1e81f79c8f258cce029483a1c51c2b83fd6

EDIT3. Some changes reverted. All work submitted to a node by workers is payed to the node address! Address specified as worker's username is ignored! Download the source, host your node, point your workers to it.

EDIT2. Fixed. Get the code at https://github.com/baloo-kiev/p2pool or point workers here http://78.27.191.182:8333/, still 0% fee.
Launch with
Code:
python ./run_p2pool.py --net bitbar --give-author 0

EDIT. Don't point your miners to my node. It does not payout to worker addresses at the moment! P2p vonnections work ok, though.

Testing Bitbar p2pool, help appreciated!

Please drop a little hashrate to http://78.27.191.182:8333/ (essentially, fee is 0%)
or
modify p2pool as described here https://bitcointalk.org/index.php?topic=193669.msg2288975 and launch with '-n 78.27.191.182' to connect to my node.

(Both options assume you know how to mine with p2pool: set username, view stats, etc.)

Thank you!