lnd/funding
Olaoluwa Osuntokun 08f1c2e93a
chainntfns: add new option for conf notifications to send block
In this commit, we add a new option for the existing confirmation
notification system that optionally allows the caller to specify that a
block should be included as well.

The only quirk w/ the implementation here is the neutrino backend:
usually we get filtered blocks, we so need to first fetch the block
again so we can deliver the full block to the notifier. On the notifier
end, it'll only be checking for the transactions we care about, to
sending a full block doesn't affect the correctness.

We also extend the `testBatchConfirmationNotification` test to assert
that a block is only included if the caller specifies it.
2022-08-01 19:59:21 -07:00
..
batch.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
batch_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
commitment_type_negotiation.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
commitment_type_negotiation_test.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
interfaces.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
log.go lnd+funding: register funding logger 2020-12-17 09:36:34 -05:00
manager.go funding: revert earlier change for LDK compatibility 2022-07-07 17:10:31 -04:00
manager_test.go chainntfns: add new option for conf notifications to send block 2022-08-01 19:59:21 -07:00