Author

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

full member
Activity: 216
Merit: 100
Don't let the nam-shub in your operating system.
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Do I need to restart the p2pool or just a git pull should work?

Thank you.

go into p2pool directory and do a git pull then restart

newbie
Activity: 18
Merit: 0
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Do I need to restart the p2pool or just a git pull should work?

Thank you.
hero member
Activity: 630
Merit: 501
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Sorry when you say "try the most recent commit" what exactly do you mean by that?

Update the software or something else?

Something else on github

Can you be any more vague than that? Smiley

You need to compile it from the latest commit

Where do I find the info on doing this?
legendary
Activity: 2912
Merit: 1060
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Sorry when you say "try the most recent commit" what exactly do you mean by that?

Update the software or something else?

Something else on github

Can you be any more vague than that? Smiley

You need to compile it from the latest commit
hero member
Activity: 630
Merit: 501
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Sorry when you say "try the most recent commit" what exactly do you mean by that?

Update the software or something else?

Something else on github

Can you be any more vague than that? Smiley
member
Activity: 94
Merit: 10
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.
Thanks, giving it a try now.
legendary
Activity: 1540
Merit: 1001
I just remembered the name.  Was p2pmining. 

https://bitcointalksearch.org/topic/offlinep2pminingcom-hybrid-p2pool-no-fee-btcnmcixci0cdevltc-66202

There wasn't any risk to the pool operator, to my knowledge.  The basic principle was the subpool had it's own share chain (or equiv - could manage with a properly designed database) to track the p2pmining users.  Each share was also submitted to the real chain under the p2pmining address.  When a payout occurred, it was divided among the users in the subpool based on their piece of the subchain.  This also allowed merged mining to occur at a sub pool level, instead of basically solo, which is what p2pool is now.

The downside, of course, was it was a mini centralized pool, subject to possible pool operator abuse and hacking.  Hacking is what brought it down..

He's serving diff 1 shares though. No vardiff, how does his server not get spammed to death?

Back then large miners were < 100 GH/s.

M
member
Activity: 70
Merit: 10
I just remembered the name.  Was p2pmining. 

https://bitcointalksearch.org/topic/offlinep2pminingcom-hybrid-p2pool-no-fee-btcnmcixci0cdevltc-66202

There wasn't any risk to the pool operator, to my knowledge.  The basic principle was the subpool had it's own share chain (or equiv - could manage with a properly designed database) to track the p2pmining users.  Each share was also submitted to the real chain under the p2pmining address.  When a payout occurred, it was divided among the users in the subpool based on their piece of the subchain.  This also allowed merged mining to occur at a sub pool level, instead of basically solo, which is what p2pool is now.

The downside, of course, was it was a mini centralized pool, subject to possible pool operator abuse and hacking.  Hacking is what brought it down..

He's serving diff 1 shares though. No vardiff, how does his server not get spammed to death?
hero member
Activity: 630
Merit: 501
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

So should I block port 9333 for now until the issue is fixed?

legendary
Activity: 2912
Merit: 1060
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Sorry when you say "try the most recent commit" what exactly do you mean by that?

Update the software or something else?

Something else on github
hero member
Activity: 630
Merit: 501
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Sorry when you say "try the most recent commit" what exactly do you mean by that?

Update the software or something else?
hero member
Activity: 516
Merit: 643
Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.
legendary
Activity: 3430
Merit: 3080
I started getting the issue around 24 hours ago. Glad I can rule out some issue with my rig, anyways (set this afternoon aside to investigate, only just looked up to check in with the forum).

Godspeed, Forrest
legendary
Activity: 1232
Merit: 1094
Just as I suspected. I had my P2Pool running yesterday evening for the first time and didn't have port port 9333 open on my firewall so there was no incoming connections and it ran fine until I opened port 9333. Looking forward to the perm fix. Smiley

Right, if everyone refuses incoming connections, then the p2p system cannot work.
hero member
Activity: 630
Merit: 501
There is currently a problem and a fix is being worked on. For now, refusing incoming connections (--max-conns 0) is a temporary solution. Expect more news in the next half hour.

Just as I suspected. I had my P2Pool running yesterday evening for the first time and didn't have port port 9333 open on my firewall so there was no incoming connections and it ran fine until I opened port 9333. Looking forward to the perm fix. Smiley

hero member
Activity: 516
Merit: 643
There is currently a problem and a fix is being worked on. For now, refusing incoming connections (--max-conns 0) is a temporary solution. Expect more news in the next half hour.
newbie
Activity: 16
Merit: 0
member
Activity: 94
Merit: 10
I have the latest version off of git and the last 24 hours have been really rocky:
http://192.30.165.92:9332/static/graphs.html?Day

Rebooting my VPS (where I host the p2pool node to save my home router from being overloaded) and my miners (along with the laptop I connect to my miners) doesn't seem to have alleviated the situation, I keep getting periodic losses in connectivity.

I've alerted the VPS provider but it seems like there may be some madness from the recent p2pool update according to this thread.
full member
Activity: 216
Merit: 100
Don't let the nam-shub in your operating system.
What does this mean?

Quote
Punishing share for 'Block-stale detected! height(1118c0efab8b0d8005a2995d3bf2c94d3823c91859cd30799) < height(2bee57eb6cf6965b98b6f34b8118b8ad863c2dc039618f41) or 19026666 != 19026666'! Jumping from 0b46a971 to 974819b9!

Is to cover "late" shares?

If I'm not mistaken I believe it might be what's discussed in this issue: https://github.com/forrestv/p2pool/issues/80

legendary
Activity: 1232
Merit: 1094
I am getting this spam.  File corruption or something?

Code:
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 > --- ---
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 > --- ---
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 > --- ---
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

Jump to: