ancow
|
|
February 09, 2012, 07:51:00 PM |
|
How to update?!
Just:
1- cd ~/p2pool ; git pull 2- stop P2Pool 3- start P2Pool
Since Python doesn't need explicit compilation, yes.
|
BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
February 09, 2012, 08:15:25 PM |
|
Huh!?!?! Whats going on here? Pool: 10458MH/s ? Pool stales: 48% ?
Updating and restarting P2Pool seems to fix it. Several users had this problem, and I'm looking into it right now. Will post more updates soon. forrestv, are split chains a waste of mining power? what about forcing a minimum/maximum version control for all p2pool.py instances sharing the same share chain? spiccioli
|
|
|
|
Gabi
Legendary
Offline
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
|
|
February 09, 2012, 08:26:02 PM |
|
Huh!?!?! Whats going on here? Pool: 10458MH/s ? Pool stales: 48% ?
Updating and restarting P2Pool seems to fix it. Several users had this problem, and I'm looking into it right now. Will post more updates soon. forrestv, are split chains a waste of mining power? As far as i know no. If the splitted chain find a block, it will be split between submitted shares in the splitted chain. Just, you are mining in a pool with 10ghash
|
|
|
|
forrestv (OP)
|
|
February 09, 2012, 09:04:41 PM |
|
FEATURE REQUEST: Could P2Pool load config values from a file, and accept a parameter to tell it where to put its data? This would be nice to have, instead of passing a massive long command line to it.
It isn't documented well (yet), but you can use @FILENAME to make P2Pool load options from that file. File contents would be like: Accepting a parameter for data files is done as of https://github.com/forrestv/p2pool/commit/ff2a677f .
|
1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
|
|
|
Frizz23
|
|
February 09, 2012, 11:11:12 PM |
|
For merges mining, I get this error messages: 2012-02-10 00:07:57.745000 Started successfully! 2012-02-10 00:07:57.746000 2012-02-10 00:07:57.804000 > Error while calling merged getauxblock: 2012-02-10 00:07:57.805000 > Traceback (most recent call last): 2012-02-10 00:07:57.806000 > File "c:\python27\lib\site-packages\twisted\inter net\defer.py", line 545, in _runCallbacks 2012-02-10 00:07:57.807000 > current.result = callback(current.result, *args , **kw) 2012-02-10 00:07:57.807000 > File "c:\python27\lib\site-packages\twisted\inter net\defer.py", line 1095, in gotResult 2012-02-10 00:07:57.808000 > _inlineCallbacks(r, g, deferred) 2012-02-10 00:07:57.808000 > File "c:\python27\lib\site-packages\twisted\inter net\defer.py", line 1037, in _inlineCallbacks 2012-02-10 00:07:57.809000 > result = result.throwExceptionIntoGenerator(g) 2012-02-10 00:07:57.810000 > File "c:\python27\lib\site-packages\twisted\pytho n\failure.py", line 382, in throwExceptionIntoGenerator 2012-02-10 00:07:57.810000 > return g.throw(self.type, self.value, self.tb) 2012-02-10 00:07:57.811000 > --- <exception caught here> --- 2012-02-10 00:07:57.811000 > File "C:\bitcoin\p2pool_git\p2pool\util\deferral. py", line 29, in f 2012-02-10 00:07:57.812000 > result = yield func(*args, **kwargs) 2012-02-10 00:07:57.812000 > File "c:\python27\lib\site-packages\twisted\inter net\defer.py", line 1037, in _inlineCallbacks 2012-02-10 00:07:57.813000 > result = result.throwExceptionIntoGenerator(g) 2012-02-10 00:07:57.813000 > File "c:\python27\lib\site-packages\twisted\pytho n\failure.py", line 382, in throwExceptionIntoGenerator 2012-02-10 00:07:57.814000 > return g.throw(self.type, self.value, self.tb) 2012-02-10 00:07:57.815000 > File "C:\bitcoin\p2pool_git\p2pool\util\jsonrpc.p y", line 67, in callRemote 2012-02-10 00:07:57.815000 > raise Error(**resp['error']) Tested with latest version from git and also with forrestv-p2pool-5293db4. [Edit] Maybe that's because namecoind is still downloading blocks? [Edit2] No, thats not it.
|
Ξtherization⚡️First P2E 2016⚡️🏰💎🌈 etherization.org
|
|
|
Regex
Newbie
Offline
Activity: 23
Merit: 0
|
|
February 09, 2012, 11:15:57 PM |
|
Sry to bother, one noob question: How do you guys actually see, when p2pool found a block? Are they listed anywhere?
Also, do you get instant payout after a block was found? Cause I didn't get any payments yesterday when you guys where screaming "27 blocks in 20min now!!1", but later I saw a lot of transactions from p2p. How is that working exactly? (I am aware of the xx blocks it needs until the mined coins can be used, that's not what I mean).
Thanks!
|
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
February 09, 2012, 11:28:58 PM |
|
For merges mining, I get this error messages: Did you create a bitcoin.conf for namecoind with user, pass, and rpc port?
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
Frizz23
|
|
February 09, 2012, 11:36:32 PM |
|
For merges mining, I get this error messages: Did you create a bitcoin.conf for namecoind with user, pass, and rpc port? yep. rpcuser=USER rpcpassword=PASS server=1 rpcport=8336 [Edit] I am using Windows. namecoind seems to be a bit flaky. At the moment it hangs at a "namecoind getinfo" ... :/
|
Ξtherization⚡️First P2E 2016⚡️🏰💎🌈 etherization.org
|
|
|
twmz
|
|
February 09, 2012, 11:42:41 PM |
|
Sry to bother, one noob question: How do you guys actually see, when p2pool found a block? Are they listed anywhere?
Also, do you get instant payout after a block was found? Cause I didn't get any payments yesterday when you guys where screaming "27 blocks in 20min now!!1", but later I saw a lot of transactions from p2p. How is that working exactly? (I am aware of the xx blocks it needs until the mined coins can be used, that's not what I mean).
Thanks!
Some (but not all) appear in the p2pool console output. Some (but not all) are announced n IRC. I personally just watch my bitcoin transaction log. All of them appear there, and yes payments are instant. They appear in mining or generation transactions (depending on if you are looking in the GUI or the commandline version of the bitcoin application). If you were successfully mining (and actually found shares) for all of yesterday and did not get several payment transactions, something is wrong.
|
Was I helpful? 1 TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs WoT, GPGBitrated user: ewal.
|
|
|
|
Wandering Albatross
Member
Offline
Activity: 70
Merit: 10
|
|
February 10, 2012, 12:37:42 AM |
|
I have multiple interfaces on a host and I want run_p2pool.py to listen on 9.8.7.6:9332 How do I do this?
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
neptop
|
|
February 10, 2012, 01:00:39 AM |
|
I am receiving errors: 2012-02-10 01:35:23.919558 Processing 1001 shares from 72.14.191.28:9333... 2012-02-10 01:36:49.833442 Requesting parent share 27a81904 from 168.7.116.243:9333 2012-02-10 01:36:49.837495 ... done processing 1001 shares. New: 1001 Have: 9027/~17280 2012-02-10 01:36:49.842651 > Watchdog timer went off at: 2012-02-10 01:36:49.843077 > File "run_p2pool.py", line 5, in <module> 2012-02-10 01:36:49.843437 > main.run() 2012-02-10 01:36:49.843760 > File "/home/user/p2pool/p2pool/main.py", line 1134, in run 2012-02-10 01:36:49.844139 > reactor.run() 2012-02-10 01:36:49.844464 > File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1169, in run 2012-02-10 01:36:49.844881 > self.mainLoop() 2012-02-10 01:36:49.845235 > File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1181, in mainLoop 2012-02-10 01:36:49.845602 > self.doIteration(t) 2012-02-10 01:36:49.845937 > File "/usr/lib/python2.7/site-packages/twisted/internet/pollreactor.py", line 167, in doPoll 2012-02-10 01:36:49.846259 > log.callWithLogger(selectable, _drdw, selectable, fd, event) 2012-02-10 01:36:49.846646 > File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 84, in callWithLogger 2012-02-10 01:36:49.846974 > return callWithContext({"system": lp}, func, *args, **kw) 2012-02-10 01:36:49.847333 > File "/usr/lib/python2.7/site-packages/twisted/python/log.py", line 69, in callWithContext 2012-02-10 01:36:49.847671 > return context.call({ILogContext: newCtx}, func, *args, **kw) 2012-02-10 01:36:49.847990 > File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext 2012-02-10 01:36:49.848439 > return self.currentContext().callWithContext(ctx, func, *args, **kw) 2012-02-10 01:36:49.848827 > File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext 2012-02-10 01:36:49.849235 > return func(*args,**kw) 2012-02-10 01:36:49.849561 > File "/usr/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 581, in _doReadOrWrite 2012-02-10 01:36:49.849948 > why = selectable.doRead() 2012-02-10 01:36:49.850265 > File "/usr/lib/python2.7/site-packages/twisted/internet/tcp.py", line 199, in doRead 2012-02-10 01:36:49.850625 > rval = self.protocol.dataReceived(data) 2012-02-10 01:36:49.850957 > File "/home/user/p2pool/p2pool/p2p.py", line 62, in <lambda> 2012-02-10 01:36:49.851275 > self.dataReceived = lambda data: (self.timeout_delayed.reset(100) if not self.timeout_delayed.called else None, old_dataReceived(data))[0] 2012-02-10 01:36:49.851738 > File "/home/user/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker 2012-02-10 01:36:49.852078 > wants = receiver.send(buf.get(wants)) 2012-02-10 01:36:49.852455 > File "/home/user/p2pool/p2pool/bitcoin/p2p.py", line 64, in dataReceiver 2012-02-10 01:36:49.852779 > self.packetReceived(command, payload2) 2012-02-10 01:36:49.853155 > File "/home/user/p2pool/p2pool/p2p.py", line 74, in packetReceived 2012-02-10 01:36:49.853482 > bitcoin_p2p.BaseProtocol.packetReceived(self, command, payload2) 2012-02-10 01:36:49.853837 > File "/home/user/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived 2012-02-10 01:36:49.854172 > handler(**payload2) 2012-02-10 01:36:49.854487 > File "/home/user/p2pool/p2pool/p2p.py", line 206, in handle_shares 2012-02-10 01:36:49.854910 > self.node.handle_shares(res, self) 2012-02-10 01:36:49.855246 > File "/home/user/p2pool/p2pool/main.py", line 269, in handle_shares 2012-02-10 01:36:49.855614 > set_real_work2() 2012-02-10 01:36:49.855933 > File "/home/user/p2pool/p2pool/main.py", line 184, in set_real_work2 2012-02-10 01:36:49.856295 > best, desired = tracker.think(get_height_rel_highest, pre_current_work.value['previous_block'], pre_current_work.value['bits']) 2012-02-10 01:36:49.856639 > File "/home/user/p2pool/p2pool/data.py", line 289, in think 2012-02-10 01:36:49.856960 > if self.attempt_verify(share): 2012-02-10 01:36:49.857331 > File "/home/user/p2pool/p2pool/data.py", line 268, in attempt_verify 2012-02-10 01:36:49.857652 > share.check(self) 2012-02-10 01:36:49.858012 > File "/home/user/p2pool/p2pool/data.py", line 133, in check 2012-02-10 01:36:49.858425 > share_info, gentx = generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.net) 2012-02-10 01:36:49.858811 > File "/home/user/p2pool/p2pool/data.py", line 209, in generate_transaction 2012-02-10 01:36:49.859152 > other_weights, other_total_weight, other_donation_weight = tracker.get_cumulative_weights(previous_share_hash, min(height, chain_length), 65535*max(0, max_att - this_att)) 2012-02-10 01:36:49.859488 > File "/home/user/p2pool/p2pool/util/skiplist.py", line 55, in __call__ 2012-02-10 01:36:49.859865 > updates[x] = updates[x][0], self.combine_deltas(updates[x][1], delta) if updates[x][1] is not None else delta 2012-02-10 01:36:49.860201 > File "/home/user/p2pool/p2pool/skiplists.py", line 13, in combine_deltas 2012-02-10 01:36:49.860570 > return share_count1 + share_count2, math.add_dicts(weights1, weights2), total_weight1 + total_weight2, total_donation_weight1 + total_donation_weight2 2012-02-10 01:36:49.860911 > File "/home/user/p2pool/p2pool/util/math.py", line 64, in add_dicts 2012-02-10 01:36:49.861269 > res[k] = res.get(k, 0) + v 2012-02-10 01:36:49.861655 > File "/home/user/p2pool/p2pool/main.py", line 840, in <lambda> 2012-02-10 01:36:49.862016 > sys.stderr.write, 'Watchdog timer went off at:\n' + ''.join(traceback.format_stack()) 2012-02-10 01:36:49.863502 > ---> LOST CONTACT WITH BITCOIND for 1.6 minutes! Check that it isn't frozen or dead! <---
|
BitCoin address: 1E25UJEbifEejpYh117APmjYSXdLiJUCAZ
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
February 10, 2012, 01:09:56 AM |
|
I have multiple interfaces on a host and I want run_p2pool.py to listen on 9.8.7.6:9332 How do I do this?
p2pool interface: --p2pool-port PORT use port PORT to listen for connections (forward this port from your router!) (default: bitcoin:9333, litecoin:9338) -n ADDR[:PORT], --p2pool-node ADDR[:PORT] connect to existing p2pool node at ADDR listening on port PORT (defaults to default p2pool P2P port) in addition to builtin addresses
worker interface: -w PORT, --worker-port PORT listen on PORT for RPC connections from miners (default: bitcoin:9332, litecoin:9327)
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
Wandering Albatross
Member
Offline
Activity: 70
Merit: 10
|
|
February 10, 2012, 02:02:41 AM |
|
p2pool interface: --p2pool-port PORT use port PORT to listen for connections (forward this port from your router!) (default: bitcoin:9333, litecoin:9338) -n ADDR[:PORT], --p2pool-node ADDR[:PORT] connect to existing p2pool node at ADDR listening on port PORT (defaults to default p2pool P2P port) in addition to builtin addresses
worker interface: -w PORT, --worker-port PORT listen on PORT for RPC connections from miners (default: bitcoin:9332, litecoin:9327) I am probably missing some detail. I've read the manual, etc. "connect to existing p2pool node at ADDR listening on" That's not clear to me. It says to connect to an existing p2pool node. I'm running p2pool to listen for my miners not to connect to an existing node.
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
February 10, 2012, 02:06:18 AM |
|
That's not clear to me. It says to connect to an existing p2pool node. I'm running p2pool to listen for my miners not to connect to an existing node.
worker interface: -w PORT, --worker-port PORT listen on PORT for RPC connections from miners (default: bitcoin:9332, litecoin:9327) No...
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
TurdHurdur
|
|
February 10, 2012, 02:23:36 AM |
|
gnar1ta$, it helps if you know what you're talking about.
Wandering Albatross, line 764 of p2pool/main.py has a reactor.listenTCP where you can provide an interface argument, but doesn't. So, wait on forrestv to code the means of changing that via argument or take the initiative.
|
|
|
|
gnar1ta$
Donator
Hero Member
Offline
Activity: 798
Merit: 500
|
|
February 10, 2012, 02:33:27 AM |
|
gnar1ta$, it helps if you know what you're talking about.
Wandering Albatross, line 764 of p2pool/main.py has a reactor.listenTCP where you can provide an interface argument, but doesn't. So, wait on forrestv to code the means of changing that via argument or take the initiative.
Hence the What is it he is trying to do?
|
Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
|
|
|
Wandering Albatross
Member
Offline
Activity: 70
Merit: 10
|
|
February 10, 2012, 02:34:09 AM |
|
line 764 of p2pool/main.py has a reactor.listenTCP where you can provide an interface argument, but doesn't. So, wait on forrestv to code the means of changing that via argument or take the initiative.
Thanks will look, I'm not very pythonesque. Pythonista? Pythonovite? Pythonian? Pythoner?
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
Proofer
Member
Offline
Activity: 266
Merit: 36
|
|
February 10, 2012, 02:59:03 AM |
|
... New work for worker! Difficulty: 2.785534 Share difficulty: 424.797691 ...
I think I know what "Share difficulty" is. What's "Difficulty"? Is that the miner's criterion for a "mini-share" to pass to p2pool?
|
|
|
|
twmz
|
|
February 10, 2012, 03:09:17 AM |
|
... New work for worker! Difficulty: 2.785534 Share difficulty: 424.797691 ...
I think I know what "Share difficulty" is. What's "Difficulty"? Is that the miner's criterion for a "mini-share" to pass to p2pool? That is the difficulty of the so-called pseudo share. P2Pool lies to your miner and tells it to solve an easy share so that your miner finds shares more often than once every 20 minutes (as would happen with the real share difficulty). P2Pool then effectively ignores (except to calculate stats) any submitted shares that are not good enough for the real share difficulty. It was done so that you can tell more quickly if your miners are misbehaving.
|
Was I helpful? 1 TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs WoT, GPGBitrated user: ewal.
|
|
|
|