removed now-unused getshares p2p message
authorForrest Voight <forrest@forre.st>
Thu, 4 Oct 2012 00:15:48 +0000 (20:15 -0400)
committerForrest Voight <forrest@forre.st>
Thu, 11 Oct 2012 19:42:39 +0000 (15:42 -0400)
p2pool/p2p.py

index 0c3f519..8a184af 100644 (file)
@@ -197,14 +197,6 @@ class Protocol(p2protocol.Protocol):
             self.node.get_good_peers(count)
         ])
     
-    message_getshares = pack.ComposedType([
-        ('hashes', pack.ListType(pack.IntType(256))),
-        ('parents', pack.VarIntType()),
-        ('stops', pack.ListType(pack.IntType(256))),
-    ])
-    def handle_getshares(self, hashes, parents, stops):
-        self.sendShares(self.node.handle_get_shares(hashes, parents, stops, self))
-    
     message_shares = pack.ComposedType([
         ('shares', pack.ListType(p2pool_data.share_type)),
     ])