graph: rename HasLightningNode
to HasNode
This commit is contained in:
8 files changed
+16
-18
No files matched your search
@@ -118,13 +118,12 @@ type V1Store interface { //nolint:interfacebloat
|
||||
FetchNode(ctx context.Context, nodePub route.Vertex) (*models.Node,
|
||||
error)
|
||||
|
||||
// HasLightningNode determines if the graph has a vertex identified by
|
||||
// HasNode determines if the graph has a vertex identified by
|
||||
// the target node identity public key. If the node exists in the
|
||||
// database, a timestamp of when the data for the node was lasted
|
||||
// updated is returned along with a true boolean. Otherwise, an empty
|
||||
// time.Time is returned with a false boolean.
|
||||
HasLightningNode(ctx context.Context, nodePub [33]byte) (time.Time,
|
||||
bool, error)
|
||||
HasNode(ctx context.Context, nodePub [33]byte) (time.Time, bool, error)
|
||||
|
||||
// IsPublicNode is a helper method that determines whether the node with
|
||||
// the given public key is seen as a public node in the graph from the
|
||||
|
||||
Reference in new issue
Block a user