channeldb: speed up graph cache loading

Use the optimized ForEachChannel method to reduce the graph cache
loading time.
This commit is contained in:
Joost Jager committed 2022-01-14 14:57:29 +01:00
1 parent 2e2229a2e7
commit 352008a0c2
3 files changed
+110 -10

No files matched your search

@@ -19,6 +19,11 @@ connection from the watch-only node.
In other words, freshly-installed LND can now be initialized with multiple
channels from an external (e.g. hardware) wallet *in a single transaction*.
## Database
* [Speed up graph cache loading on startup with
Postgres](https://github.com/lightningnetwork/lnd/pull/6111)
## Build System
* [Clean up Makefile by using go