Show Posts
|
Pages: [1]
|
Hello,
Quick question.
It looks like one of my miners solved a block recently. I was wondering if there was a way to determine which one it was?
Thanks! -alan
|
|
|
I ran it for a while but I went back to BTCGuild.
You have to run a full blown bitcoind node. Latences between components (bitcoind, p2pool, internet, miner) have to reduced to a bare minimum. High latences lead to large numbers of orphans which in turn kills your profits. Other more efficient nodes will win more shares than you. I liked the idea of it, but I could not get my efficiences in order to make it make sense. So I took my 580Ghs back to BTCGuild.
|
|
|
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.
Downloaded latest: git clone https://github.com/forrestv/p2pool.gitBeen up for about 16 hours now. Had one incident about an hour in, but it's been clean since then. Thanks! -alan
|
|
|
I am getting this spam. File corruption or something? 2014-01-19 19:22:51.214727 > File "/home/miner1/p2pool/p2pool/util/memoize.py", line 28, in b 2014-01-19 19:22:51.214885 > res = f(*args) 2014-01-19 19:22:51.215046 > File "/home/miner1/p2pool/p2pool/util/skiplist.py", line 21, in __call__ 2014-01-19 19:22:51.215200 > self.skips[pos] = math.geometric(self.p), [(self.previous(pos), self.get_delta(pos))] 2014-01-19 19:22:51.215357 > File "/home/miner1/p2pool/p2pool/util/forest.py", line 18, in previous 2014-01-19 19:22:51.215510 > return self.tracker._delta_type.from_element(self.tracker.items[element]).tail 2014-01-19 19:22:51.215695 > exceptions.KeyError: None 2014-01-19 19:22:51.226186 > Share check failed: 2014-01-19 19:22:51.226606 > Traceback (most recent call last): 2014-01-19 19:22:51.226840 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 233, in it 2014-01-19 19:22:51.227076 > res = gen.send(cur) # external code is run here 2014-01-19 19:22:51.227285 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 284, in _worker 2014-01-19 19:22:51.227495 > self.func(*self.args, **self.kwargs) 2014-01-19 19:22:51.227727 > File "/home/miner1/p2pool/p2pool/node.py", line 304, in clean_tracker 2014-01-19 19:22:51.227955 > best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value) 2014-01-19 19:22:51.228188 > File "/home/miner1/p2pool/p2pool/data.py", line 452, in think 2014-01-19 19:22:51.228440 > if self.attempt_verify(share): 2014-01-19 19:22:51.228659 > --- <exception caught here> --- 2014-01-19 19:22:51.228866 > File "/home/miner1/p2pool/p2pool/data.py", line 431, in attempt_verify 2014-01-19 19:22:51.229093 > share.check(self) 2014-01-19 19:22:51.229293 > File "/home/miner1/p2pool/p2pool/data.py", line 317, in check 2014-01-19 19:22:51.229516 > share_info, gentx, other_tx_hashes2, get_share = self.generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.share_info['bits'].target, self.contents['ref_merkle_link'], [(h, None) for h in other_tx_hashes], self.net, last_txout_nonce=self.contents['last_txout_nonce']) 2014-01-19 19:22:51.229820 > File "/home/miner1/p2pool/p2pool/data.py", line 162, in generate_transaction 2014-01-19 19:22:51.230052 > 65535*net.NEW_SPREAD*bitcoin_data.target_to_average_attempts(block_target), 2014-01-19 19:22:51.230262 > File "/home/miner1/p2pool/p2pool/util/memoize.py", line 28, in b 2014-01-19 19:22:51.230498 > res = f(*args) 2014-01-19 19:22:51.230725 > File "/home/miner1/p2pool/p2pool/util/skiplist.py", line 21, in __call__ 2014-01-19 19:22:51.230955 > self.skips[pos] = math.geometric(self.p), [(self.previous(pos), self.get_delta(pos))] 2014-01-19 19:22:51.231171 > File "/home/miner1/p2pool/p2pool/util/forest.py", line 18, in previous 2014-01-19 19:22:51.231380 > return self.tracker._delta_type.from_element(self.tracker.items[element]).tail 2014-01-19 19:22:51.231589 > exceptions.KeyError: None 2014-01-19 19:22:51.241558 > Share check failed: 2014-01-19 19:22:51.241947 > Traceback (most recent call last): 2014-01-19 19:22:51.242221 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 233, in it 2014-01-19 19:22:51.242466 > res = gen.send(cur) # external code is run here 2014-01-19 19:22:51.242717 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 284, in _worker 2014-01-19 19:22:51.242987 > self.func(*self.args, **self.kwargs) 2014-01-19 19:22:51.243234 > File "/home/miner1/p2pool/p2pool/node.py", line 304, in clean_tracker 2014-01-19 19:22:51.243521 > best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value) 2014-01-19 19:22:51.243855 > File "/home/miner1/p2pool/p2pool/data.py", line 452, in think 2014-01-19 19:22:51.244122 > if self.attempt_verify(share): 2014-01-19 19:22:51.244400 > --- <exception caught here> --- 2014-01-19 19:22:51.244653 > File "/home/miner1/p2pool/p2pool/data.py", line 431, in attempt_verify 2014-01-19 19:22:51.244937 > share.check(self) 2014-01-19 19:22:51.245229 > File "/home/miner1/p2pool/p2pool/data.py", line 317, in check 2014-01-19 19:22:51.245493 > share_info, gentx, other_tx_hashes2, get_share = self.generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.share_info['bits'].target, self.contents['ref_merkle_link'], [(h, None) for h in other_tx_hashes], self.net, last_txout_nonce=self.contents['last_txout_nonce']) 2014-01-19 19:22:51.245820 > File "/home/miner1/p2pool/p2pool/data.py", line 162, in generate_transaction 2014-01-19 19:22:51.246085 > 65535*net.NEW_SPREAD*bitcoin_data.target_to_average_attempts(block_target), 2014-01-19 19:22:51.246394 > File "/home/miner1/p2pool/p2pool/util/memoize.py", line 28, in b 2014-01-19 19:22:51.246914 > res = f(*args) 2014-01-19 19:22:51.247158 > File "/home/miner1/p2pool/p2pool/util/skiplist.py", line 21, in __call__ 2014-01-19 19:22:51.247407 > self.skips[pos] = math.geometric(self.p), [(self.previous(pos), self.get_delta(pos))] 2014-01-19 19:22:51.248801 > File "/home/miner1/p2pool/p2pool/util/forest.py", line 18, in previous 2014-01-19 19:22:51.254732 > return self.tracker._delta_type.from_element(self.tracker.items[element]).tail 2014-01-19 19:22:51.255015 > exceptions.KeyError: None 2014-01-19 19:22:51.269010 > Share check failed: 2014-01-19 19:22:51.272994 > Traceback (most recent call last): 2014-01-19 19:22:51.273263 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 233, in it 2014-01-19 19:22:51.273532 > res = gen.send(cur) # external code is run here 2014-01-19 19:22:51.273801 > File "/home/miner1/p2pool/p2pool/util/deferral.py", line 284, in _worker 2014-01-19 19:22:51.274067 > self.func(*self.args, **self.kwargs) 2014-01-19 19:22:51.274313 > File "/home/miner1/p2pool/p2pool/node.py", line 304, in clean_tracker 2014-01-19 19:22:51.274594 > best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value) 2014-01-19 19:22:51.274892 > File "/home/miner1/p2pool/p2pool/data.py", line 452, in think 2014-01-19 19:22:51.275147 > if self.attempt_verify(share): 2014-01-19 19:22:51.275400 > --- <exception caught here> --- 2014-01-19 19:22:51.275682 > File "/home/miner1/p2pool/p2pool/data.py", line 431, in attempt_verify 2014-01-19 19:22:51.275944 > share.check(self) 2014-01-19 19:22:51.276187 > File "/home/miner1/p2pool/p2pool/data.py", line 317, in check 2014-01-19 19:22:51.276442 > share_info, gentx, other_tx_hashes2, get_share = self.generate_transaction(tracker, self.share_info['share_data'], self.header['bits'].target, self.share_info['timestamp'], self.share_info['bits'].target, self.contents['ref_merkle_link'], [(h, None) for h in other_tx_hashes], self.net, last_txout_nonce=self.contents['last_txout_nonce']) 2014-01-19 19:22:51.276791 > File "/home/miner1/p2pool/p2pool/data.py", line 162, in generate_transaction 2014-01-19 19:22:51.277054 > 65535*net.NEW_SPREAD*bitcoin_data.target_to_average_attempts(block_target), 2014-01-19 19:22:51.277306 > File "/home/miner1/p2pool/p2pool/util/memoize.py", line 28, in b 2014-01-19 19:22:51.277561 > res = f(*args) 2014-01-19 19:22:51.277820 > File "/home/miner1/p2pool/p2pool/util/skiplist.py", line 21, in __call__ 2014-01-19 19:22:51.278084 > self.skips[pos] = math.geometric(self.p), [(self.previous(pos), self.get_delta(pos))] 2014-01-19 19:22:51.278357 > File "/home/miner1/p2pool/p2pool/util/forest.py", line 18, in previous 2014-01-19 19:22:51.278616 > return self.tracker._delta_type.from_element(self.tracker.items[element]).tail 2014-01-19 19:22:51.278884 > exceptions.KeyError: None
I am seeing same. 2014-01-19 12:34:09.334941 > --- <exception caught here> --- 2014-01-19 12:34:09.334967 > File "/Users/ageo/src/p2pool/p2pool/data.py", line 431, in attempt_verify 2014-01-19 12:34:09.334994 > share.check(self) 2014-01-19 12:34:09.335020 > File "/Users/ageo/src/p2pool/p2pool/data.py", line 320, in check 2014-01-19 12:34:09.335047 > raise ValueError('share_info invalid') 2014-01-19 12:34:09.335074 > exceptions.ValueError: share_info invalid 2014-01-19 12:34:09.359392 > Share check failed: 2014-01-19 12:34:09.359472 > Traceback (most recent call last): 2014-01-19 12:34:09.359516 > File "/Users/ageo/src/p2pool/p2pool/util/deferral.py", line 233, in it 2014-01-19 12:34:09.359555 > res = gen.send(cur) # external code is run here 2014-01-19 12:34:09.359603 > File "/Users/ageo/src/p2pool/p2pool/util/deferral.py", line 284, in _worker 2014-01-19 12:34:09.359652 > self.func(*self.args, **self.kwargs) 2014-01-19 12:34:09.359789 > File "/Users/ageo/src/p2pool/p2pool/node.py", line 304, in clean_tracker 2014-01-19 12:34:09.359856 > best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value) 2014-01-19 12:34:09.359916 > File "/Users/ageo/src/p2pool/p2pool/data.py", line 452, in think
In periods 5 to 10 minutes. bfgminer fails over to secondary pool then returns once p2pool errors subside. Any ideas as to cause? Thanks, -alan EDIT: It's actually happening again as I type. P2pool filled with the errors above and miners failing over. 1:19PM PST. Anybody else seeing same? EDIT 2: Looks like something local. n' + ''.join(traceback.format_stack()) 2014-01-19 13:16:21.051978 > ######################################## 2014-01-19 13:16:21.052079 > >>> Warning: LOST CONTACT WITH BITCOIND for 4.6 minutes! Check that it isn't frozen or dead! 2014-01-19 13:16:21.052118 > ######################################## 2014-01-19 13:16:21.052153 P2Pool: 17395 shares in chain (17600 verified/20953 total) Peers: 0 (0 incoming)
|
|
|
How do I get the p2pool pages for /users/ /local_stats/ etc looking pleasing instead of lines of word wrapped text?
Also I have the latest version installed and /graphs/ doesn't work telling me "no such resource" is this normal?
Thanks
https://github.com/hardcpp/P2PoolExtendedFrontEndSorry when it says put these files in your web-static folder, does it just mean the files or do I need to download the folders too? (just wondering so I am not doing something tiwce) $ cd p2pool $ mv web-static web-static.orig $ unzip P2PoolExtendedFrontEnd.zip $ mv P2PoolExtendedFrontEnd web-static from browser hit you 9332 port, you should see improved UI. -alan
|
|
|
How do I get the p2pool pages for /users/ /local_stats/ etc looking pleasing instead of lines of word wrapped text?
Also I have the latest version installed and /graphs/ doesn't work telling me "no such resource" is this normal?
Thanks
https://github.com/hardcpp/P2PoolExtendedFrontEnd
|
|
|
I pay 3% at BTC Guild. I get paid for orphans, I get merged mining with NMC (impossible on p2pool solo), extremely low variance, 0.2% stales, and transaction fees.
You're going to have a hard time convincing me p2pool is better than that.
M
I don't want to convince you, because we value the benefit of mining differently. Especially the decentralization and variance part. I'm not following how you value increased variance. Most people consider variance to be a bad thing. Decentralization I can understand and agree with. If I had the hashpower so that the current almost 1 million share difficulty didn't cause huge variance (or p2pool was changed so share difficulty didn't effectively lock out low end miners), and I could run p2pool locally, I would be a p2pool miner (again) as well. Using a public node defeats the whole purpose of decentralization. M More hashpower is never going to reduce the variance compared to other pools. You may get more shares on p2pool with more hashpower, but you will also get more shares on the other pools with same amount of hashes. So I imagine you would still complain about "variance" even if you had more hashpower. Shares on p2pool are far more valuable than other pools. So in the long term, all other things being equal, it should be a wash, luck playing a big part. The p2pool difficulty is reflected in the time it takes to generate a p2pool block. The target being 10 seconds I believe. The only way to reduce difficulty is to reduce this target time of 10 seconds (or reduce the total hashpower in the pool). Reducing target time would have other consequences that I'm not sure you would be pleased with. The effects of latency are already high. Reducing target time would magnify those, if I understand correctly. The sensitivity to latencies maybe the underlying cause behind your earlier comment, "p2pool can not be reliably run on a home DSL connection". Which is not true, at least for me. Anyhoo, sounds to me like having a constant trickle of payout no matter how small, is important to you. I would suggest BTCGiuld is the right place for your hashes.
|
|
|
I was wondering how to get on this list? I thought it might auto-populate but that doesn't seem to happen. http://p2pool-nodes.info/Wanted to add: 199.83.221.146:9332 Thanks, -alan Do you have the ports forwarded? It can take a bit for it to show up on the site. Yes it's forwarded, http://199.83.221.146:9332/static/ should be accessible and I am getting inbound p2pool traffic.
|
|
|
I was wondering how to get on this list? I thought it might auto-populate but that doesn't seem to happen. http://p2pool-nodes.info/Wanted to add: 199.83.221.146:9332 Thanks, -alan
|
|
|
Whatever "magic" happened for you it didn't happen for me. I've had P2PoolExtendedFrontEnd installed for a while and still seeing these timeout errors.
2014-01-17 08:49:06.336406 > Unhandled error in Deferred: 2014-01-17 08:49:06.336631 > Unhandled Error 2014-01-17 08:49:06.336702 > Traceback (most recent call last): 2014-01-17 08:49:06.336760 > Failure: twisted.internet.defer.TimeoutError: in ReplyMatcher
What does "ReplyMatcher" do?
ReplyMatcher matches replies to messages sent to bitcoind with responses. It's only used for the get_block_header message, and this error means that bitcoind didn't reply ... either it timed out or bitcoind doesn't have the header in question. So it could suggest that your Bitcoin node is slow or not up-to-date.. but seeing these rarely is normal. I'm seeing 2 or 3 of these timeouts a minute consistently. I assume that doesn't qualify as rarely. I'm running Bitcoin-Qt (v0.8.6-beta I believe thats the latest, sum on mine and the latest download are same) and p2pool on a Mac Mini. 8333, 9333 and 9332 ports are forwarded. Miners are on a RaspberryPi running bfgminer. Network is WiFi. My GetBlockTemplate latency mean for the last hour is .197s. Anything specific I should look at? Thanks! Your wifi......ditch it. Which link? Miners to p2pool bitcoind to world I have run the miners locally on the Mac Mini and both bitcoind and p2pool, that did seem to make a difference on the timeouts. From forrestv response, the ReplyMatcher timeouts are between bitcoind and p2pool. So WiFi should not effect, I guess. My latency and efficiency seem within norms so may be the ReplyMatcher timeouts are just noise.
|
|
|
Whatever "magic" happened for you it didn't happen for me. I've had P2PoolExtendedFrontEnd installed for a while and still seeing these timeout errors.
2014-01-17 08:49:06.336406 > Unhandled error in Deferred: 2014-01-17 08:49:06.336631 > Unhandled Error 2014-01-17 08:49:06.336702 > Traceback (most recent call last): 2014-01-17 08:49:06.336760 > Failure: twisted.internet.defer.TimeoutError: in ReplyMatcher
What does "ReplyMatcher" do?
ReplyMatcher matches replies to messages sent to bitcoind with responses. It's only used for the get_block_header message, and this error means that bitcoind didn't reply ... either it timed out or bitcoind doesn't have the header in question. So it could suggest that your Bitcoin node is slow or not up-to-date.. but seeing these rarely is normal. I'm seeing 2 or 3 of these timeouts a minute consistently. I assume that doesn't qualify as rarely. I'm running Bitcoin-Qt (v0.8.6-beta I believe thats the latest, sum on mine and the latest download are same) and p2pool on a Mac Mini. 8333, 9333 and 9332 ports are forwarded. Miners are on a RaspberryPi running bfgminer. Network is WiFi. My GetBlockTemplate latency mean for the last hour is .197s. Anything specific I should look at? Thanks!
|
|
|
I get these quite often. Is this from the miner connections or the Bitcoin-Qt connection? Is it something I should worry about?
2014-01-16 18:59:38.826198 > Unhandled error in Deferred: 2014-01-16 18:59:38.826283 > Unhandled Error 2014-01-16 18:59:38.826316 > Traceback (most recent call last): 2014-01-16 18:59:38.826344 > Failure: twisted.internet.defer.TimeoutError: in ReplyMatcher
Thanks!
https://github.com/blixnood/P2PoolExtendedFrontEnd fixes this. I dont know why .. it just does. Whatever "magic" happened for you it didn't happen for me. I've had P2PoolExtendedFrontEnd installed for a while and still seeing these timeout errors. 2014-01-17 08:49:06.336406 > Unhandled error in Deferred: 2014-01-17 08:49:06.336631 > Unhandled Error 2014-01-17 08:49:06.336702 > Traceback (most recent call last): 2014-01-17 08:49:06.336760 > Failure: twisted.internet.defer.TimeoutError: in ReplyMatcher What does "ReplyMatcher" do?
|
|
|
I get these quite often. Is this from the miner connections or the Bitcoin-Qt connection? Is it something I should worry about?
2014-01-16 18:59:38.826198 > Unhandled error in Deferred: 2014-01-16 18:59:38.826283 > Unhandled Error 2014-01-16 18:59:38.826316 > Traceback (most recent call last): 2014-01-16 18:59:38.826344 > Failure: twisted.internet.defer.TimeoutError: in ReplyMatcher
Thanks!
|
|
|
Hello,
I've been mining on P2Pool for about 4 days now. Running my own node with about 120 GH/s. The recent 52 hour stretch of bad luck was a bit tough, but I think I'll stick with it a while.
I had a few questions for those that have been at this a while.
1. I wanted to know if there is a way to browse the p2pool blockchain similar to way you can browse the bitcoin blockchain with blockchain.info or similar. Basically I'd like to monitor the shares that are being posted in the p2pool chain. I see some chain dat files in the p2pool data directory, perhaps there is a tool of some sort?
2. I was wondering if there is a way to tell the max difficulty a share satisfied. Not the required difficulty to make the block but the max difficulty the hash would have satisfied. For example, I see in p2pool I made a share and the difficulty was lets say 850K, in bfgminer I see my "best share (BS)" is 955M. Which if I understand correctly means I could have mined a bitcoin block not to long ago. I was wondering if you could determine the "best difficulty" for each share?
Thanks, -alan
|
|
|
I wanted to know if there is a way to browse the p2pool blockchain similar to way you can browse the bitcoin blockchain with blockchain.info or similar. Basically I'd like to monitor the shares that are being posted in the p2pool chain.
EDIT: Also, I was wondering if there is a way to tell the max difficulty a share satisfied. Not the required difficulty to make the block but the max difficulty the hash would have satisfied. For example, I see in p2pool I made a share and the difficulty was lets say 850K, in bfgminer I see my "best share (BS)" is 955M. I was wondering if you could see the "best difficulty" for each share?
Thanks! -alan
|
|
|
|