changed shares requested from 501 to 50
authorForrest Voight <forrest@forre.st>
Mon, 26 Nov 2012 19:57:17 +0000 (14:57 -0500)
committerForrest Voight <forrest@forre.st>
Mon, 26 Nov 2012 19:57:17 +0000 (14:57 -0500)
p2pool/node.py

index aaee6ef..a31dece 100644 (file)
@@ -109,7 +109,7 @@ class P2PNode(p2p.Node):
                 try:
                     shares = yield peer.get_shares(
                         hashes=[share_hash],
-                        parents=500,
+                        parents=49,
                         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],