lnd/lncfg
Olaoluwa Osuntokun 57872b9cff
discovery: make gossip filter semaphore capacity configurable
In this commit, we make the gossip filter semaphore capacity configurable
through a new FilterConcurrency field. This change allows node operators
to tune the number of concurrent gossip filter applications based on
their node's resources and network position.

The previous hard-coded limit of 5 concurrent filter applications could
become a bottleneck when multiple peers attempt to synchronize
simultaneously. By making this value configurable via the new
gossip.filter-concurrency option, operators can increase this limit
for better performance on well-resourced nodes or maintain conservative
values on resource-constrained systems.

We keep the default value at 5 to maintain backward compatibility and
avoid unexpected resource usage increases for existing deployments. The
sample configuration file is updated to document this new option.
2025-08-06 11:34:42 +02:00
..
address_test.go multi: add new build tag integration 2023-02-23 21:56:09 +08:00
address.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
autopilot.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
bitcoind.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
btcd.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
caches.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
chain.go multi: add testnet4 support 2025-03-24 11:53:23 -05:00
cluster.go lncfg: increase default leader session TTL to 90 seconds 2024-08-01 19:04:11 +02:00
color_test.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
color.go lncfg: move ParseHexColor to lncfg 2022-01-24 17:42:54 +01:00
config.go multi: add testnet4 support 2025-03-24 11:53:23 -05:00
db_test.go bbolt sync-freelist ignored 2021-09-27 06:49:56 +01:00
db.go sqldb: clarify native sql options 2025-06-24 18:24:21 +02:00
dev_integration.go lncfg+lnd: add new dev config unsafeconnect 2025-06-20 15:50:25 -07:00
dev.go lncfg+lnd: add new dev config unsafeconnect 2025-06-20 15:50:25 -07:00
error.go multi: separate profiler config 2024-10-18 13:03:30 +02:00
fee.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
gossip.go discovery: make gossip filter semaphore capacity configurable 2025-08-06 11:34:42 +02:00
healthcheck.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
htlcswitch.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
interface.go lncfg/interface: define Validator iface + variadic Validate 2019-04-01 16:33:50 -07:00
invoices.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
monitoring_off.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
monitoring_on.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
neutrino.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
pprof.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
protocol_experimental_off.go cfg: move experimental options to main protocol cfg 2024-05-16 17:16:50 -05:00
protocol_experimental_on.go cfg: move experimental options to main protocol cfg 2024-05-16 17:16:50 -05:00
protocol_integration.go lncfg: add new protocol option - RbfCoopClose 2025-03-18 11:44:20 -05:00
protocol_legacy_off.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
protocol_legacy_on.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
protocol.go lncfg: mention that taproot chans aren't supported for rbf close 2025-04-04 14:38:12 -07:00
remotesigner.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
routing.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
rpcmiddleware.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
sweeper.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
tor.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
watchtower.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
workers_test.go config: add sanity check to prevent non-negative worker counts 2019-03-13 20:32:52 -07:00
workers.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
wtclient.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00