Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2/3] Graph RIP: multi: Graph Source Abstraction #9243

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
488fa3e
graph: remove unused ForEachNode method
ellemouton Nov 8, 2024
9d389ad
graph: let FetchNodeFeatures take an optional read tx
ellemouton Nov 8, 2024
755065b
graph: rename directory from graphsession to session
ellemouton Nov 13, 2024
6c008ff
lnd+graph: add GraphSource interface and implementation
ellemouton Nov 11, 2024
aa24804
graph: add ReadOnlyGraph interface to GraphSource interface
ellemouton Nov 11, 2024
9854bad
graph: add contexts to the ReadOnlyGraph interface
ellemouton Nov 11, 2024
6f3d45f
invoicesrpc: remove invoicerpc server's access to ChannelGraph pointer
ellemouton Nov 11, 2024
237151d
netann+lnd: add netann.ChannelGraph to the GraphSource interface
ellemouton Nov 11, 2024
bfe6262
graph+channeldb: add AddrSource interface to GraphSource
ellemouton Nov 12, 2024
28415f5
graph+lnd: add various calls to GraphSource
ellemouton Nov 12, 2024
0f33d41
discovery: pass contexts to NetworkPeerBootstrapper methods
ellemouton Nov 12, 2024
372883a
lnd+graph: add GraphBootstrapper to the GraphSource interface
ellemouton Nov 12, 2024
8007061
graph+lnd: add NetworkStats to GraphSource interface
ellemouton Nov 12, 2024
f36fbd0
graph+lnd: add BetweennessCentrality to GraphSource interface
ellemouton Nov 12, 2024
2192bf4
lnd+chanbackup: thread contexts through
ellemouton Nov 13, 2024
dcfffd6
invoicesrpc: remove a context.TODO
ellemouton Nov 13, 2024
75b1069
blindedpath: remove a context.TODO
ellemouton Nov 13, 2024
a28102e
netann: remove context.TODO
ellemouton Nov 11, 2024
c5cc6f1
routing: remove context.TODOs
ellemouton Nov 11, 2024
791ac91
remove context.TODOs from tests
ellemouton Nov 11, 2024
15c2161
docs: update release notes
ellemouton Nov 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package graphsession
package session
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍


import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import (
"github.com/lightningnetwork/lnd/graph"
graphdb "github.com/lightningnetwork/lnd/graph/db"
"github.com/lightningnetwork/lnd/graph/db/models"
"github.com/lightningnetwork/lnd/graph/graphsession"
graphsession "github.com/lightningnetwork/lnd/graph/session"
"github.com/lightningnetwork/lnd/htlcswitch"
"github.com/lightningnetwork/lnd/htlcswitch/hop"
"github.com/lightningnetwork/lnd/input"
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import (
"github.com/lightningnetwork/lnd/graph"
graphdb "github.com/lightningnetwork/lnd/graph/db"
"github.com/lightningnetwork/lnd/graph/db/models"
"github.com/lightningnetwork/lnd/graph/graphsession"
graphsession "github.com/lightningnetwork/lnd/graph/session"
"github.com/lightningnetwork/lnd/healthcheck"
"github.com/lightningnetwork/lnd/htlcswitch"
"github.com/lightningnetwork/lnd/htlcswitch/hop"
Expand Down