lnd.xprv/chainntnfs/neutrinonotify
Wilmer Paulino e6b1a27cd7
chainntnfs/neutrinonotify: make filter update synchronous
In this commit, we modify the notifier to handle filter updates
synchronously. We do this to prevent race conditions between new block
notifications and filter updates. Otherwise, it's possible for a new
block to come in that should match our filter, but doesn't due to the
filter being updated after.

We also modify their order so that the filter is updated first. We do
this so we can immediately start watching for the event at tip while the
rescan is ongoing.
2018-10-30 17:59:31 -07:00
..
driver.go chainntnfs: add height hint caches to chain notifiers 2018-08-21 12:55:51 -04:00
neutrino_dev.go chainntnfs/neutrinonotify: handle spend notification registration w/ TxNotifier 2018-10-30 17:59:31 -07:00
neutrino.go chainntnfs/neutrinonotify: make filter update synchronous 2018-10-30 17:59:31 -07:00