lnd/discovery
Wilmer Paulino 393111cea9
discovery+routing: cancel dependent jobs if parent validation fails
Previously, we would always allow dependent jobs to be processed,
regardless of the result of its parent job's validation. This isn't
correct, as a parent job contains actions necessary to successfully
process a dependent job. A prime example of this can be found within the
AuthenticatedGossiper, where an incoming channel announcement and update
are both processed, but if the channel announcement job fails to
complete, then the gossiper is unable to properly validate the update.
This commit aims to address this by preventing the dependent jobs to
run.
2021-03-23 11:56:51 -07:00
..
bootstrapper.go multi: use timeout field in dialer 2020-09-16 11:50:04 +08:00
chan_series.go discovery: adhere to proper channel chunk splitting for ReplyChannelRange 2020-12-08 15:18:07 -08:00
gossiper_test.go discovery: add missing error channel sends in processNetworkAnnouncement 2021-03-23 11:56:31 -07:00
gossiper.go discovery+routing: cancel dependent jobs if parent validation fails 2021-03-23 11:56:51 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go lnwire: prep wire messages for TLV extensions 2021-02-24 17:31:55 +01:00
message_store.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
mock_test.go multi: remove returned error from WipeChannel 2020-04-02 17:39:29 -07:00
reliable_sender_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
reliable_sender.go discovery,fundingmanager: avoid serialization in NotifyWhenOnline 2019-06-04 16:36:21 -03:00
sync_manager_test.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00
sync_manager.go discovery: don't historical sync when NumActiveSyncers == 0 2021-02-10 09:35:45 -08:00
syncer_test.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00
syncer.go discovery+lnwire: remove embedding within ReplyChannelRange 2021-02-24 17:31:55 +01:00