graph/db: move various cache write calls to ChannelGraph
Here, we move the graph cache writes for AddLightningNode, DeleteLightningNode, AddChannelEdge and MarkEdgeLive to the ChannelGraph. Since these are writes, the cache is only updated if the DB write is successful.
This commit is contained in:
3 files changed
+107
-30
No files matched your search
@@ -324,6 +324,7 @@ The underlying functionality between those two options remain the same.
|
||||
- Move the graph cache out of the graph CRUD layer:
|
||||
- [1](https://github.com/lightningnetwork/lnd/pull/9533)
|
||||
- [2](https://github.com/lightningnetwork/lnd/pull/9545)
|
||||
- [3](https://github.com/lightningnetwork/lnd/pull/9550)
|
||||
|
||||
* [Golang was updated to
|
||||
`v1.22.11`](https://github.com/lightningnetwork/lnd/pull/9462).
|
||||
|
||||
Reference in new issue
Block a user