trigger synchronize when block height is received
authorThomasV <thomasv@gitorious>
Wed, 30 Jan 2013 06:38:13 +0000 (07:38 +0100)
committerThomasV <thomasv@gitorious>
Wed, 30 Jan 2013 06:38:13 +0000 (07:38 +0100)
lib/verifier.py

index fbe1667..d7d9196 100644 (file)
@@ -167,6 +167,7 @@ class WalletVerifier(threading.Thread):
                     requested_headers.remove(result.get('block_height'))
                 else:
                     self.height = result.get('block_height')
+                    self.interface.poke('synchronizer')
                 
                 self.pending_headers.sort(key=lambda x: x.get('block_height'))
                 # print "pending headers", map(lambda x: x.get('block_height'), self.pending_headers)