Merge pull request #10396 from ziggie1984/enhance-lsp-heuritic

Enhance Lsp Heuristic when probing a payment
This commit is contained in:
Elle authored and GitHub committed 2025-12-09 10:43:43 +02:00
commit bc670fab82
8 files changed
+955 -377

No files matched your search

+4 -5
View File
@@ -3431,11 +3431,10 @@ func (c *KVStore) fetchLightningNode(tx kvdb.RTx,
return node, nil
}
// HasLightningNode 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.
// 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.
func (c *KVStore) HasNode(_ context.Context,
nodePub [33]byte) (time.Time, bool, error) {