1
0

separate blockchain verifier from transaction verifier

This commit is contained in:
ThomasV
2013-09-01 18:16:15 +02:00
parent d99a381d83
commit d47892b690
6 changed files with 365 additions and 283 deletions

View File

@@ -133,10 +133,14 @@ if __name__ == '__main__':
interface.start(wait = False)
interface.send([('server.peers.subscribe',[])])
gui = gui.ElectrumGui(config,interface)
blockchain = BlockchainVerifier(interface, config)
blockchain.start()
gui = gui.ElectrumGui(config, interface, blockchain)
gui.main(url)
interface.stop()
blockchain.stop()
# we use daemon threads, their termination is enforced.
# this sleep command gives them time to terminate cleanly.