lnd/discovery
Olaoluwa Osuntokun ce4fdd3117
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-06 11:34:43 +02: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 autopilot: start threading contexts through 2025-06-04 10:54:34 +02:00
chan_series.go refactor: move graph related DB code to graph/db from channeldb 2024-11-28 13:36:13 +02:00
gossiper_test.go multi: use the "errors" package everywhere 2025-07-01 20:08:12 +02:00
gossiper.go discovery: integrate async queue in ProcessRemoteAnnouncement 2025-08-06 11:34:42 +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_test.go multi: rename chan DB Open method to OpenForTesting 2024-11-28 13:51:15 +02:00
message_store.go multi: rename ChannelUpdate to ChannelUpdate1 2024-09-18 16:13:17 +02:00
mock_test.go discovery: implement ChannelAnnouncement banning 2024-08-27 14:11:06 -04:00
reliable_sender_test.go discovery: pass context through to reliable sender 2025-06-04 10:54:32 +02:00
reliable_sender.go discovery: revert passing ctx through to Start methods 2025-06-04 10:54:35 +02:00
sync_manager_test.go discovery: revert passing ctx through to Start methods 2025-06-04 10:54:35 +02:00
sync_manager.go discovery: make gossip filter semaphore capacity configurable 2025-08-06 11:34:42 +02:00
syncer_atomic_test.go discovery: only permit a single gossip backlog goroutine per peer 2025-08-06 11:34:43 +02:00
syncer_queue_test.go discovery: add tests for for async timestamp range queue 2025-08-06 11:34:42 +02:00
syncer_test.go discovery: add tests for for async timestamp range queue 2025-08-06 11:34:42 +02:00
syncer.go discovery: only permit a single gossip backlog goroutine per peer 2025-08-06 11:34:43 +02:00
validation_barrier_test.go graph -> discovery: move ValidationBarrier to discovery 2025-01-23 13:04:39 -05:00
validation_barrier.go multi: use the "errors" package everywhere 2025-07-01 20:08:12 +02:00