Files
lnd/graph/sources/interfaces.go
Elle Mouton 237151d9df netann+lnd: add netann.ChannelGraph to the GraphSource interface
And let DBSource implement it.
2024-11-28 14:52:49 +02:00

16 lines
372 B
Go

package sources
import (
"github.com/lightningnetwork/lnd/graph/session"
"github.com/lightningnetwork/lnd/lnrpc/invoicesrpc"
"github.com/lightningnetwork/lnd/netann"
)
// GraphSource defines the read-only graph interface required by LND for graph
// related queries.
type GraphSource interface {
session.ReadOnlyGraph
invoicesrpc.GraphSource
netann.ChannelGraph
}