lnd/chainntnfs/bitcoindnotify
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
..
bitcoind.go chainntnfs: remove txindex requirement when registering notfications 2018-04-17 14:59:51 -04:00
driver.go multi: add bitcoind drivers and tests 2018-01-15 13:59:34 -08:00