1
0

verifier: small clean-up

This commit is contained in:
SomberNight
2018-09-16 22:21:49 +02:00
parent 78488ebcbf
commit dcab22dcc7
2 changed files with 23 additions and 14 deletions

View File

@@ -59,6 +59,9 @@ class Synchronizer(PrintError):
self.add_queue = asyncio.Queue()
self.status_queue = asyncio.Queue()
def diagnostic_name(self):
return '{}:{}'.format(self.__class__.__name__, self.wallet.diagnostic_name())
def is_up_to_date(self):
return (not self.requested_addrs
and not self.requested_histories