From 1664396b0b23dd71edc811e0157b4cc98a686d72 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Wed, 3 Oct 2012 20:15:48 -0400 Subject: [PATCH] removed now-unused getshares p2p message --- p2pool/p2p.py | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 0c3f519..8a184af 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -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)), ]) -- 1.7.1