Bitcoin Forum

Bitcoin => Pools => Topic started by: tomtheminer on March 10, 2012, 10:36:03 AM



Title: p2pool-mine with friends
Post by: tomtheminer on March 10, 2012, 10:36:03 AM
Hi, i want to mine with my friends, and combine our hashes, i set up p2pool, and heard that you can set up your own 'pool', with own fees and stuff.
So, how do i do this, i read something about nodes, but dont know how this works, can anyone explain?


Title: Re: p2pool-mine with friends
Post by: Turbor on March 10, 2012, 02:26:24 PM
You don't steal from your friends ! :D


Title: Re: p2pool-mine with friends
Post by: roomservice on March 10, 2012, 02:31:20 PM
It's pretty easy.

Just run a p2pool node and let your friends connect using their payout address as username.

If you really wanna charge a fee for your "friends" take a look at hte p2pool wiki:

  -f FEE_PERCENTAGE, --fee FEE_PERCENTAGE
                        charge workers mining to their own bitcoin address (by
                        setting their miner's username to a bitcoin address)
                        this percentage fee to mine on your p2pool instance.
                        Amount displayed at http://127.0.0.1:WORKER_PORT/fee
                        (default: 0)


Title: Re: p2pool-mine with friends
Post by: tomtheminer on March 10, 2012, 06:43:58 PM
How can i run a 'node'?


Title: Re: p2pool-mine with friends
Post by: wabber on March 10, 2012, 06:47:43 PM
How can i run a 'node'?
all you need is bitcoind and this tool: https://bitcointalk.org/index.php?topic=18313.0


Title: Re: p2pool-mine with friends
Post by: tomtheminer on March 10, 2012, 10:02:23 PM
Thank you (:


Title: Re: p2pool-mine with friends
Post by: tomtheminer on March 11, 2012, 09:50:16 AM
I have it all running, but how can my miners connect, what do they type in in a miner?


Title: Re: p2pool-mine with friends
Post by: NothinG on March 11, 2012, 10:00:04 AM
I have it all running, but how can my miners connect, what do they type in in a miner?
They need to know your IP and you need to have port 9332 (or if you've change the port...) forwarded to allow outside connections.


Title: Re: p2pool-mine with friends
Post by: tomtheminer on March 11, 2012, 10:51:53 AM
but i must change all the 127.0.0.1 into my ip?


Title: Re: p2pool-mine with friends
Post by: NothinG on March 11, 2012, 11:04:31 AM
but i must change all the 127.0.0.1 into my ip?
You only need to have your friends connect to your pool, not your bitcoind.
So, you need to visit a site like http://whatsmyip.net/ to get your IP.

Then, when you get your IP; plug the default port (9332) of p2pool onto it.

Example: If your IP happen to be 123.153.235.54, then you will tell your friends to connect to your pool @ http://THEIRBITCOINADDRESS:password@123.153.235.54:9332/ using their mining software.


Title: Re: p2pool-mine with friends
Post by: tomtheminer on March 11, 2012, 11:24:14 AM
I get an error:

at least one server needs to be running??


Title: Re: p2pool-mine with friends
Post by: forrestv on March 15, 2012, 04:27:37 PM
I get an error:

at least one server needs to be running??

Maybe you didn't forward the port? The friend needs to be able to connect to port 9332 (p2pool's port).