lnd/discovery
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
..
bootstrapper.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
chan_series.go discovery: adhere to proper channel chunk splitting for ReplyChannelRange 2020-12-08 15:18:07 -08:00
gossiper_test.go chainntfns: add new option for conf notifications to send block 2022-08-01 19:59:21 -07:00
gossiper.go server+discovery: alias-handling in gossiper 2022-07-07 17:10:28 -04:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
message_store.go multi: move all channelstate operations to ChannelStateDB 2021-09-29 17:00:03 +02:00
mock_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
reliable_sender_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
reliable_sender.go discovery: shorten mutex locking closure 2022-01-05 04:27:32 +08:00
sync_manager_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
sync_manager.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
syncer_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
syncer.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00