docs+lncfg+sample-lnd.conf: add no-graph-cache option

This commit is contained in:
Oliver Gugger
2021-10-21 13:55:18 +02:00
parent cac8da819f
commit a2ad533136
3 changed files with 49 additions and 22 deletions

View File

@@ -92,6 +92,14 @@ usage. Users running `lnd` on low-memory systems are advised to run with the
removes zombie channels from the graph, reducing the number of channels that
need to be kept in memory.
There is a [fallback option](https://github.com/lightningnetwork/lnd/pull/5840)
`db.no-graph-cache=true` that can be used when running a Bolt (`bbolt`) based
database backend. Using the database for path finding is considerably slower
than using the in-memory graph cache but uses less RAM. The fallback option is
not available for `etcd` or Postgres database backends because of the way they
handle long-running database transactions that are required for the path finding
operations.
## Protocol Extensions
### Explicit Channel Negotiation