Bitcoin Forum
December 10, 2016, 06:56:39 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 [394] 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034441 times)
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
February 24, 2014, 10:39:04 PM
 #7861

Hmm ... so how many TH/s is the 'development team' being paid?

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481352999
Hero Member
*
Offline Offline

Posts: 1481352999

View Profile Personal Message (Offline)

Ignore
1481352999
Reply with quote  #2

1481352999
Report to moderator
1481352999
Hero Member
*
Offline Offline

Posts: 1481352999

View Profile Personal Message (Offline)

Ignore
1481352999
Reply with quote  #2

1481352999
Report to moderator
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 24, 2014, 10:41:12 PM
 #7862

Hmm ... so how many TH/s is the 'development team' being paid?

Since donations are stored on the share chain, you could actually whip up a tool to calculate that if you were curious enough.

(I realize you might be asking a rhetorical question in response to IYFTech.)

RoyalMiningCo: Pools retired. Was fun!
PatMan
Hero Member
*****
Offline Offline

Activity: 924


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 24, 2014, 10:59:31 PM
 #7863

Hmm ... so how many TH/s is the 'development team' being paid?

There's a dev team?........ Cheesy Cheesy Cheesy

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
phillipsjk
Legendary
*
Offline Offline

Activity: 1008

Let the chips fall where they may.


View Profile WWW
February 25, 2014, 05:52:01 PM
 #7864

Edit: Since AFAIK, the getwork protocol does not allow workers to be interrupted with new work, we should be able to estimate the expected stales given a specific block frequency. If we assume a 13s worst case latency, that works out to at most 43% stales with a 30 second target. If we assume a 6.5s average, that works out to 21.7% stale. -- that does seem high.

Edit: Apparently Longpolling works around HTTP limitations by having the miner request new work immediately. The server then does not respond until new work is ready. Testing time.


See this:

https://bitcointalk.org/index.php?topic=18313.msg4556966#msg4556966

I don't know of anyone who has got slush's proxy to work with p2pool, I've tried countless times myself - it just doesn't work, in fact I have a feeling that that's what is now causing my p2pool start up error/warning. Your only choice with a blade is to use +1 at the end of your user name/addy which, tbh, is a bit of a waste..... Wink

OK, I finally got P2Pool running and learned the truth. One thing that confused me is that the +1 option does not appear to be documented anywhere. What it does is tell the blade to report diff-1 shares. Apparently, the blades do not support higher difficulty.

Test results are in: no longpoll support. 21% stale for me, I guess. (confirmed with netstat -- only transient connections show up on port 9332) The reported DOA rate varies between 20-40% for some reason.

PS: Slush's proxy does not work because P2Pool does not appear to support the stratum protocol. I may try a different proxy if I think it will result in less CPU usage (for example, using compiled, rather than interpreted code). Better power savings would result from replacing the CPU though.

Edit: P2Pool does support Stratum. Slush's proxy not working is more complex. P2Pool tries to automatically detect whether the worker is using stratum or not. While at the same time, the slush proxy tries to automatically detect if the pool is using Stratum or not (using the getwork protocol). I tried removing that detection from the slush code, and it still didn't work.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
IYFTech
Hero Member
*****
Offline Offline

Activity: 686


WANTED: Active dev to fix & re-write p2pool in C


View Profile
February 25, 2014, 06:33:50 PM
 #7865

Exactly.

If you do find a proxy that is compatible with p2pool without a daft DOA rate I'm sure there are a few hundred miners who would like to hear about it...... Wink

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
phillipsjk
Legendary
*
Offline Offline

Activity: 1008

Let the chips fall where they may.


View Profile WWW
February 25, 2014, 09:10:06 PM
 #7866

Well I think I found out where the extra 6 seconds of lag came from:
Code:
2014-02-25 13:53:22.835376 Punishing share for 'Block-stale detected! height(6f2f28d90af36171b9bc41e7986c7bb24943c37bec4ef054) < height(151b94b7ca0744b491b3fcbf950435984bc36c5a97c9a08e9) or
19015f53 != 19015f53'! Jumping from 1ce9c6ad to 212471a6!
...
2014-02-25 13:53:24.455802 New work for worker! Difficulty: 1.000000 Share difficulty: 529462.142225 Total block value: 25.027840 BTC including 106 transactions
.
.
.
2014-02-25 14:05:10.552019 Transaction db65517b5b4b7314e86aa52a1f9e0ea3be37044eab1a73e408ea07f74ec5e383 rescued from peer latency cache!
...
2014-02-25 14:05:17.463766 New work for worker! Difficulty: 1.000000 Share difficulty: 553972.015873 Total block value: 25.105139 BTC including 529 transactions
.
.
.
2014-02-25 14:14:57.135562 P2Pool: 17337 shares in chain (9424 verified/17341 total) Peers: 6 (0 incoming)
...
2014-02-25 14:15:00.183437 P2Pool: 17338 shares in chain (9425 verified/17342 total) Peers: 6 (0 incoming)
...
2014-02-25 14:15:05.433806 New work for worker! Difficulty: 1.000000 Share difficulty: 565095.416800 Total block value: 25.057434 BTC including 304 transactions

I may be misinterpreting things, but I appears to take my machine 1-7 seconds to put work together.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
VarDiff
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW
February 25, 2014, 09:38:59 PM
 #7867



P2Pool added to mining pools database
Good luck, miners.

VarDiff.com - Altcoins and mining pools database. Vote now!
paniczklos
Full Member
***
Offline Offline

Activity: 182


View Profile
February 26, 2014, 06:29:28 AM
 #7868

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).




http://freebtc.eu:8336/static/graphs.html?Day

I'm a account stealing anus licker . please do not trust me.
Mr. Jinx
Member
**
Offline Offline

Activity: 103


View Profile
February 26, 2014, 07:40:19 AM
 #7869

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).

I had the same question in another topic:

Should you get a 1% fee everytime the miners are paid? I haven't received any fee yet, while the active miners have received their share payments.
Or will this fee be paid on a daily base? I got the feeling something is setup wrong.

It isn't intuitive, but each share a miner submits to you has a 1% chance of becoming your share instead. So you'll see a lot of variance in your pool fee income, but long-term it should even out (at the expense of higher variance for the miner as well).

Maybe one day p2pool will allow the fee amount to be recorded in the share, like the donation amount is, so it can be paid exactly when each share is paid and all shares remain with the miner.

After a few weeks I can confirm this behavior. Sometimes there are days without a fee, and then suddenly you get a few in a row. Looking back a month it seems to be about 1%!
sshapiroNJ
Jr. Member
*
Offline Offline

Activity: 55


View Profile
February 26, 2014, 08:24:15 AM
 #7870

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).

I had the same question in another topic:

Should you get a 1% fee everytime the miners are paid? I haven't received any fee yet, while the active miners have received their share payments.
Or will this fee be paid on a daily base? I got the feeling something is setup wrong.

It isn't intuitive, but each share a miner submits to you has a 1% chance of becoming your share instead. So you'll see a lot of variance in your pool fee income, but long-term it should even out (at the expense of higher variance for the miner as well).

Maybe one day p2pool will allow the fee amount to be recorded in the share, like the donation amount is, so it can be paid exactly when each share is paid and all shares remain with the miner.

After a few weeks I can confirm this behavior. Sometimes there are days without a fee, and then suddenly you get a few in a row. Looking back a month it seems to be about 1%!

It has also happened to me. I need like a couple of months to understand what is going on until I read on post on the site (another subforum) and finally understood what's going on
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 26, 2014, 01:44:55 PM
 #7871

Fee % isn't a % of each block. It is a % of shares are randomly given to you instead of your miner. So in 100 shares, on average, 1 share will be 100% credit to you, and 99 shares will be 100% credit to your miners. It should average out long-term that you make 1% of the total income of the pool. But it is very high variance. I hope in a future major version of p2pool the fee % is applied to every block like donation %.

RoyalMiningCo: Pools retired. Was fun!
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 26, 2014, 01:46:13 PM
 #7872

For those interested I just found an interesting patch the author mentioned on the HHTT thread:

https://github.com/iongchun/p2pool/tree/auto-worker-diff

Gives you two command line options to control the pseduo share difficulty. You can set a target difficulty per-miner or per-address. Using that per-address would seem to fit nicely with my pull request to set share difficulty based on address speed instead of local node speed.

RoyalMiningCo: Pools retired. Was fun!
Mr. Jinx
Member
**
Offline Offline

Activity: 103


View Profile
February 26, 2014, 04:48:39 PM
 #7873

I can currently offer a 5 LTC bounty if someone can help me resolve this issue:

I'm still having this memory leak issue with p2pool which I would love to resolve:


I looked at the ">" errors in the logs, but I don't know if this is the problem:
Code:
2014-02-24 05:34:43.706844 > Couldn't link returned work's job id with its handler. This should only happen if this process was recently restarted!
Code:
2014-02-24 05:05:18.137532 Worker xxxxxxxxxxx submitted share with hash > target:
2014-02-24 05:05:18.137946     Hash:   xxxxxxxxxxxxxxx
2014-02-24 05:05:18.138166     Target: xxxxxxxxxx
Code:
2014-02-24 05:00:39.106919 > in handle_share_hashes:
2014-02-24 05:00:39.107328 > Traceback (most recent call last):
2014-02-24 05:00:39.107653 > Failure: twisted.internet.defer.TimeoutError: in GenericDeferrer
2014-02-24 05:00:39.109908 Lost peer x.x.x.x:36098 -
2014-02-24 05:00:39.110112     Connection was aborted locally, using
2014-02-24 05:00:39.110291     L{twisted.internet.interfaces.ITCPTransport.abortConnection}.
2014-02-24 05:00:39.110502
2014-02-24 05:00:39.110721     @since: 11.1

Right now I have to restart the node every few days, which the miners don't like.
matthewh3
Legendary
*
Offline Offline

Activity: 1372



View Profile WWW
February 27, 2014, 12:37:16 AM
 #7874

I'm thinking of setting a P2Pool node up for around 2MH/s on Vertcoin.  Can you still auto donate 1% to the dev's?

roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 27, 2014, 01:46:13 AM
 #7875

I'm thinking of setting a P2Pool node up for around 2MH/s on Vertcoin.  Can you still auto donate 1% to the dev's?

I don't think Forrest has a Vertcoin address but you can ask him. The address hard coded into the repo wouldn't work anyway. Maybe best to just do a manual donation now and then to his BTC address.

RoyalMiningCo: Pools retired. Was fun!
hasis
Jr. Member
*
Offline Offline

Activity: 44


View Profile
February 27, 2014, 06:36:22 AM
 #7876

Hi! I have the following problem. Sometimes, if the restart p2pool (quark-algoritm), when the power pool > ~ 150 MH / s, process starts to load the processor to 100% and all shares the dead. All logentries "DEAD ON ARRIVAL". Why this happens and how to solve this problem?

▀▄▀ ★ Free bitcoins ★ ▀▄▀
fruor
Jr. Member
*
Offline Offline

Activity: 44


View Profile
February 27, 2014, 10:57:42 AM
 #7877

Individual miners on a public node would see reduced variance in their own shares, since pool hash rate is taken out of the equation. They could do this by hand now with ADDR/1 (or say /.000001 for scrypt), but I think handling it automatically makes more sense (and keeps vardiff alive for miners that are maybe bigger than justifies using ADDR/1).


if I run my own p2pool node how do I change to ADDR/0.001?

is there a switch in run_p2pool to achieve this?
when i do run_p2pool -a <addr>/0.0001
it gives me a parse error
phillipsjk
Legendary
*
Offline Offline

Activity: 1008

Let the chips fall where they may.


View Profile WWW
February 27, 2014, 01:30:35 PM
 #7878

Hi! I have the following problem. Sometimes, if the restart p2pool (quark-algoritm), when the power pool > ~ 150 MH / s, process starts to load the processor to 100% and all shares the dead. All logentries "DEAD ON ARRIVAL". Why this happens and how to solve this problem?

If it takes your node more than 30 seconds to verify a block, you will get 100% stales. Even without 6 different hashing algorithms, I have seen up to 12 seconds of CPU lag on my machine processing P2Pool.

Part of the problem may be that python is an interpreted, not compiled language. A Just-In-Time compiler like PyPy may help. (I think I will test that on my own machine)

Edit: I think actual block processing is handed off to Bitcoind. P2Pool still has its own chain though.
Edit: pypy Does not work:
Code:
Traceback (most recent call last):
  File "app_main.py", line 72, in run_toplevel
  File "./p2pool/run_p2pool.py", line 3, in <module>
    from p2pool import main
  File "/usr/home/P2Pool/p2pool/p2pool/main.py", line 17, in <module>
    from twisted.internet import defer, reactor, protocol, tcp
ImportError: No module named twisted

Update:
Got it working.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
February 27, 2014, 02:11:58 PM
 #7879

if I run my own p2pool node how do I change to ADDR/0.001?

is there a switch in run_p2pool to achieve this?
when i do run_p2pool -a <addr>/0.0001
it gives me a parse error

Is it the username your miner uses to connect to a node. Instead of username = payment address, use ADDR+DIFF to control the pseudo share difficulty (for graphing or support really old asics) or use ADDR/DIFF to control your share target. You can also use both. For instance I mine Uno (a sha256 coin) with ADDR/64000+64 on my Antminer S1 (180GH).

RoyalMiningCo: Pools retired. Was fun!
paniczklos
Full Member
***
Offline Offline

Activity: 182


View Profile
February 27, 2014, 03:37:39 PM
 #7880

Hi guys, do you have any idea what might be causing this hashrate drops on my p2pool ?

http://freebtc.eu:8336/static/



I've upgaradedthe CPU and RAM since the firstdrop, but they occured again ;/ RAM and CPU are at 10% at most

Code:
2014-02-27 10:06:10.109157 > Unhandled Error
2014-02-27 10:06:10.109247 > Traceback (most recent call last):
2014-02-27 10:06:10.109336 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 75, in set
2014-02-27 10:06:10.109428 >     self.transitioned.happened(oldvalue, value)
2014-02-27 10:06:10.109563 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 42, in happened
2014-02-27 10:06:10.109641 >     func(*event)
2014-02-27 10:06:10.109717 >   File "/root/p2pool-blackcoin/p2pool/work.py", line 118, in _
2014-02-27 10:06:10.109792 >     self.new_work_event.happened()
2014-02-27 10:06:10.109869 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 42, in happened
2014-02-27 10:06:10.109944 >     func(*event)
2014-02-27 10:06:10.110019 > --- <exception caught here> ---
2014-02-27 10:06:10.110094 >   File "/root/p2pool-blackcoin/p2pool/bitcoin/stratum.py", line 38, in _send_work
2014-02-27 10:06:10.110171 >     x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2014-02-27 10:06:10.110262 >   File "/root/p2pool-blackcoin/p2pool/work.py", line 176, in preprocess_request
2014-02-27 10:06:10.110348 >     raise jsonrpc.Error_for_code(-12345)(u'lost contact with bitcoind')
2014-02-27 10:06:10.110424 > p2pool.util.jsonrpc.NarrowError: -12345 lost contact with bitcoind
2014-02-27 10:06:10.110715 > Unhandled Error

Code:
2014-02-27 10:06:10.429822 > Traceback (most recent call last):
2014-02-27 10:06:10.429901 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 75, in set
2014-02-27 10:06:10.429978 >     self.transitioned.happened(oldvalue, value)
2014-02-27 10:06:10.430054 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 42, in happened
2014-02-27 10:06:10.430130 >     func(*event)
2014-02-27 10:06:10.430206 >   File "/root/p2pool-blackcoin/p2pool/work.py", line 118, in _
2014-02-27 10:06:10.430282 >     self.new_work_event.happened()
2014-02-27 10:06:10.430359 >   File "/root/p2pool-blackcoin/p2pool/util/variable.py", line 42, in happened
2014-02-27 10:06:10.430434 >     func(*event)
2014-02-27 10:06:10.430559 > --- <exception caught here> ---
2014-02-27 10:06:10.430641 >   File "/root/p2pool-blackcoin/p2pool/bitcoin/stratum.py", line 38, in _send_work
2014-02-27 10:06:10.430718 >     x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
2014-02-27 10:06:10.430796 >   File "/root/p2pool-blackcoin/p2pool/work.py", line 176, in preprocess_request
2014-02-27 10:06:10.430885 >     raise jsonrpc.Error_for_code(-12345)(u'lost contact with bitcoind')
2014-02-27 10:06:10.430963 > p2pool.util.jsonrpc.NarrowError: -12345 lost contact with bitcoind
2014-02-27 10:06:10.519798 > Error getting work from bitcoind:
2014-02-27 10:06:10.519982 > Traceback (most recent call last):
2014-02-27 10:06:10.520197 > Failure: twisted.internet.error.ConnectBindError: Couldn't bind: 24: Too many open files.
2014-02-27 10:06:10.558710 > Unhandled Error
2014-02-27 10:06:10.558896 > Traceback (most recent call last):
2014-02-27 10:06:10.558985 >   File "/root/p2pool-blackcoin/p2pool/main.py", line 578, in run
2014-02-27 10:06:10.559066 >     reactor.run()
2014-02-27 10:06:10.559146 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2014-02-27 10:06:10.559203 >     self.mainLoop()
2014-02-27 10:06:10.559295 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2014-02-27 10:06:10.559373 >     self.runUntilCurrent()
2014-02-27 10:06:10.559455 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2014-02-27 10:06:10.559532 >     call.func(*call.args, **call.kw)
2014-02-27 10:06:10.559608 > --- <exception caught here> ---



I'm a account stealing anus licker . please do not trust me.
Pages: « 1 ... 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 [394] 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!