Bitcoin Forum
April 27, 2024, 07:41:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
March 22, 2012, 12:22:36 PM
 #1521

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?

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
1714203673
Hero Member
*
Offline Offline

Posts: 1714203673

View Profile Personal Message (Offline)

Ignore
1714203673
Reply with quote  #2

1714203673
Report to moderator
1714203673
Hero Member
*
Offline Offline

Posts: 1714203673

View Profile Personal Message (Offline)

Ignore
1714203673
Reply with quote  #2

1714203673
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714203673
Hero Member
*
Offline Offline

Posts: 1714203673

View Profile Personal Message (Offline)

Ignore
1714203673
Reply with quote  #2

1714203673
Report to moderator
01BTC10
VIP
Hero Member
*
Offline Offline

Activity: 756
Merit: 503



View Profile
March 22, 2012, 12:54:37 PM
 #1522

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
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
March 22, 2012, 01:41:43 PM
 #1523

Thank you very much! Cheesy

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 22, 2012, 03:35:58 PM
 #1524

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)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
March 22, 2012, 04:10:35 PM
 #1525

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 Offline

Activity: 2126
Merit: 1001



View Profile
March 22, 2012, 04:44:11 PM
 #1526

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
Ente
Legendary
*
Offline Offline

Activity: 2126
Merit: 1001



View Profile
March 22, 2012, 04:59:42 PM
 #1527

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
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
March 22, 2012, 08:31:49 PM
 #1528

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
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
March 22, 2012, 11:01:16 PM
 #1529

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

Rassah
Legendary
*
Offline Offline

Activity: 1680
Merit: 1035



View Profile WWW
March 23, 2012, 05:02:37 AM
 #1530

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
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
March 23, 2012, 05:03:29 AM
Last edit: March 23, 2012, 06:17:08 AM by NothinG
 #1531

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
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
March 23, 2012, 07:21:45 AM
 #1532

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 Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
March 23, 2012, 07:27:19 AM
 #1533

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

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
March 23, 2012, 07:39:49 AM
 #1534

To see what you installed and when:
ls -ort /var/lib/dpkg/info/*.list | grep -i python

Nice. I remembered correctly.

Code:
-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
Sr. Member
****
Offline Offline

Activity: 604
Merit: 250


View Profile
March 23, 2012, 02:11:05 PM
 #1535

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 Offline

Activity: 2126
Merit: 1001



View Profile
March 23, 2012, 03:08:12 PM
 #1536

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?

Code:
 --p2pool-node 93.218.231.154:9333

Why am I still trying this?
My orphans and stales seem to be too high:

Quote
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 Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 23, 2012, 03:13:29 PM
Last edit: March 23, 2012, 03:24:19 PM by DeathAndTaxes
 #1537

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 Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
March 23, 2012, 03:30:27 PM
Last edit: March 23, 2012, 03:46:50 PM by DeathAndTaxes
 #1538

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 Offline

Activity: 2126
Merit: 1001



View Profile
March 23, 2012, 03:45:49 PM
 #1539

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 Offline

Activity: 66
Merit: 10



View Profile
March 23, 2012, 04:51:44 PM
 #1540


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.
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!