lnd.xprv/chainntnfs
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
..
btcdnotify chainntnfs: properly account for partial historical confirmation dispatch 2016-12-08 16:16:29 -08:00
interface_test.go chainntnfs: properly account for partial historical confirmation dispatch 2016-12-08 16:16:29 -08:00
interface.go chainntfns: specify that implementations must support multiple clients 2016-11-27 19:16:06 -08:00
log.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00