Closed chargr closed 7 years ago
I think something like this should be safe to cut down on some logging.
diff --git a/p2pool/dash/p2p.py b/p2pool/dash/p2p.py index eecbb54..8a04e12 100644 --- a/p2pool/dash/p2p.py +++ b/p2pool/dash/p2p.py @@ -76,7 +76,8 @@ class Protocol(p2protocol.Protocol): elif inv['type'] == 'block': self.factory.new_block.happened(inv['hash']) else: - print 'Unneeded inv type', inv + if p2pool.DEBUG: + print 'Unneeded inv type', inv
yes, we can add it pelase, create pull request
PR #24 already have this changes :)
original issue was fixed in #19 , closing..
I think something like this should be safe to cut down on some logging.