Author

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

sr. member
Activity: 507
Merit: 253
Is that something new with the S5?  I have S3s and replacing the binary is certainly not in volatile memory.  I've heard that changes you make to the init.d scripts might get lost on reboot.
Yes, I know at least the init screpts are lost, but perhaps you're right and the binary is not in volatile memory. I personally haven't tested it to be sure.
I tested it, and yes the binaries are lost upon reboot, so you would have to run a script to update 4.8.0 → 4.9.0.
sr. member
Activity: 434
Merit: 250
So if blocks are only found every 2 days, say, all shares found in the first day of searching are lost before the block is found? Giving us basically an N=.5 window? That doesn't seem right.
sr. member
Activity: 507
Merit: 253
I recall (unless I'm confused) that p2pool uses a PPLNS window of N=3 blocks, so if blocks are found frequently, shares will last 3 blocks of time. However when blocks are taking longer to be found like at the moment, is it 3 days before shares will expire off the end of the max sharechain size? I couldn't quite remember if it was 3 days or some other period of time.
From here:
Quote
Each share contains a generation transaction that pays to the previous n shares, where n is the number of shares whose total work is equal to 3 times the average work required to solve a block, or 8640 (= 24 hours of shares), whichever is smaller.
sr. member
Activity: 434
Merit: 250
I recall (unless I'm confused) that p2pool uses a PPLNS window of N=3 blocks, so if blocks are found frequently, shares will last 3 blocks of time. However when blocks are taking longer to be found like at the moment, is it 3 days before shares will expire off the end of the max sharechain size? I couldn't quite remember if it was 3 days or some other period of time.
sr. member
Activity: 507
Merit: 253
Is there a way to make it re-scan the whole sharechain and display all my shares?

Are you using the default interface? The one I like is

https://github.com/johndoe75/p2pool-node-status

which you can see in live use here:

http://us-east.royalminingco.com:9332/static/

If you want the "time to share" info down on the miner line, you need to go into p2pool-node-status after you clone it and try "git branch devel". That will update it to support the extended API stats needed.
No, I'm using https://github.com/hardcpp/P2PoolExtendedFrontEnd
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
the UI only tracks shares found on your node since the last restart.
Is there a way to make it re-scan the whole sharechain and display all my shares?
Not unless you write the code to do so.  The node's efficiency, shares, orphans, dead, etc all reset to 0 upon restart of the node.
sr. member
Activity: 434
Merit: 250
Is there a way to make it re-scan the whole sharechain and display all my shares?

Are you using the default interface? The one I like is

https://github.com/johndoe75/p2pool-node-status

which you can see in live use here:

http://us-east.royalminingco.com:9332/static/

If you want the "time to share" info down on the miner line, you need to go into p2pool-node-status after you clone it and try "git branch devel". That will update it to support the extended API stats needed.
sr. member
Activity: 507
Merit: 253
the UI only tracks shares found on your node since the last restart.
Is there a way to make it re-scan the whole sharechain and display all my shares?
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool

I've been running P2Pool on Linux for about a year and decided to look for updates... I'm hoping that the 'bug' causing all my shares to be lost when I restart the pool has been fixed.

I'm confused; there are a multitude of 'p2pool' projects on GitHub

What is considered to be the latest 'official' repository for the p2pool code

Or.. can anyone spell out what the different 'good' repositories are, and what the differences between them are ?


The official p2pool repo is forrest's: https://github.com/forrestv/p2pool/

Rav3n's got his own that has support for a boatload of alt coins: https://github.com/Rav3nPL/p2pool-rav

When you restart p2pool, the UI resets your local share count to 0.  You don't actually lose shares on the chain, it's just that the UI only tracks shares found on your node since the last restart.
member
Activity: 193
Merit: 10

I've been running P2Pool on Linux for about a year and decided to look for updates... I'm hoping that the 'bug' causing all my shares to be lost when I restart the pool has been fixed.

I'm confused; there are a multitude of 'p2pool' projects on GitHub

What is considered to be the latest 'official' repository for the p2pool code

Or.. can anyone spell out what the different 'good' repositories are, and what the differences between them are ?

legendary
Activity: 1258
Merit: 1027
"bitcoinuser" and "bitcoinpassword" are the rpcuser and rpcpassword set in your bitcoin.conf file.
What's the difference between bitcoin and rpc?

Any other windows 7 user who are trying to implement code you can do it by creating a shortcut of run_p2pool.exe to the desktop. Right click the select properties. Once there find the target do not erase this. What you want to do is put a space at the very end after run_p2pool.exe and start typing in your code.

run_p2pool.exe --irc-announce --outgoing-conns 10 --address yourbitcoinaddressforfeestogoto --fee 0 --give-author .5 --net bitcoin bitcoinuser bitcoinpassword

The code im referring to can be found under Option Reference at https://en.bitcoin.it/wiki/P2Pool

I failed at making a .bat like you could make for cgminer but you may be able to do it that way too if anyone knows how to make it start from there please post.


The RPC is an API for your bitcoin node, without the user and pass set p2pool wont be able to get the info it needs from bitcoin to mine....

https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
full member
Activity: 213
Merit: 100
"bitcoinuser" and "bitcoinpassword" are the rpcuser and rpcpassword set in your bitcoin.conf file.
What's the difference between bitcoin and rpc?

Any other windows 7 user who are trying to implement code you can do it by creating a shortcut of run_p2pool.exe to the desktop. Right click the select properties. Once there find the target do not erase this. What you want to do is put a space at the very end after run_p2pool.exe and start typing in your code.

run_p2pool.exe --irc-announce --outgoing-conns 10 --address yourbitcoinaddressforfeestogoto --fee 0 --give-author .5 --net bitcoin bitcoinuser bitcoinpassword

The code im referring to can be found under Option Reference at https://en.bitcoin.it/wiki/P2Pool

I failed at making a .bat like you could make for cgminer but you may be able to do it that way too if anyone knows how to make it start from there please post.


full member
Activity: 213
Merit: 100
How do we update P2Pool without loosing all our downloaded sharechain?

run two programs at the same time once the first one downloads the chains and says that there are two running close the other one
sr. member
Activity: 507
Merit: 253
How do we update P2Pool without loosing all our downloaded sharechain?

If you cloned it from github I think all you need to do is "git pull" in the p2pool directory.
Oh nice thanks

Also, is there a proper way to reboot P2Pool?
sr. member
Activity: 434
Merit: 250
How do we update P2Pool without loosing all our downloaded sharechain?

If you cloned it from github I think all you need to do is "git pull" in the p2pool directory.
sr. member
Activity: 507
Merit: 253
How do we update P2Pool without loosing all our downloaded sharechain?
sr. member
Activity: 507
Merit: 253
How does P2Pool detect bad peers, which it bans? What constitutes a bad peer?
legendary
Activity: 1258
Merit: 1027
Can someone take a look at this. Anything you see that i should change?
[IMG removed]

The run_p2pool.py line does not go in bitcoin.conf, that is the command to start p2pool (as you are on windows I'm guessing you use the exe), not sure how to pass args in win, but I would try start => cmd, move to p2pool dir and try to run it from there...
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
I apologize for all the questions i just dont have the time to comb through this thread would be nice to organize the info in this thread so it's easier to access what you need.

You might find this useful:

A guide for mining efficiently on P2Pool, includes FUD repellent and FAQ

If it is any help to you, the script I use on my linux machine reads:

Code:
screen -d -m -S btcp2pool ~/code/p2pool/run_p2pool.py --irc-announce --outgoing-conns 10 --address yourbitcoinaddressforfeestogoto --fee 0 --give-author .5 --net bitcoin bitcoinuser bitcoinpassword

Obviously, replace the address with your own if you have a fee. Since I have --fee 0 at the moment I might not even need --address. The "bitcoinuser" and "bitcoinpassword" are the rpcuser and rpcpassword set in your bitcoin.conf file.
I was looking at that thread but i thought it was out dated.
Everything there still applies.  @roy7, you put the address still in case some miners connect to your node without a proper BTC address.  Even if you're not collecting fees, the node will consider any improperly formatted BTC address mining as a donation.
full member
Activity: 213
Merit: 100
I apologize for all the questions i just dont have the time to comb through this thread would be nice to organize the info in this thread so it's easier to access what you need.

You might find this useful:

A guide for mining efficiently on P2Pool, includes FUD repellent and FAQ

If it is any help to you, the script I use on my linux machine reads:

Code:
screen -d -m -S btcp2pool ~/code/p2pool/run_p2pool.py --irc-announce --outgoing-conns 10 --address yourbitcoinaddressforfeestogoto --fee 0 --give-author .5 --net bitcoin bitcoinuser bitcoinpassword

Obviously, replace the address with your own if you have a fee. Since I have --fee 0 at the moment I might not even need --address. The "bitcoinuser" and "bitcoinpassword" are the rpcuser and rpcpassword set in your bitcoin.conf file.
I was looking at that thread but i thought it was out dated.
Jump to: