HostFat
Staff
Legendary
Offline
Activity: 4270
Merit: 1209
I support freedom of choice
|
|
March 22, 2012, 12:22:36 PM |
|
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?
|
|
|
|
|
HostFat
Staff
Legendary
Offline
Activity: 4270
Merit: 1209
I support freedom of choice
|
|
March 22, 2012, 01:41:43 PM |
|
Thank you very much!
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
March 22, 2012, 03:35:58 PM |
|
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?
|
|
|
|
forrestv (OP)
|
|
March 22, 2012, 04:10:35 PM |
|
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.
|
1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
March 22, 2012, 04:44:11 PM |
|
0.10.3 running, yeah! :-) 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
|
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
March 22, 2012, 04:59:42 PM |
|
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
|
|
|
|
echris1
|
|
March 22, 2012, 08:31:49 PM |
|
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)
|
|
|
|
Red Emerald
|
|
March 22, 2012, 11:01:16 PM |
|
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
|
|
|
|
Rassah
Legendary
Offline
Activity: 1680
Merit: 1035
|
|
March 23, 2012, 05:02:37 AM |
|
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/?
|
|
|
|
NothinG
|
|
March 23, 2012, 05:03:29 AM Last edit: March 23, 2012, 06:17:08 AM by NothinG |
|
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?
|
|
|
|
Red Emerald
|
|
March 23, 2012, 07:21:45 AM |
|
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
|
|
|
|
kano
Legendary
Offline
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
|
|
March 23, 2012, 07:27:19 AM |
|
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
|
|
|
|
Red Emerald
|
|
March 23, 2012, 07:39:49 AM |
|
To see what you installed and when: ls -ort /var/lib/dpkg/info/*.list | grep -i python
Nice. I remembered correctly. -rw-r--r-- 1 root 465 Feb 10 19:11 /var/lib/dpkg/info/python-argparse.list -rw-r--r-- 1 root 9.0K Feb 11 09:31 /var/lib/dpkg/info/python-pygame.list -rw-r--r-- 1 root 23K Feb 11 09:31 /var/lib/dpkg/info/python-numpy.list -rw-r--r-- 1 root 14K Feb 11 09:31 /var/lib/dpkg/info/python-imaging.list -rw-r--r-- 1 root 55K Feb 11 09:37 /var/lib/dpkg/info/python-scipy.list -rw-r--r-- 1 root 627 Feb 11 09:54 /var/lib/dpkg/info/python-rrdtool.list
|
|
|
|
cabin
|
|
March 23, 2012, 02:11:05 PM |
|
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? Yes, it is in the "efficiency_if_miner_perfect": 1.1111111111111112 variable. Example: http://p2pool.hopto.org:9332/local_stats
|
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
March 23, 2012, 03:08:12 PM |
|
Its been several days now with open port and 24h with new version running, I still have zero incoming connections (and the 10 outbound). What do? The (24h dynamic) IP is 93.218.231.154, if someone would be so nice to try to connect? --p2pool-node 93.218.231.154:9333 Why am I still trying this? My orphans and stales seem to be too high: 2012-03-23 15:53:31.776997 P2Pool: 17337 shares in chain (17341 verified/17341 total) Peers: 10 (0 incoming) 2012-03-23 15:53:31.777265 Local: 4416MH/s in last 10.0 minutes Local dead on arrival: ~8.9% (6-12%) Expected time to share: 9.9 minutes 2012-03-23 15:53:31.777347 Shares: 122 (10 orphan, 4 dead) Stale rate: ~11.5% (6-18%) Efficiency: ~97.3% (90-103%) Current payout: 0.6973 BTC 2012-03-23 15:53:31.777450 Pool: 330GH/s Stale rate: 9.0% Expected time to block: 5.4 hours
The p2pool node is dedicated, debian, has a ping latency of around 45ms. The new graphs seem to indicate all workers behave fine. Should I simply accept these stales as "normal"? Ente
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
March 23, 2012, 03:13:29 PM Last edit: March 23, 2012, 03:24:19 PM by DeathAndTaxes |
|
High deads indicate that stales are bad before p2pool has a chance to relay them.
If you are using cgminer ensure: threads per gpu = 1 queue = 1 intensity = 1 lower than normal (I use 9 on 5970 for normal pools & 8 on p2pool)
When you say dedicated is p2pool on a mining rig? I have found better luck putting p2pool & bitcoind on the same machine with no miners.
I will try to connect to you, I need to upgrade p2pool anyways. It looks like the port it open.
On edit: looks like p2pool didn't connect to your node. No idea why. Added connection to command line. It started up without error acquired 10 outbound connections but your node isn't one of them.
|
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
March 23, 2012, 03:30:27 PM Last edit: March 23, 2012, 03:46:50 PM by DeathAndTaxes |
|
Yes, with a username like "x/1024+16" it should show up similar to this: 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? Username should be in this format. [username]/[target diff]+[local diff] username = "name" of worker. target diff = p2pool difficulty. must be higher than current min p2pool difficult. if used by larger miners helps reduce variance (by lower min p2pool diff) of smaller miners. local diff = difficulty of shares as seen by the miner. if not used p2pool uses a dynamic difficulty to keep shares / sec low. Examples: user = creates worker with username user and uses dynamic min difficulty for both p2pool shares and local shares. user/1000 = creates worker with username user and tells it to use difficulty 1000 shares for p2pool user/200 = the 200 is ignored. As of the time of writing min difficulty is 650 thus 650 will still be used. user/1000+1 = creates worker w/ username "user". p2pool diff shares = 1000, local diff = 1
|
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
|
March 23, 2012, 03:45:49 PM |
|
Thank you a ton, DnT! I now have one incoming connection, that surely is you, thank you! So at least my setup isnt faulty, I guess..
Aah, now I get it, with the local difficulty! I will now set it to /1000+1 here.
I invite everyone who isnt afraid of a bit more variance to make his difficulty a bit higher, receive more per share, and reduce the difficulty for the fearsome! ;-)
Ente
|
|
|
|
ragnard
Member
Offline
Activity: 66
Merit: 10
|
|
March 23, 2012, 04:51:44 PM |
|
I invite everyone who isnt afraid of a bit more variance to make his difficulty a bit higher, receive more per share, and reduce the difficulty for the fearsome! ;-)
Ente
Ente, I'm one of the small miners (~700MH/s) and I appreciate you doing this. Variance is pretty tough for me, but I understand the whole thing so I'm sticking with it. But, if we want P2Pool to grow, others won't be as willing to put up with the variance.
|
|
|
|
|