lnd/graph
Elle Mouton e004447da6
multi: remove the need for the graphsession package
In this commit, we add a `GraphSession` method to the `ChannelGraph`.
This method provides a caller with access to a `NodeTraverser`. This is
used by pathfinding to create a graph "session" overwhich to perform a
set of queries for a pathfinding attempt. With this refactor, we hide
details such as DB transaction creation and transaction commits from the
caller. So with this, pathfinding does not need to remember to "close
the graph session". With this commit, the `graphsession` package may be
completely removed.
2025-02-18 10:15:41 -03:00
..
db multi: remove the need for the graphsession package 2025-02-18 10:15:41 -03:00
testdata refactor: move various duties from ChannelRouter to graph.Builder 2024-07-15 15:56:33 +02:00
builder.go Revert "graph: refactor Builder network message handling" 2025-02-13 11:19:07 +02:00
builder_test.go graph+discovery: move funding tx validation to gossiper 2025-02-12 15:48:08 +02:00
errors.go graph+discovery: move funding tx validation to gossiper 2025-02-12 15:48:08 +02:00
interfaces.go graph: add IsZombieEdge method 2025-02-12 13:15:54 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
notifications.go multi: move LightningNode struct to models package 2024-11-28 13:36:32 +02:00
notifications_test.go graph+discovery: move funding tx validation to gossiper 2025-02-12 15:48:08 +02:00
setup_test.go refactor: move various duties from ChannelRouter to graph.Builder 2024-07-15 15:56:33 +02:00
stats.go graph: rename routerStats to builderStats 2025-02-07 13:01:39 +02:00