examples: add neutrino backend example for lnd
Some checks are pending
nix-bitcoin tests / build_test_drivers (push) Waiting to run
nix-bitcoin tests / test_scenario (default) (push) Blocked by required conditions
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Blocked by required conditions
nix-bitcoin tests / test_scenario (netns) (push) Blocked by required conditions
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Blocked by required conditions
nix-bitcoin tests / check_flake (push) Waiting to run

Show users how to configure lnd with the neutrino backend instead of
bitcoind. This is useful for resource-constrained systems that can't
run a full Bitcoin node, but provides less privacy and security than
a local bitcoind.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
padreug 2025-12-24 17:38:21 +01:00
parent a019f79283
commit 800afe647f

View file

@ -80,6 +80,15 @@
# Set this to enable lnd, a lightning implementation written in Go.
# services.lnd.enable = true;
#
# By default, lnd uses bitcoind as its backend. You can use neutrino instead
# to run lnd without a full Bitcoin node. This is useful for resource-constrained
# systems, but provides less privacy and security than a local bitcoind.
# services.lnd = {
# enable = true;
# backend = "neutrino";
# neutrino.peers = [ "btcd.example.com:8333" ];
# };
#
# NOTE: In order to avoid collisions with clightning you must disable clightning or
# change the services.clightning.port or services.lnd.port to a port other than
# 9735.