Author

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

hero member
Activity: 516
Merit: 643
After I go to http://127.0.0.1:9332/graphs/ it says I need to install python-rrdtool but I can only find source distributions and I'm really too lazy to compile it myself (it never runs out of the box and just ends up costing a lot of time). Are there binary distributions of this project?

Are you using Windows?
legendary
Activity: 2324
Merit: 1125
After I go to http://127.0.0.1:9332/graphs/ it says I need to install python-rrdtool but I can only find source distributions and I'm really too lazy to compile it myself (it never runs out of the box and just ends up costing a lot of time). Are there binary distributions of this project?
legendary
Activity: 2126
Merit: 1001
nice, thanks for pointing out, 1onevvolf!

Ente
newbie
Activity: 43
Merit: 0
By the way here's a link to all of the blocks that have been mined by p2pool so far:

https://blockexplorer.com/address/1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4

According to the blockexplorer link, 1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4 is associated in the block chain with the public key that is used for donations via the --give-author p2pool command line option. You can see this hexadecimal public key in the p2pool source code yourselves, where it is stored in the SCRIPT variable near the middle of data.py (bitcoin 'script' annotations are mine):

Code:
SCRIPT = '4104ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664bac'.decode('hex')
          ^ ^                                                                                                                                ^^
          | └ public key (65 bytes hexadecimal) ---------------------------------------------------------------------------------------------┘|
          |                                                                                                                                   |
          └ Push 0x41 = 65 bytes onto the stack                                                                                               └ OP_CHECKSIG (0xAC)

According to the code, this address will always receive at least 1 satoshi per block, plus any donations (~0.25Btc per block w/default settings) and remaining satoshis that are left over after divvying the block's reward & fee amongst the p2pool miners.

So unless the code gets changed, you can expect the 1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4 address to be present in the "To" side of all coins generated by p2pool.


sr. member
Activity: 285
Merit: 250
I am loving p2pool.   I highly recommend it.     Don't forget that it is simple to merge mine with nmc at the same time as well.
hero member
Activity: 737
Merit: 500
I'm a little confused about where the payments come from though... Does the p2pool client force multiple payments from the block solver's bitcoin client to all miners in the pool? Is another bitcoin client built into the p2pool binary?

The found-block directly includes the appropriate payments in the coinbase (the transaction that generates the 50 BTC).  Instead of the 50 BTC going to one address, it goes to all of the addresses of people that have mined shares in the last N shares (usually 8640) relative to how many shares they have mined.

See here for an example:

http://blockchain.info/block-index/856135

(see the "No Input (Newly Generated Coins)" transaction)
legendary
Activity: 1442
Merit: 1000
Here is a script I wrote for automating the install of p2pool. This bundle includes p2pool as well as cgminer. Bitcoin must be already installed.

http://u.forre.st/u/axuzbykp/p2pool%20Automator%20v0.52.zip

It walks users through the installation process in a quick, precise manner. It includes the ability to configure the p2pool mining address, add additional cgminer flags, and generates an easily modified .bat file which launches both p2pool and cgminer.

-Ranvier

Good work! Hopefully this will encourage more folks to mine p2pool Smiley
legendary
Activity: 1973
Merit: 1007
Moved ~ 1.6 gh/s to p2pool this weekend from Slush, and if all goes well this week, I'll be moving another 2.5 gh/s over next weekend.. I'll have to say, Slush hasn't had any DDOS attacks recently, and I trust he hasn't been holding any block rewards for himself, but decentralized mining pools are a natural progression for a decentralized application like bitcoin. Great work guys!
I'm a little confused about where the payments come from though... Does the p2pool client force multiple payments from the block solver's bitcoin client to all miners in the pool? Is another bitcoin client built into the p2pool binary?
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
Here is a beta version of a script I wrote for automating the install of p2pool. This bundle includes p2pool as well as cgminer.

http://goo.gl/8heHC

It walks users through the installation process in a quick, precise manner. It includes the ability to configure the p2pool mining address, add additional cgminer flags, and generates an easily modified .bat file which launches both p2pool and cgminer.



https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9nTKMQThAGQZDk2ZjNjNzYtOGQ0ZS00OTUxLTkxYzktMmI0YjQ5NWVmZDkx&hl=en_US
If the short link does not work ^^^

-Ranvier
This is cool, but what would be really awesome is if you could script it with NSIS - it is a scripting language that is designed for nothing but installing other programs. Lots of error handling (if you choose to use it) and plugin capability. Reasonably easy to learn, too.
newbie
Activity: 23
Merit: 0
Here is a script I wrote for automating the install of p2pool. This bundle includes p2pool as well as cgminer. Bitcoin must be already installed.

http://u.forre.st/u/axuzbykp/p2pool%20Automator%20v0.52.zip

It walks users through the installation process in a quick, precise manner. It includes the ability to configure the p2pool mining address, add additional cgminer flags, and generates an easily modified .bat file which launches both p2pool and cgminer.

-Ranvier
newbie
Activity: 28
Merit: 0
yep. forest did it for easier testing
the p2pool client reports both difficulties in the UI. only the harder one counts.
legendary
Activity: 960
Merit: 1028
Spurn wild goose chases. Seek that which endures.
in the miner i get 2 shares/minute and less than 1% rejected
in p2pool i get a share about once an hour or 2, with ~10% orphans and 0 dead
My guess is that the miner is counting as "accepted" everything that meets Difficulty 1 (the usual share difficulty for pools), even though an actual share on p2pool is harder than Difficulty 1. The same thing happens with the FPGA miner I use.
legendary
Activity: 1666
Merit: 1000
All running smoothly...  Grin
full member
Activity: 215
Merit: 100
I cannot wait to join P2pool.
full member
Activity: 281
Merit: 100
Switched over last night. I had been waiting for pheonix to suport it since I put so much time into tweaking on that miner. The instructions were a little hazzy and the version numbering in hex seems confusing. But So far so good. I occasionaly get communication errors between the P2Pool and bitcoind (on the same machine) but I am going to research it more.
legendary
Activity: 2324
Merit: 1125
Went to IRC and got advised by Gmaxwell to upgrade Phoenix which solved the issues I was having. Thanks a lot.

Now I had 9 accepted 0 rejected in the last 30 mins
newbie
Activity: 28
Merit: 0
in the miner i get 2 shares/minute and less than 1% rejected
in p2pool i get a share about once an hour or 2, with ~10% orphans and 0 dead
legendary
Activity: 1428
Merit: 1000
0 accepted 4 rejected in a little over ten minutes. Is that also what you are getting?

I am using Phoenix which I also use to mine on various pools. Because the pool I use atm was semi-down I thought I'd figure the p2ppool out to see if it is an improvement for my particular case.

i nevered used phoenix: so this is only a guess
p2pool needs fast long polling support by miner (fast means it should not wait some time after it has received one).

i never saw your error before: it seems like phoenix is not able to connect to p2pool. best advice is to join #p2pool on freenode and ask forrestv about it.

(my reject rate with cgminer is very low - around 0.2%)
legendary
Activity: 2324
Merit: 1125
0 accepted 4 rejected in a little over ten minutes. Is that also what you are getting?

I am using Phoenix which I also use to mine on various pools. Because the pool I use atm was semi-down I thought I'd figure the p2ppool out to see if it is an improvement for my particular case.
newbie
Activity: 28
Merit: 0
i am mining at 200Mhash with cgminer, works fine
Jump to: