Browse Source

Add debug log

master
Neil Booth 8 years ago
parent
commit
11558fd9d2
  1. 1
      server/protocol.py

1
server/protocol.py

@ -317,6 +317,7 @@ class ServerManager(LoggedClass):
def notify(self, height, touched): def notify(self, height, touched):
'''Notify sessions about height changes and touched addresses.''' '''Notify sessions about height changes and touched addresses.'''
self.logger.info('{:,d} addresses touched'.format(len(touched)))
cache = {} cache = {}
for session in self.sessions: for session in self.sessions:
if isinstance(session, ElectrumX): if isinstance(session, ElectrumX):

Loading…
Cancel
Save