lnd.xprv/chainntnfs/bitcoindnotify
Conner Fromknecht 7a08825b1e
chainntnfs/bitcoindnotify: always call UpdateSpendDetails
This commit fixes a bug that would cause the
notifier not to commit spend hints for items
that are not found. This is done by calling
UpdateSpendDetails with a nil detail, permitting
the notifier to begin updating the spend hints
with new blocks that arrive at tip. The change
is designed to mimic the behavior for historical
confirmation dispatch.

The symptom of this bug is needing to do many
long rescans on startup, even if new blocks
arrive after the rescan had completed. With
this change, nodes will have to do the scans
once more before their hints will be properly
updated. Restarts from then on should not
have this behavior.
2019-04-01 18:20:52 -07:00
..
bitcoind_dev.go chainntnfs: initialize TxNotifier with new ReorgSafetyLimit 2019-01-11 16:58:15 -08:00
bitcoind_test.go chainntnfs: modify GetTestTxidAndScript to generate new P2PKH scripts 2019-01-21 13:57:43 -08:00
bitcoind.go chainntnfs/bitcoindnotify: always call UpdateSpendDetails 2019-04-01 18:20:52 -07:00
driver.go chainntnfs/bitcoindnotify: add chainParams parameter to bitcoindnotify.New 2019-01-21 13:57:43 -08:00