Pages:
Author

Topic: p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival] - page 9. (Read 35513 times)

donator
Activity: 1218
Merit: 1079
Gerald Davis
So, I've read the documentation available about p2pool (wiki, readme, etc). I'm asking just to be sure that I understand correctly how this works.

So, you need to have a bitcoind running somewhere. So, if I'm on one computer, I start bitcoind with p2pool, and the software is going to work like I'm solo mining, but with p2pool activated. I suppose that the Bitcoins that I received are going to be deposited into the wallet.dat associated with the bitcoind I used on that computer.

What if I have 12 different computers? Is it possible to only have one bitcoind somewhere on the network, where p2pool connect to and where Bitcoins are deposited? The documentation seems written for miners who only have one rig. What in the case I have many rigs, and I want all the Bitcoins mined to be in the same wallet somewhere?

Good question.  My assumption is that you only need a single bitcoind and p2pool running and then point all the miners on the 11 other rigs at the ip address of the machine running bitcoind/p2pool.  It would be good to get a confirmation of that though.
hero member
Activity: 632
Merit: 500
So, I've read the documentation available about p2pool (wiki, readme, etc). I'm asking just to be sure that I understand correctly how this works.

So, you need to have a bitcoind running somewhere. So, if I'm on one computer, I start bitcoind with p2pool, and the software is going to work like I'm solo mining, but with p2pool activated. I suppose that the Bitcoins that I received are going to be deposited into the wallet.dat associated with the bitcoind I used on that computer.

What if I have 12 different computers? Is it possible to only have one bitcoind somewhere on the network, where p2pool connect to and where Bitcoins are deposited? The documentation seems written for miners who only have one rig. What in the case I have many rigs, and I want all the Bitcoins mined to be in the same wallet somewhere?
legendary
Activity: 1680
Merit: 1035
Hi. Noob question:
I was mining with P2Pool for a bit over a day, and let it running while going away for he weekend. When I came home, I saw my Bitcoin client has crashed (using just bitcoind from now on). I restarted the bitcoin client, but the balance is still 0.

Have there been no payouts between now and Saturday morning?
Do the payouts take some time to be processed, or are they instant?
And since I restarted p2pool, does that mean that if I haven't gotten paid for the old shares, they are gone now, or can I still expect to get paid for them later?
legendary
Activity: 1022
Merit: 1000
BitMinter
What would be nice is the p2p pool client merged in the official client, so i just start it and then mine...

+1
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
Hi, i'll probably try P2P Pool tomorrow.

What would be nice is the p2p pool client merged in the official client, so i just start it and then mine...
hero member
Activity: 516
Merit: 643
Some noob questions about running p2pool under Windows 7:

Code:
17:06:46.878000 p2pool (version unknown)
Is this a side effect of using py2exe?

Code:
19:03:31.197000 Pool: 75939MH/s in 17322 shares (17327/17327 verified)
17322 shares, but 17327 verified?

Code:
Peers: 10
I understand that this number should be higher if I have forwarded the port 9333 in my router, right?

The "version unknown" is fine. It detects the version by looking at the name of the folder that it's in.. Did you rename it? It doesn't matter much anyway. Newer versions are going to have the version embedded in the executable.

Not having all shares verified is normal when you haven't been using p2pool for long. It doesn't matter and is only because a particular share requires the previous day of shares in order to be verified, so they can't all immediately be verified.

Yes, the client is limited to 10 outgoing connections, but if you forward the port, you can get more incoming ones.
hero member
Activity: 675
Merit: 514
Some noob questions about running p2pool under Windows 7:

Code:
17:06:46.878000 p2pool (version unknown)
Is this a side effect of using py2exe?

Code:
19:03:31.197000 Pool: 75939MH/s in 17322 shares (17327/17327 verified)
17322 shares, but 17327 verified?

Code:
Peers: 10
I understand that this number should be higher if I have forwarded the port 9333 in my router, right?
hero member
Activity: 714
Merit: 500
Seems p2pool is taking off right now.
Congrats!
legendary
Activity: 1526
Merit: 1134
I don't think there's any point in having existing pools mine on the p2pool. The point (one of the points) of p2pool is to dilute the vote. If you get 100 GH from a bunch of RPC miners that just mine on whatever some random guy provides, you don't change the security of the network, you just unbalance p2pool.

Really, running your own Bitcoin node (and Namecoin if you care about that), and keeping it up to date, is fundamental to what mining should be. Remember you are voting with your hash power.
c_k
donator
Activity: 242
Merit: 100
I've moved over 3GH/s - imo: this is the future of mining, centralization in the form of pools as they are today is not what bitcoin is supposed to be about

Some say p2pool is similar to the way satoshi had envisioned mining to be Smiley
hero member
Activity: 575
Merit: 500
The North Remembers
I just switched 3 miners over. Going to see how this works.
hero member
Activity: 516
Merit: 643
No I didn't copy any files.  p2pool gave me a connection error, and when I checked bitcoind was no longer running.  My rigs don't have a lot of memory or storage.  If I run bitcoind, namecoind, and p2pool on another machine, I will have to forward 9333, 8333, and 8334 and then can connect multiple miners to that IP correct?

Yes, connect them to port 9332.
donator
Activity: 798
Merit: 500
No I didn't copy any files.  p2pool gave me a connection error, and when I checked bitcoind was no longer running.  My rigs don't have a lot of memory or storage.  If I run bitcoind, namecoind, and p2pool on another machine, I will have to forward 9333, 8333, and 8334 and then can connect multiple miners to that IP correct?
staff
Activity: 4284
Merit: 8808
Thanks, I forget the other machine is 32 bit, blockchains downloading.  The other machine had full blockchains downloaded.  I launched p2pool, got a connection error, and it looks like bitcoind crashed.  Now I get this:
Code:
$ bitcoin server starting
[/quote]

Did you copy any database files between machines?
donator
Activity: 798
Merit: 500
For the second error, I think you're trying to run a 64 binary on 32 bits? When in doubt, use 32 bits binaries.

Thanks, I forget the other machine is 32 bit, blockchains downloading.  The other machine had full blockchains downloaded.  I launched p2pool, got a connection error, and it looks like bitcoind crashed.  Now I get this:
Code:
$ bitcoin server starting


************************
EXCEPTION: 11DbException       
Db::open: Invalid argument       
bitcoin in AppInit()       

terminate called after throwing an instance of 'DbException'
  what():  Db::open: Invalid argument
legendary
Activity: 1022
Merit: 1000
BitMinter
Tried it out and everything seemd to work fine but for some reason my network latency got up to 4k ms...  Huh Not funny for the other miners in the same network.

Edit: Everything works well now, downloading the blockchain for the other machine now  Smiley
sr. member
Activity: 252
Merit: 250
Code:
homesvt:~/bin$ bitcoind
bitcoind: command not found
homesvt:~/bin$
homesvt:~/bin$ ./bitcoind
-bash: ./bitcoind: cannot execute binary file

EDIT: Got it working on one machine.  IDK how.  I'll let it load the block chains overnight and pick up from there.

Code:
$ echo $PATH 

if /home/username/bin is no there, add it:

Code:
$ PATH=$HOME/bin:$PATH

You should add this to your login scripts too (.bashrc, .profile or .bash_profile).

For the second error, I think you're trying to run a 64 binary on 32 bits? When in doubt, use 32 bits binaries.
donator
Activity: 798
Merit: 500
Executable.

Go to relevant directories and issue

Code:
$chmod +x bitcoind
$chmod +x namecoind

I knew that was coming as soon as I asked it, but I already tried it:

Code:
homesvt:~/bin$ ls
bitcoind
homesvt:~/bin$ chmod +x bitcoind
homesvt:~/bin$ bitcoind
bitcoind: command not found
homesvt:~/bin$
homesvt:~/bin$ ./bitcoind
-bash: ./bitcoind: cannot execute binary file

EDIT: Got it working on one machine.  IDK how.  I'll let it load the block chains overnight and pick up from there.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
Something is missing here.  bitcoind and namecoind return command not found  Huh

Do you have ~/bin in your PATH?

(Also check if the binaries have come across with suitable executable permissions enabled.)

Yes if I use the full path I get cannot execute binary file...so probably permissions?? What should they be set for?

Executable.

Issue

Code:
$chmod +x ~/bitcoind
$chmod +x ~/namecoind

Edit:
Issuing a
Code:
$ls -la
should give you something like this
Code:
-rwxr-xr-x  1 username username 72661961 2011-07-15 10:46 bitcoin
-rwxr-xr-x  1 username username 19976736 2011-07-15 10:46 bitcoind
-rwxr-xr-x  1 username username 22038114 2011-12-11 11:35 namecoind

all the 'x's' in the permissions at the right tell you who has permission to execute it.
Pages:
Jump to: