1
0

Refactoring of daemon:

* gui and daemon are in the same process
 * commands that require network are sent to the daemon
 * open only one gui window per wallet
This commit is contained in:
ThomasV
2015-08-26 17:44:19 +02:00
parent f68c04e251
commit 92e0744470
11 changed files with 300 additions and 469 deletions

View File

@@ -1289,7 +1289,7 @@ class ElectrumGui():
self.config = config
def main(self, url=None):
def main(self):
storage = WalletStorage(self.config.get_wallet_path())
if not storage.file_exists:
@@ -1334,7 +1334,7 @@ class ElectrumGui():
self.restore_wallet(wallet)
w = ElectrumWindow(self.wallet, self.config, self.network)
if url: w.set_url(url)
#if url: w.set_url(url)
Gtk.main()
def restore_or_create(self):