mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #3069 from TheBlueMatt/2024-06-log-chan-count
Log how many nodes/channels we have synced when we try to route
This commit is contained in:
commit
1d452d061a
1 changed files with 2 additions and 1 deletions
|
@ -1989,10 +1989,11 @@ where L::Target: Logger {
|
|||
|
||||
let max_total_routing_fee_msat = route_params.max_total_routing_fee_msat.unwrap_or(u64::max_value());
|
||||
|
||||
log_trace!(logger, "Searching for a route from payer {} to {} {} MPP and {} first hops {}overriding the network graph with a fee limit of {} msat",
|
||||
log_trace!(logger, "Searching for a route from payer {} to {} {} MPP and {} first hops {}overriding the network graph of {} nodes and {} channels with a fee limit of {} msat",
|
||||
our_node_pubkey, LoggedPayeePubkey(payment_params.payee.node_id()),
|
||||
if allow_mpp { "with" } else { "without" },
|
||||
first_hops.map(|hops| hops.len()).unwrap_or(0), if first_hops.is_some() { "" } else { "not " },
|
||||
network_graph.nodes().len(), network_graph.channels().len(),
|
||||
max_total_routing_fee_msat);
|
||||
|
||||
// Step (1).
|
||||
|
|
Loading…
Add table
Reference in a new issue