lnd.xprv/discovery
Olaoluwa Osuntokun c959ecc4c9
discovery: always add chan announcements to the reject cache if err != ErrIgnored
In this commit, we make a change to always add chan announcements to the
reject cache if we didn't reject them for already existing.  Without
this change, if we end up rejecting a channel announcement say because
the channel is already spent or the funding transaction doesn't exist,
then we'll end up continually re-validating the same set of channels we
know will fail, when they're sent to us by peers.

Fixes #5191
2021-04-14 15:19:14 -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: always add chan announcements to the reject cache if err != ErrIgnored 2021-04-14 15:19:14 -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