lnd.xprv/chainntnfs/btcdnotify
Olaoluwa Osuntokun 1e3635b5aa
chainntnfs: properly account for partial historical confirmation dispatch
This commit modifies the recently added logic to the ChainNotifier to:
  1. Fix the off-by-one confirmation error that was missed due a flaky
test
  2. Ensure that partial historical confirmations are properly handled.

The partial hostile confirmation case arises when a transaction already
a non-zero number of confirmations when the notification is registered,
but less than what would trigger the confirmation notification. To fix
this, transaction which have a partial number of confirmation are now
properly inserted into the confHeap, skipping first first phase for
notifications.
2016-12-08 16:16:29 -08:00
..
btcd.go chainntnfs: properly account for partial historical confirmation dispatch 2016-12-08 16:16:29 -08:00
confheap.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00
driver.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00