Revert "changed shares requested from 501 to 50"
authorForrest Voight <forrest@forre.st>
Thu, 29 Nov 2012 05:13:56 +0000 (00:13 -0500)
committerForrest Voight <forrest@forre.st>
Thu, 29 Nov 2012 05:13:56 +0000 (00:13 -0500)
This reverts commit 67a76e69e8eb3ad0e97364d1f9315c3c29d01487.

p2pool/node.py

index 35f0dc1..dde48ea 100644 (file)
@@ -109,7 +109,7 @@ class P2PNode(p2p.Node):
                 try:
                     shares = yield peer.get_shares(
                         hashes=[share_hash],
-                        parents=49,
+                        parents=500,
                         stops=list(set(self.node.tracker.heads) | set(
                             self.node.tracker.get_nth_parent_hash(head, min(max(0, self.node.tracker.get_height_and_last(head)[0] - 1), 10)) for head in self.node.tracker.heads
                         ))[:100],