lnd/discovery
Elle Mouton 5e35bd8328
discovery: demonstrate channel update rate limiting bug
This commit adds a test to demonstrate that if we receive two identical
updates (which can happen if we get the same update from two peers in
quick succession), then our rate limiting logic will be hit early as
both updates might be counted towards the rate limit. This will be fixed
in an upcoming commit.
2025-03-05 14:12:23 +02:00
..
ban.go discovery: add banman for channel announcements 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
bootstrapper.go multi: add SpewLogClosure to avoid code repetition 2024-07-25 22:18:49 +08:00
chan_series.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
gossiper.go graph+discovery: move funding tx validation to gossiper 2025-02-12 15:48:08 +02:00
gossiper_test.go discovery: demonstrate channel update rate limiting bug 2025-03-05 14:12:23 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
message_store.go multi: rename ChannelUpdate to ChannelUpdate1 2024-09-18 16:13:17 +02:00
message_store_test.go multi: rename chan DB Open method to OpenForTesting 2024-11-28 13:51:15 +02:00
mock_test.go discovery: implement ChannelAnnouncement banning 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
reliable_sender_test.go multi: extend lnpeer.Peer interface with Disconnect function 2024-08-27 14:11:06 -04:00
sync_manager.go multi: add debug logs for edge policy flow 2025-01-17 00:17:23 +08:00
sync_manager_test.go discovery: fix mocked peer in unit tests 2025-01-17 17:59:06 +08:00
syncer.go discovery: fix mocked peer in unit tests 2025-01-17 17:59:06 +08:00
syncer_test.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
validation_barrier.go graph -> discovery: move ValidationBarrier to discovery 2025-01-23 13:04:39 -05:00
validation_barrier_test.go graph -> discovery: move ValidationBarrier to discovery 2025-01-23 13:04:39 -05:00