Author

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

legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
Congrats on your first block find windpath!
sr. member
Activity: 312
Merit: 250
3 Things:

1. We got a block that is not showing in the p2pool default front ends (DOA share found a block):
Block 328755: https://blockchain.info/block-index/489257/000000000000000014d699b2c406f04bd9ebfb0be4971db7159b2e87e498ad26

2. It is my first block found ever! Current mine speed ~4TH/s
http://minefast.coincadence.com/miner.php?id=1BqZakP8wFhRDLkWRGatAwqqt7AQmcePeB

3. Woot!

Block 328755 Summary:
Hash 000000000000000014d699b2c406f04bd9ebfb0be4971db7159b2e87e498ad26
Number Of Transactions    691
Output Total    4,998.59378132 BTC
Transaction Fees    0.08150844 BTC
Height    328755 (Main Chain)
Timestamp    2014-11-06 04:56:20
Relayed By    P2Pool
Difficulty    39,603,666,252.42



Thanks.  My node is not showing 2 blocks found today.  It is only showing 1 of the 3.  My node shows block 328799, but is missing 328777 and 328755.   Would be great if anyone knows how to fix this in the front-end code.  Cheers.

Edit:  Oops...   Congrats Windpath!
member
Activity: 78
Merit: 10
Windpath, congrats on your found block!
legendary
Activity: 1258
Merit: 1027
3 Things:

1. We got a block that is not showing in the p2pool default front ends (DOA share found a block):
Block 328755: https://blockchain.info/block-index/489257/000000000000000014d699b2c406f04bd9ebfb0be4971db7159b2e87e498ad26

2. It is my first block found ever! Current mine speed ~4TH/s
http://minefast.coincadence.com/miner.php?id=1BqZakP8wFhRDLkWRGatAwqqt7AQmcePeB

3. Woot!

Block 328755 Summary:
Hash 000000000000000014d699b2c406f04bd9ebfb0be4971db7159b2e87e498ad26
Number Of Transactions    691
Output Total    4,998.59378132 BTC
Transaction Fees    0.08150844 BTC
Height    328755 (Main Chain)
Timestamp    2014-11-06 04:56:20
Relayed By    P2Pool
Difficulty    39,603,666,252.42

legendary
Activity: 1258
Merit: 1027
I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%.

Use "--give-author 0" in the startup command (without quotes) Wink

When I first saw your suggestion I thought it seemed a bit harsh. Now, after looking at 500+ pages of the thread, I am beginning to know what I didn't know I didn't know.

I had thought I was doing a fairly casual pool-switch, but it's a much bigger "cultural" thing. Very interesting, and of course overwhelming at first.

Thank you for your patience - I'll catch up in time. I've now got a few S3s running p2pool, received a first payout from one, and shifted my S2 guinea pig to another task for the moment (I'm allergic to vi).


It sure is, welcome to the rabbit hole Smiley

And thanks for your feedback on p2pool.org, it was helpful. It's a work in progress...
legendary
Activity: 1258
Merit: 1027
hey! i want to setup my own nodes for different altcoins!
as we see here, there are quite some altcoins running on p2pool.. http://p2pools.org/
but how can i join this network ( as node, not as miner ) ?

i got p2pool running for bitcoin..
but what are the next steps for altcoins? in the sourcecode there are two ( totally different ) examples for fastcoin..
what do i have to enter here to be part of the p2pool?
or does this not matter at all and p2pool will detect on which network i am? ( e.g. from last block hash )

i want to run >20 coins... do you have sample config files?

Rav3nPL maintains a fork with many alts already included, probably your best starting point:

https://github.com/Rav3nPL/p2pool-rav
full member
Activity: 201
Merit: 100
hey! i want to setup my own nodes for different altcoins!
as we see here, there are quite some altcoins running on p2pool.. http://p2pools.org/
but how can i join this network ( as node, not as miner ) ?

edit: i finally found the information: https://bitcointalksearch.org/topic/m.4998082
and examples: https://github.com/Rav3nPL/p2pool-rav/tree/master/p2pool/networks
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952
I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%.

Use "--give-author 0" in the startup command (without quotes) Wink

When I first saw your suggestion I thought it seemed a bit harsh. Now, after looking at 500+ pages of the thread, I am beginning to know what I didn't know I didn't know.

I had thought I was doing a fairly casual pool-switch, but it's a much bigger "cultural" thing. Very interesting, and of course overwhelming at first.

Thank you for your patience - I'll catch up in time. I've now got a few S3s running p2pool, received a first payout from one, and shifted my S2 guinea pig to another task for the moment (I'm allergic to vi).
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.


Any advice you can give as to how we could make p2pool.org experience more helpful for new users would be appreciated Smiley


Edit: Update. I set up an Antminer S2 to test things out, following advice under Run Miners at p2pool.in and adapting it to the S2 - which seemed easy but has not worked out yet. In the LuCI interface for my Ant, pool 1 shows http://127.0.0.1:9332/ with a BTC addy as username and an arbitrary password. Alas, the Ant shows the pool is "dead" and is mining on one of the centralized failover pools. The run_p2pool.exe continues to run in its command window. It scrolls pretty fast but seems OK, given that I don't really know what "normal" might look like. It shows the pool at 5578TH/s, for instance.

I seem to be stuck now - getting close though. I'll think about it some more.

If you haven't already, point your antminer to the ip of the machine p2pool is running on.

Thanks - that seemed to help - the p2pool now shows "alive" on the Ant. It has only been a few minutes, but the pool window still shows Local 0H/s when it scrolls past (Pool 5268TH/s). But wait, there's more!

One more look - YES - local now 840GH/s and climbing - looks like you nailed it!

I'll worry about optimizing the S2 tomorrow, I guess, but the basics seem to be fine now. Thanks again.

sr. member
Activity: 257
Merit: 250

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.


Any advice you can give as to how we could make p2pool.org experience more helpful for new users would be appreciated Smiley


Edit: Update. I set up an Antminer S2 to test things out, following advice under Run Miners at p2pool.in and adapting it to the S2 - which seemed easy but has not worked out yet. In the LuCI interface for my Ant, pool 1 shows http://127.0.0.1:9332/ with a BTC addy as username and an arbitrary password. Alas, the Ant shows the pool is "dead" and is mining on one of the centralized failover pools. The run_p2pool.exe continues to run in its command window. It scrolls pretty fast but seems OK, given that I don't really know what "normal" might look like. It shows the pool at 5578TH/s, for instance.

I seem to be stuck now - getting close though. I'll think about it some more.

If you haven't already, point your antminer to the ip of the machine p2pool is running on.




 




 
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
The S2's run OK with the new firmware using the --queue 0 setting  Wink

Thanks. I'm running p2pool_win32_13.4 which does not appear to accept a --queue 0 argument (error: unrecognized arguments: queue). Am I misunderstanding where the argument should go? It accepted your earlier suggested argument --give-author.



It's a cgminer command - not a p2pool one  Wink

ssh into the S2, then type:

vi /etc/init.d/cgminer.sh

Press “i” (enter edit mode)

Scroll down to line 51 (60 in newer firmware) in the code, starting with :

PARAMS="--bitmain-dev....etc

change the --queue setting at the end of that line:

--queue 0

press "esc", then type:

:wq

Click save & apply on miner GUI to apply the settings - rebooting will reset to the default --queue setting  Wink
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952
The S2's run OK with the new firmware using the --queue 0 setting  Wink

Thanks. I'm running p2pool_win32_13.4 which does not appear to accept a --queue 0 argument (error: unrecognized arguments: queue). Am I misunderstanding where the argument should go? It accepted your earlier suggested argument --give-author.

hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
The S2's run OK with the new firmware using the --queue 0 setting  Wink
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952
I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%.

Use "--give-author 0" in the startup command (without quotes) Wink

Thanks for the suggestion.

I couldn't remember where I had seen 0.5% - everything I looked at now seems to say 1.0% - but I just rediscovered that it shows 0.5% default in the Wiki, presumably out of date.

https://en.bitcoin.it/wiki/P2Pool

I haven't decided yet what value to actually use - got to get it running first.        Wink

Unrelated - I notice the Wiki says there are issues with Antminer S2s, which is my test platform - bad choice perhaps, but I think I also saw somewhere that those issues have been fixed. If so, that may be another Wiki update in the making.
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952

I think the Wiki page has most/all of the info consolidated in one page.   https://en.bitcoin.it/wiki/P2Pool

There are 4 network ports you should pay attention to, and 2 of them you should port-forward on your router.  These are the default ports.  All can be changed.  Keep in mind that there are Bitcoin wallet parameters and there are P2Pool parameters/settings.  The wallet parameters should go in the bitcoin.conf file, and the P2Pool parameters should be in the command line to start your pool node.  You set the RPC username and password in the bitcoin.conf file, and then you pass those parameters in when you start P2Pool.

8332/tcp            Bitcoin Wallet RPC Port - For management/API communication to the Bitcoin Wallet. - NEVER FORWARD THIS PORT, SECURITY RISK
8333/tcp            Bitcoin Wallet Node Port - For communicating with other nodes.  Forward this port to allow inbound wallet connections.  This is not required, but recommended to fully participate in the Bitcoin network.

9332/tcp           Bitcoin P2Pool miner and web interface port.  Forward this port if you want to allow other miners to mine on your node.  And forward if you want to check your statistics (access web page) from outside your LAN.
9333/tcp           Bitcoin P2Pool node port.  Forward this port to allow inbound connections from other P2Pool nodes.  This is not required, but recommended to fully participate in the P2Pool network.


Sounds promising, thanks. I'll check it out. Heh - my wife has other plans for me, so things may drag out a bit.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%.

Use "--give-author 0" in the startup command (without quotes) Wink
sr. member
Activity: 312
Merit: 250

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.


Any advice you can give as to how we could make p2pool.org experience more helpful for new users would be appreciated Smiley

OK. Here's a start, while I still have "beginner's mind".

When I found out the Guild might be closing, I started to Google search for peer to pool alternatives - something that had been in the back of my mind for a long time. I was surprised to find few hits for the search phrases I tried - stuff like "p2pool antminer" and "p2pool tutorial" although perhaps not exactly these phrases (I forget). In general, I found a lot of single-issue hits but only one Big Picture hit, namely p2pool.org which looked like the centre of the p2pool universe to my rookie eye. I spent a lot of (useful) time there without noticing that it had an important link to p2pool.in

Eventually I got to p2pool.in and it seemed to have exactly the step-by-step instructions I wanted. So far I have not got them working but chances are I've overlooked or misread something. Anyway, still with "beginner's mind", looking at the instructions on p2pool.in

First I see a header for Download P2pool binary (Windows in my case). Great - this is going to be easy. Download went fine.

Then I see a header Getting Started (odd - I wonder why the download came first - still looks easy though).

Set up Bitcoin-QT. No problem. I already have it. Oh - it needs a conf file - I can do that. What's in it? RPC name and pw - I can do that (but a total rookie would be baffled, I think). Hmmn - it gives a specific name and pw. Must I use those exact ones? Nah - can't be -  must be just an example. Where is the same pw to be used by the miner? skim, skim, can't find it. That's odd. When will this pw actually get used? Keep reading.

Click on Example for Windows. It's well done, but it's stuff I already know - finding the elusive conf file and the old dotconfdottxt issue.

Now what? Run run_p2pool.exe downloaded earlier. I can do that. I'll run it as administrator, just in case. Hmmn - small window pops up and closes before I have a chance to see what was in it. Looks like it might have been a command prompt console thing. Not what I was expecting. Frantic quick reading - no clues found. Quick look at Task Manager - no obvious new process running. Taking a guess - I'll set up a batch file and run it there to see if I can get it to stay on the screen. Nope, still disappears quickly. Time to RTFM - found a readme file in the download. Yikes - it is very Python-intensive - but, but - I thought the compiled version would avoid all that stuff.

Time to step back and think about it a bit.

That's it for now - I hope this is useful.

Edit: Update. Thought about things a bit, found an old one-page tutorial here: https://bitcointalksearch.org/topic/p2pool-beginners-guide-64329

From it I cribbed the idea of putting a pause in my batch file so I could see what was happening before the window closed. Added timeout /T 300 to the batch file. Bingo. Lots of useful detail had scrolled away before, including an error message - looks like I put my new conf file in the wrong folder. Doh! More anon.

Edit: Update. Moved conf file and the run_p2pool.exe is running fine now in its batch file command window. I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%. Oh well, it is settable and I don't yet know what a fair amount would be. I am seeing lots of "lost peer" and "failure" messages. That does not worry me yet, since I have not pointed any miners at it. Might alarm beginners though. More when I get a chance - may be a while.




 




 

I think the Wiki page has most/all of the info consolidated in one page.   https://en.bitcoin.it/wiki/P2Pool

There are 4 network ports you should pay attention to, and 2 of them you should port-forward on your router.  These are the default ports.  All can be changed.  Keep in mind that there are Bitcoin wallet parameters and there are P2Pool parameters/settings.  The wallet parameters should go in the bitcoin.conf file, and the P2Pool parameters should be in the command line to start your pool node.  You set the RPC username and password in the bitcoin.conf file, and then you pass those parameters in when you start P2Pool.

8332/tcp            Bitcoin Wallet RPC Port - For management/API communication to the Bitcoin Wallet. - NEVER FORWARD THIS PORT, SECURITY RISK
8333/tcp            Bitcoin Wallet Node Port - For communicating with other nodes.  Forward this port to allow inbound wallet connections.  This is not required, but recommended to fully participate in the Bitcoin network.

9332/tcp           Bitcoin P2Pool miner and web interface port.  Forward this port if you want to allow other miners to mine on your node.  And forward if you want to check your statistics (access web page) from outside your LAN.
9333/tcp           Bitcoin P2Pool node port.  Forward this port to allow inbound connections from other P2Pool nodes.  This is not required, but recommended to fully participate in the P2Pool network.
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.


Any advice you can give as to how we could make p2pool.org experience more helpful for new users would be appreciated Smiley

OK. Here's a start, while I still have "beginner's mind".

When I found out the Guild might be closing, I started to Google search for peer to pool alternatives - something that had been in the back of my mind for a long time. I was surprised to find few hits for the search phrases I tried - stuff like "p2pool antminer" and "p2pool tutorial" although perhaps not exactly these phrases (I forget). In general, I found a lot of single-issue hits but only one Big Picture hit, namely p2pool.org which looked like the centre of the p2pool universe to my rookie eye. I spent a lot of (useful) time there without noticing that it had an important link to p2pool.in

Eventually I got to p2pool.in and it seemed to have exactly the step-by-step instructions I wanted. So far I have not got them working but chances are I've overlooked or misread something. Anyway, still with "beginner's mind", looking at the instructions on p2pool.in

First I see a header for Download P2pool binary (Windows in my case). Great - this is going to be easy. Download went fine.

Then I see a header Getting Started (odd - I wonder why the download came first - still looks easy though).

Set up Bitcoin-QT. No problem. I already have it. Oh - it needs a conf file - I can do that. What's in it? RPC name and pw - I can do that (but a total rookie would be baffled, I think). Hmmn - it gives a specific name and pw. Must I use those exact ones? Nah - can't be -  must be just an example. Where is the same pw to be used by the miner? skim, skim, can't find it. That's odd. When will this pw actually get used? Keep reading.

Click on Example for Windows. It's well done, but it's stuff I already know - finding the elusive conf file and the old dotconfdottxt issue.

Now what? Run run_p2pool.exe downloaded earlier. I can do that. I'll run it as administrator, just in case. Hmmn - small window pops up and closes before I have a chance to see what was in it. Looks like it might have been a command prompt console thing. Not what I was expecting. Frantic quick reading - no clues found. Quick look at Task Manager - no obvious new process running. Taking a guess - I'll set up a batch file and run it there to see if I can get it to stay on the screen. Nope, still disappears quickly. Time to RTFM - found a readme file in the download. Yikes - it is very Python-intensive - but, but - I thought the compiled version would avoid all that stuff.

Time to step back and think about it a bit.

That's it for now - I hope this is useful.

Edit: Update. Thought about things a bit, found an old one-page tutorial here: https://bitcointalksearch.org/topic/p2pool-beginners-guide-64329

From it I cribbed the idea of putting a pause in my batch file so I could see what was happening before the window closed. Added timeout /T 300 to the batch file. Bingo. Lots of useful detail had scrolled away before, including an error message - looks like I put my new conf file in the wrong folder. Doh!
 
Edit: Update. Moved the conf file and the run_p2pool.exe is running fine now in its batch file command window. I notice it is donating 1% automatically to devs. Hmmn - I thought the tutorial said 0.5%. Oh well, it is settable and I don't yet know what a fair amount would be. I am seeing lots of "lost peer" and "failure" messages. That does not worry me yet, since I have not pointed any miners at it. Might alarm beginners though.

Edit: Update. I set up an Antminer S2 to test things out, following advice under Run Miners at p2pool.in and adapting it to the S2 - which seemed easy but has not worked out yet. In the LuCI interface for my Ant, pool 1 shows http://127.0.0.1:9332/ with a BTC addy as username and an arbitrary password. Alas, the Ant shows the pool is "dead" and is mining on one of the centralized failover pools. The run_p2pool.exe continues to run in its command window. It scrolls pretty fast but seems OK, given that I don't really know what "normal" might look like. It shows the pool at 5578TH/s, for instance.

I seem to be stuck now - getting close though. I'll think about it some more.




 




 
legendary
Activity: 1258
Merit: 1027

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.


Any advice you can give as to how we could make p2pool.org experience more helpful for new users would be appreciated Smiley
legendary
Activity: 1450
Merit: 1013
Cryptanalyst castrated by his government, 1952
BTC Guild shutting down: https://bitcointalksearch.org/topic/m.9395478


Lets get ready to welcome some new p2pool miners Smiley

Heh - I am potentially one of them, despite the on/off nature of the Guild's announcement.

I was hoping to find some words-of-one-syl tutorials for setting up a p2pool account from scratch and using Bitmain's Antminer (S1, S2, S3) LuCI interface with it. I've found tantalizing hints that it can be done but no obvious tutorials. I hope they are not right under my nose, but if so I'm just not seeing them.

Do such tutorials exist (something like Dogie's or rubicite's tutorials for centralized pool users), and if so, can anyone point me to them?

Thanks!


On windows in linux?

On windows it's pretty easy.  Download the p2pool executable, and fire it up with your payout address.

Then point each of your Ants to that address ... stratum+tcp://internal.address.in.numeric.format:9332

If running locally, the usernames don't matter.  To set the difficulty, suffix them with a +number ... for S1s and S3s, I'd use +518.  For S2 I'd use +1024.  But it'll run just fine w/o the +difficulty as well.

You can also install python and the required modules for p2pool and run the latest git.

On linux it's a little more complicated, but roughly the same idea.

M

Thank you, mdude77! That is exactly what I was hoping to find. Yes, Windows for me most of the time these days.

Edit: I just noticed that my problem arose because I was thrashing around at http://p2pool.org/ rather than http://p2pool.in/ - each is useful in its own way.
Jump to: