|
|
|
@ -267,7 +267,7 @@ if __name__ == '__main__': |
|
|
|
time.sleep(0.1) |
|
|
|
time.sleep(0.1) |
|
|
|
|
|
|
|
|
|
|
|
if not network.is_connected(): |
|
|
|
if not network.is_connected(): |
|
|
|
print_msg("daemon is not connected") |
|
|
|
print "daemon is not connected" |
|
|
|
sys.exit(1) |
|
|
|
sys.exit(1) |
|
|
|
|
|
|
|
|
|
|
|
# create watching_only wallet |
|
|
|
# create watching_only wallet |
|
|
|
@ -282,7 +282,6 @@ if __name__ == '__main__': |
|
|
|
wallet.start_threads(network) |
|
|
|
wallet.start_threads(network) |
|
|
|
network.register_callback('updated', on_wallet_update) |
|
|
|
network.register_callback('updated', on_wallet_update) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
threading.Thread(target=db_thread, args=()).start() |
|
|
|
threading.Thread(target=db_thread, args=()).start() |
|
|
|
|
|
|
|
|
|
|
|
out_queue = Queue.Queue() |
|
|
|
out_queue = Queue.Queue() |
|
|
|
|