Move to goroutine for faster startup time

pull/112/head^2
obscuren 10 years ago
parent 0ca776a6b8
commit 82a84dca80
  1. 10
      ethereal/gui.go

@ -143,10 +143,12 @@ func (gui *Gui) showWallet(context *qml.Context) (*qml.Window, error) {
win := gui.createWindow(component)
gui.setInitialBlockChain()
gui.loadAddressBook()
gui.readPreviousTransactions()
gui.setPeerInfo()
go func() {
gui.setInitialBlockChain()
gui.loadAddressBook()
gui.readPreviousTransactions()
gui.setPeerInfo()
}()
go gui.update()

Loading…
Cancel
Save