Add debug log

This commit is contained in:
Neil Booth 2016-11-20 19:08:31 +09:00
parent 1dc43b3020
commit 11558fd9d2

View File

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