lnd.xprv/chainntnfs/neutrinonotify
Johan T. Halseth 3a44574625
chainntnfs/neutrinonotify: async call GetUtxo from RegisterSpendNtfn
Since GetUtxo is a potentially long running call, we would see
RegisterSpendNtfn block in some cases, in particular on starting the
chain watcher, causing lnd to hang on startup.

This commit makes the call to GetUtxo in a go routine, letting
RegisterSpendNtfn return immediately when the notification events are
created.
2019-06-04 09:58:04 +02:00
..
driver.go chainntnfs/neutrinonotify: clean up neutrinonotify.New 2019-01-21 13:57:43 -08:00
neutrino_dev.go multi: update build to latest version of neutrino+btcwallet 2019-03-13 15:03:39 -07:00
neutrino.go chainntnfs/neutrinonotify: async call GetUtxo from RegisterSpendNtfn 2019-06-04 09:58:04 +02:00