lnd/discovery
Eugene Siegel 013452cff0
discovery: implement ChannelAnnouncement banning
This commit hooks up the banman to the gossiper:
- peers that are banned and don't have a channel with us will get
  disconnected until they are unbanned.
- peers that are banned and have a channel with us won't get
  disconnected, but we will ignore their channel announcements until
  they are no longer banned. Note that this only disables gossip of
  announcements to us and still allows us to open channels to them.
2024-08-27 14:11:06 -04:00
..
ban_test.go discovery: add banman for channel announcements 2024-08-27 14:11:06 -04:00
ban.go discovery: add banman for channel announcements 2024-08-27 14:11:06 -04:00
bootstrapper.go multi: add SpewLogClosure to avoid code repetition 2024-07-25 22:18:49 +08:00
chan_series.go refactor: move various duties from ChannelRouter to graph.Builder 2024-07-15 15:56:33 +02:00
gossiper_test.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
gossiper.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
log.go multi: add NewLogClosure in lnutils to avoid repetition 2024-07-25 21:25:23 +08:00
message_store_test.go discovery: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
message_store.go multi: wrap all errors 2024-04-11 15:04:03 +02:00
mock_test.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
reliable_sender_test.go multi: extend lnpeer.Peer interface with Disconnect function 2024-08-27 14:11:06 -04:00
reliable_sender.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
sync_manager_test.go multi: start asking for update timestamps in QueryChannelRange 2023-12-11 09:12:04 +02:00
sync_manager.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
syncer_test.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
syncer.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00