lnd/chainntnfs/btcdnotify
yyforyongyu 732cd717bf chainntnfs: use spent height as height hint if found
Previously when deciding whether a UTXO is spent or not, we accept a
height hint as the starting block to look for the spending tx in the
rescan process. When it's already found spent before the rescan starts,
we will update the height hint to be the spent height, only if the
latter is greater. This means if the user-specified hint is greater than
the actual spending height, this UTXO will never be found as spent. We
now fix it by always using the spent height as the hint.
2025-06-20 15:45:56 -07:00
..
btcd_dev.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
btcd_test.go multi: rename chan DB Open method to OpenForTesting 2024-11-28 13:51:15 +02:00
btcd.go chainntnfs: use spent height as height hint if found 2025-06-20 15:45:56 -07:00
driver.go chainntnfs: add block cache to BtcdNotifier 2021-04-28 09:46:11 +02:00