Commit 82a84dca authored by obscuren's avatar obscuren

Move to goroutine for faster startup time

parent 0ca776a6
...@@ -143,10 +143,12 @@ func (gui *Gui) showWallet(context *qml.Context) (*qml.Window, error) { ...@@ -143,10 +143,12 @@ func (gui *Gui) showWallet(context *qml.Context) (*qml.Window, error) {
win := gui.createWindow(component) win := gui.createWindow(component)
gui.setInitialBlockChain() go func() {
gui.loadAddressBook() gui.setInitialBlockChain()
gui.readPreviousTransactions() gui.loadAddressBook()
gui.setPeerInfo() gui.readPreviousTransactions()
gui.setPeerInfo()
}()
go gui.update() go gui.update()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment