lnd/discovery
Olaoluwa Osuntokun 7e767eac82
discovery: only permit a single gossip backlog goroutine per peer
In this commit, we add a new atomic bool to only permit a single gossip
backlog goroutine per peer. If we get a new reuqest that needs a backlog
while we're still processing the other, then we'll drop that request.
2025-08-01 11:20:22 -05: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: pass reset to ForEachNodeCached 2025-07-15 11:23:27 +02:00
chan_series.go graph/db: thread context through to HighestChanID 2025-06-19 14:49:32 +02:00
gossiper.go discovery: integrate async queue in ProcessRemoteAnnouncement 2025-08-01 11:20:21 -05:00
gossiper_test.go multi: let ForEachNodeChannel take a reset param 2025-07-15 11:23:27 +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: revert passing ctx through to Start methods 2025-05-22 14:14:39 +02:00
reliable_sender_test.go discovery: pass context through to reliable sender 2025-05-22 14:14:36 +02:00
sync_manager.go discovery: make gossip filter semaphore capacity configurable 2025-08-01 11:20:19 -05:00
sync_manager_test.go discovery: revert passing ctx through to Start methods 2025-05-22 14:14:39 +02:00
syncer.go discovery: only permit a single gossip backlog goroutine per peer 2025-08-01 11:20:22 -05:00
syncer_atomic_test.go discovery: only permit a single gossip backlog goroutine per peer 2025-08-01 11:20:22 -05:00
syncer_queue_test.go discovery: add tests for for async timestamp range queue 2025-08-01 11:20:22 -05:00
syncer_test.go discovery: add tests for for async timestamp range queue 2025-08-01 11:20:22 -05:00
validation_barrier.go multi: use the "errors" package everywhere 2025-06-30 09:46:55 +02:00
validation_barrier_test.go graph -> discovery: move ValidationBarrier to discovery 2025-01-23 13:04:39 -05:00