Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 738. (Read 2591916 times)

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Any pointers on how to install Pygame and PIL on ubuntu/debian, or is that just for Windows, and I should just keep using /graphs/?
I used apt.  Pretty sure it was just 'sudo apt-get install python-pygame python-image' but it might be python-imaging. I half remember it not being python-pil (which would have been too easy).

Use /static/ though. I don't think it needs either of those since it is all html/css/javascript
To see what you installed and when:
ls -ort /var/lib/dpkg/info/*.list | grep -i python
hero member
Activity: 742
Merit: 500
Any pointers on how to install Pygame and PIL on ubuntu/debian, or is that just for Windows, and I should just keep using /graphs/?
I used apt.  Pretty sure it was just 'sudo apt-get install python-pygame python-image' but it might be python-imaging. I half remember it not being python-pil (which would have been too easy).

Use /static/ though. I don't think it needs either of those since it is all html/css/javascript
hero member
Activity: 560
Merit: 500
Any pointers on how to install Pygame and PIL on ubuntu/debian, or is that just for Windows, and I should just keep using /graphs/?
I think (I may be mistaken) that Pygame and PIL are for a GUI on the server itself (Linux).
It's not required for graphs.

[Edit]: So, is efficiency published publicly?
legendary
Activity: 1680
Merit: 1035
Any pointers on how to install Pygame and PIL on ubuntu/debian, or is that just for Windows, and I should just keep using /graphs/?
hero member
Activity: 742
Merit: 500
Is there anyone that has tried to open a p2pool node through the Tor network ?
Is it possible? Can miners connect to a tor hidden service?
7nnukfynqh6xqwky.onion:8336 Smiley
full member
Activity: 125
Merit: 100
Yes, with a username like "x/1024+16" it should show up similar to this:

2012-03-06 17:31:12.554000 P2Pool: 17472 shares in chain (11125/17476) Peers: 14 (4 incoming)
2012-03-06 17:31:12.555000 Local: 458MH/s in last 10.0 minutes doa: ~0.0% (0-49%) time to share: 1.8 hours
2012-03-06 17:31:12.555000 Shares: 3 (1, 0) Stale: ~33.3% (6-80%) Efficiency: ~72.1% (22-102%) Pay: 0.040 BTC
2012-03-06 17:31:12.555000 Pool: 289GH/s Stale rate: 7.6% Time to block: 6.2 hours Blocks: 1
2012-03-06 17:31:30.921000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions
2012-03-06 17:31:40.273000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions
2012-03-06 17:31:47.031000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions


does p2pool daemon show anything in output when it is using higher share difficulty.  I tired /1000 and it doesn't seem to have any effect.

I still dont get it, sorry folks..
So I have to tell every miner which difficulty it targets. Like for example 1000 instead of the 700ish now.
That difficulty is simply the miner's name.
How do I set a miner's name of "Miner" and a difficulty of "1000"? What does that "x" and "16" mean in that example above?

Thanks,

Ente

The x is the miner username, the 1024 is the difficulty you want it to use.  I'm not sure about the +16, D&T requested that option be added I think, he should know.

So for what you would like it username for miner would be Miner/1000  and password is the VIP password (if you want it labeled on graphs)
legendary
Activity: 2126
Merit: 1001
Yes, with a username like "x/1024+16" it should show up similar to this:

2012-03-06 17:31:12.554000 P2Pool: 17472 shares in chain (11125/17476) Peers: 14 (4 incoming)
2012-03-06 17:31:12.555000 Local: 458MH/s in last 10.0 minutes doa: ~0.0% (0-49%) time to share: 1.8 hours
2012-03-06 17:31:12.555000 Shares: 3 (1, 0) Stale: ~33.3% (6-80%) Efficiency: ~72.1% (22-102%) Pay: 0.040 BTC
2012-03-06 17:31:12.555000 Pool: 289GH/s Stale rate: 7.6% Time to block: 6.2 hours Blocks: 1
2012-03-06 17:31:30.921000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions
2012-03-06 17:31:40.273000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions
2012-03-06 17:31:47.031000 NW: Diff: 16.0 / 1024.0 Block value: 50.049500 BTC 82 transactions


does p2pool daemon show anything in output when it is using higher share difficulty.  I tired /1000 and it doesn't seem to have any effect.

I still dont get it, sorry folks..
So I have to tell every miner which difficulty it targets. Like for example 1000 instead of the 700ish now.
That difficulty is simply the miner's name.
How do I set a miner's name of "Miner" and a difficulty of "1000"? What does that "x" and "16" mean in that example above?

Thanks,

Ente
legendary
Activity: 2126
Merit: 1001
0.10.3 running, yeah! :-)

RELEASE NOTES: You have to go to http://127.0.0.1:9332/static/graphs.html , not http://127.0.0.1:9332/static to see graphs.

Both work, but just where "graphs" is written on, "graphs" you see.. :-P
The old graphs still are visible too, which I like.

I updated with the "seamless" method suggested a few pages ago:
-git update
-start new instance of p2pool
-let it load everything
-close old instance of p2pool

worked nicely.
on linux, that is, obviously.. :-P


When loading, it loads at the moment around 25000 shares. When running, it says something about 17000 shares.. What is up with that?

Now I will make my personal difficulty higher, I will try 1000 for starters. You guys remember that plan, right? For lowering the "official" difficulty of p2pool, so smaller miners are more attracted to p2pool..

Ente
hero member
Activity: 516
Merit: 643
Uh, so what happens when a few, or when most nodes switch? I can't imagine the sharechain would split, you would have made instructions about that. So it doesnt matter when we switch, as long as it is in the next days? Sooner, to get all the nice new features! :-)

You can upgrade anytime you want between now and April 1.  Assuming this is going to work just like the last protocol change a few weeks ago, the p2pool software will automatically switch from the old way to the new way at midnight (U.S. Eastern Time probably) on April 1.  And there is probably a 1 hour grace period like there was last time to account for the fact that everyone's clocks are not exactly synchronized.
 
That's mostly correct, but there's no grace period this time because it's syncronized to the sharechain's time, not users' clocks. Also, it's midnight UTC this time to coincide with the BIP16 date.

I know bitcoind generates the "getwork" but does p2pool have any control over it.  Say I wanted to only include paying transactions with a fee  of >= 0.01 BTC in my blocks.

Does that require modifying p2pool to request modified work from bitcoind or simply modifying bitcoind to only include the matching transactions in the merkle tree?

In theory, you could do it either way, but changing CreateBlock in bitcoind would be a lot easier because p2pool doesn't have a way to figure out fees and there are probably existing patches to bitcoind to do this.

donator
Activity: 1218
Merit: 1079
Gerald Davis
I know bitcoind generates the "getwork" but does p2pool have any control over it.  Say I wanted to only include paying transactions with a fee  of >= 0.01 BTC in my blocks.

Does that require modifying p2pool to request modified work from bitcoind or simply modifying bitcoind to only include the matching transactions in the merkle tree?
staff
Activity: 4270
Merit: 1209
I support freedom of choice
Thank you very much! Cheesy
vip
Activity: 756
Merit: 503
Is there anyone that has tried to open a p2pool node through the Tor network ?
Is it possible? Can miners connect to a tor hidden service?
Yes but your miner will need to be running TOR.

See those links for more info:

https://en.bitcoin.it/wiki/Tor
https://en.bitcoin.it/wiki/Fallback_Nodes#Tor_network
staff
Activity: 4270
Merit: 1209
I support freedom of choice
Is there anyone that has tried to open a p2pool node through the Tor network ?
Is it possible? Can miners connect to a tor hidden service?
hero member
Activity: 737
Merit: 500
Uh, so what happens when a few, or when most nodes switch? I can't imagine the sharechain would split, you would have made instructions about that. So it doesnt matter when we switch, as long as it is in the next days? Sooner, to get all the nice new features! :-)

You can upgrade anytime you want between now and April 1.  Assuming this is going to work just like the last protocol change a few weeks ago, the p2pool software will automatically switch from the old way to the new way at midnight (U.S. Eastern Time probably) on April 1.  And there is probably a 1 hour grace period like there was last time to account for the fact that everyone's clocks are not exactly synchronized.
 
legendary
Activity: 2126
Merit: 1001
P2Pool release 0.10.3

Sweet! :-)
Can't wait to get home!

UPGRADE REQUIRED before April 1st (BIP 16 date), March 27th for Litecoin[/b]

This release purposely breaks compatibility in order to manage the changes BIP16 will bring

Uh, so what happens when a few, or when most nodes switch? I can't imagine the sharechain would split, you would have made instructions about that. So it doesnt matter when we switch, as long as it is in the next days? Sooner, to get all the nice new features! :-)

Aah, individual graphs, awesome!
I am considering leaving work earlier today just to check it out!

Ente
legendary
Activity: 1379
Merit: 1003
nec sine labore
* New graph implementation (works on Windows!) with per-miner graphs. Go to http://127.0.0.1:9332/static once installed to view.
Would it be possible to code in where miners can define a password for their graphs?

You set miners password inside data/bitcoin/vip_pass file or I did not understand your question Smiley

spiccioli
donator
Activity: 1218
Merit: 1079
Gerald Davis
Does this mean each node is setup to house 10 preferred miners at a time?
If so, I should add that to my site.
No.

This has nothing to do with miners. 
hero member
Activity: 560
Merit: 500
Yes, but you've been running for awhile.   When you ran your p2pool node for the very first time how long did it take?
I'm pretty sure I had 10 in under a minute when I first setup, too.  My backup node is much newer and it got connections just as fast as the server that has been up since January.

I have a public IP, so theres no UPNP on my primary.  I thought that might make a difference at first, but my secondary node has the port firewalled and no UPNP either.  It should have a harder time getting connections, but it still gets them just as fast.

Maybe try adding " -n p2pool.stitthappens.com:8335" to your command? That should get you connected to me at the very least. Theres a list of public nodes on http://nodes.p2pmine.com/, but that lists the worker port instead of the p2p port.

The first 10 are outbound.  They are your nodes contacting other nodes.  The "slow" part is the 11th+ connection.  Your nodes only maintains 10 outbound and only repalces one of those when one is lost so the 11th+ are other nodes choosing yours.  It takes a while.  There is some luck involved but the network prefers older nodes so it may take some time (sometimes minutes, sometimes hours) before another node "picks" you.
Does this mean each node is setup to house 10 preferred miners at a time?
If so, I should add that to my site.
donator
Activity: 1218
Merit: 1079
Gerald Davis
Yes, but you've been running for awhile.   When you ran your p2pool node for the very first time how long did it take?
I'm pretty sure I had 10 in under a minute when I first setup, too.  My backup node is much newer and it got connections just as fast as the server that has been up since January.

I have a public IP, so theres no UPNP on my primary.  I thought that might make a difference at first, but my secondary node has the port firewalled and no UPNP either.  It should have a harder time getting connections, but it still gets them just as fast.

Maybe try adding " -n p2pool.stitthappens.com:8335" to your command? That should get you connected to me at the very least. Theres a list of public nodes on http://nodes.p2pmine.com/, but that lists the worker port instead of the p2p port.

The first 10 are outbound.  They are your nodes contacting other nodes.  The "slow" part is the 11th+ connection.  Your nodes only maintains 10 outbound and only repalces one of those when one is lost so the 11th+ are other nodes choosing yours.  It takes a while.  There is some luck involved but the network prefers older nodes so it may take some time (sometimes minutes, sometimes hours) before another node "picks" you.
hero member
Activity: 737
Merit: 500
P2Pool release 0.10.3 signed tag: 0.10.3 UPGRADE REQUIRED before April 1st (BIP 16 date), March 27th for Litecoin

This version also includes the suggested message at startup about donations.  If you explicitly enabled donating, it thanks you.  If you have forced donations off, it asks you to change your mind and donate.  If you don't have the donation command line argument at all, it explains that it is donating 0.5% by default and explains how to change that with the command line parameter.

Thank you, forrestv.
Jump to: