git://git.novaco.in
/
p2pool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
p2p connections now have a 100 second timeout
[p2pool.git]
/
p2pool
/
bitcoin
/
p2p.py
diff --git
a/p2pool/bitcoin/p2p.py
b/p2pool/bitcoin/p2p.py
index
e6788ec
..
d54a870
100644
(file)
--- a/
p2pool/bitcoin/p2p.py
+++ b/
p2pool/bitcoin/p2p.py
@@
-70,6
+70,11
@@
class BaseProtocol(protocol.Protocol):
print 'RECV', command, repr(payload2)[:100]
log.err(None, 'Error handling message: (see RECV line)')
continue
+
+ self.gotPacket()
+
+ def gotPacket(self):
+ pass
def sendPacket(self, command, payload2):
if len(command) >= 12: