lnd/scripts
ziggie a25659a6e4
lncfg+scripts: use configurable global lock for postgres backends
Replace hardcoded WithGlobalLock assignment with configurable
options wallet postgres backends. Also add the WithGlobalLock
option to the channeldb table for postgres backends.

Defaults:
- channeldb: false (allow concurrent access)
- wallet: true (maintain safe single-writer behavior)

Users can now override these defaults via:
- db.postgres.channeldb-with-global-lock
- db.postgres.walletdb-with-global-lock

This gives operators flexibility while maintaining safe defaults
until full native SQL migration is complete.

Moreover exclude db.postgres.walletdb-with-global-lock check
in the sample config file script. We cannot easily check the
correct default because we set it later in the LND startup
sequence so we exclude it.
2025-11-28 09:36:34 +01:00
..
bw-compatibility-test scripts/bw-compat: use status server to determine if node is ready 2025-04-15 11:49:07 +02:00
keys Merge pull request #10350 from saubyk/update-pgp-key-suheb 2025-11-06 20:56:04 +08:00
check-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-each-commit.sh build: check compilation of each commit 2020-12-08 16:19:26 -08:00
check-go-version-dockerfile.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-go-version-yaml.sh Makefile: add lint check for Go version in Dockerfile and YAML 2024-08-01 14:09:58 +01:00
check-pgp-expiry.sh scripts: add pgp keys expire check 2025-08-14 15:35:55 -03:00
check-release-notes.sh scripts/check-release-notes.sh: fix bash expression 2023-07-13 12:51:40 -04:00
check-rest-annotations.sh make+scripts: fix rpc-check command 2021-07-27 12:59:54 +02:00
check-sample-lnd-conf.sh lncfg+scripts: use configurable global lock for postgres backends 2025-11-28 09:36:34 +01:00
fuzz.sh make+scripts+docs: update fuzzing script and make fuzz 2022-11-11 10:30:05 -06:00
fuzzy-match-release-branch.sh scripts: add cherry-pick verification tool with fuzzy matching 2025-07-29 08:51:51 +02:00
gen_man_pages.sh scripts+dev.Dockerfile: address dockerfile build issue 2024-03-18 13:47:39 +02:00
gen_sqlc_docker.sh scripts: add sql slices workaround to sqlc gen script 2025-07-22 17:14:55 +02:00
install_bitcoind.sh github+scripts: bump itests to bitcoind v28, allow testing with RCs 2024-10-14 16:10:18 +02:00
itest_parallel.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
itest_part.sh itest: shuffle test cases to even out blocks mined in tranches 2024-12-20 19:38:05 +08:00
release.sh Merge pull request #10268 from starius/release-gnu-gzip 2025-10-27 10:34:30 -07:00
tidy_modules.sh github+Makefile: add new action make tidy-module-check 2023-09-06 02:48:13 +08:00
unit-test-flake-hunter.sh Makefile+scripts: add unit test flake hunter 2025-02-25 21:10:40 +08:00
unit_test_modules.sh Makefile+action: add make unit-module to test submodules 2023-09-06 02:47:55 +08:00
verify-install.sh scripts: add gpg key for ViktorT-11 2025-09-26 12:16:22 +02:00