X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=p2pool%2Fp2p.py;h=e228d05f25c963effba46ce0c6dd8bce8f68a071;hb=727db886375950b36c3c1a741815f6ed16aa382e;hp=6ccc46cefa6f4327067d2f2d192829d7181b3d64;hpb=7bf9752d97c844daa2fa3dd8aab710acf9187e60;p=p2pool.git diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 6ccc46c..e228d05 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -356,10 +356,10 @@ class Protocol(p2protocol.Protocol): for cache in self.known_txs_cache.itervalues(): if tx_hash in cache: tx = cache[tx_hash] - print 'Transaction rescued from peer latency cache!' + print 'Transaction %064x rescued from peer latency cache!' % (tx_hash,) break else: - print >>sys.stderr, 'Peer referenced unknown transaction, disconnecting' + print >>sys.stderr, 'Peer referenced unknown transaction %064x, disconnecting' % (tx_hash,) self.transport.loseConnection() return @@ -375,7 +375,7 @@ class Protocol(p2protocol.Protocol): return if tx_hash in self.node.known_txs_var.value and not warned: - print 'Peer sent entire transaction that was already received' + print 'Peer sent entire transaction %064x that was already received' % (tx_hash,) warned = True self.remembered_txs[tx_hash] = tx