lnd/chainntnfs/btcdnotify
Sam Lewis 1f95b660b9 chainntfns: Fix off by 1 block height error
In the historical dispatch of btcdnotify, the dispatcher checks if a
transaction has been included in a block. If this check happens before
the notifier has processed the update, it's possible that the
currentHeight of the notifier and the currentHeight of the chain might
be out of sync which causes an off by one error when calculating a
target height for the transaction confirmation. This change uses the
height of the block the transaction was found in, rather than the
currentHeight that's known by the notifier to eliminate this.
2017-11-13 22:36:25 -08:00
..
btcd.go chainntfns: Fix off by 1 block height error 2017-11-13 22:36:25 -08:00
confheap.go chainntnfs: extend interface test to ensure initial conf height is correct 2017-07-11 17:38:43 -07:00
driver.go multi: switch from btcrpcclient to rpcclient 2017-08-24 18:54:24 -07:00