Skip to content

Conversation

@Jasonvdb
Copy link
Contributor

Enables trace logging for the duration of payWithTimeout + 10 seconds. So we can get details on paths attempted:

2025-01-29 14:06:28 UTC TRACE (LDK): Found a path back to us from the target with 1 hops contributing up to 22000 msat: 
 [
    PathBuildingHop {
        node_id: Some(
            NodeId(0341e41583ad691951634e24dd20252d13feace9286a85d47f220dde74e7e09a15),
        ),
        short_channel_id: Some(
            13613053463560193,
        ),
        total_fee_msat: 0,
        next_hops_fee_msat: 0,
        hop_use_fee_msat: 0,
        total_fee_msat - (next_hops_fee_msat + hop_use_fee_msat): 0,
        path_penalty_msat: 0,
        path_htlc_minimum_msat: 1,
        cltv_expiry_delta: 0,
    },
] (lightning::routing::router 2834)

@Jasonvdb Jasonvdb merged commit 11e7624 into master Jan 30, 2025
2 of 6 checks passed
@ovitrif ovitrif deleted the trace-for-pay branch April 18, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants