lnd.xprv/chainntnfs/btcdnotify
Wilmer Paulino 13fb866574
chainntnfs: remove txindex requirement when registering notfications
Before this commit, we relied on the need of full nodes to enable the
transaction index. This allowed us to fetch historical details about
transactions in order to register and dispatch confirmation and spend
notifications.

This commit allows us to drop that requirement by providing a fallback
method to use when the transaction index is not enabled. This fallback
method relies on manually scanning blocks for the transactions
requested, starting from the earliest height the transactions could have
been included in, to the current height in the chain.
2018-04-17 14:59:51 -04:00
..
btcd.go chainntnfs: remove txindex requirement when registering notfications 2018-04-17 14:59:51 -04:00
driver.go multi: switch from btcrpcclient to rpcclient 2017-08-24 18:54:24 -07:00