-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developersgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDloggingRelated to the logging / debug output functionalityRelated to the logging / debug output functionality
Description
Background
Inspired by C-Otto/rebalance-lnd#241.
As part of pathfinding, lnd might encounter edges that have a policy specifying a zero CLTV delta (possibly because of no/outdated gossip?). Every time an edge like this is used in the pathfinding code, a warning is logged:
Line 705 in 290b78e
log.Warnf("Channel %v has zero cltv delta", |
For nodes that query a lot of routes (for example when running rebalance-lnd
), countless warnings are logged. These warnings don't seem to serve a proper purpose, as the user cannot do anything about it, and in my experience this also didn't cause any issues.
Your environment
- lnd-0.14.1-beta
- Linux server 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
- bitcoind v22
Steps to reproduce
Run QueryRoutes a few times.
Expected behaviour
Warning from issue title is not logged.
Actual behaviour
Warning from issue title is logged quite often.
LucScu, hsjoberg and chevdor
Metadata
Metadata
Assignees
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developersgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDloggingRelated to the logging / debug output functionalityRelated to the logging / debug output functionality