mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-13 19:37:35 +01:00
Path-finding: log edge direction
We were previously ommitting the nodeId from graph edge, which means we add duplicate edges but couldn't know which one was for which direction.
This commit is contained in:
parent
13ff55b68b
commit
83837b6992
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ object RouteCalculation {
|
|||
|
||||
log.info(s"finding routes ${r.source}->${r.target} with assistedChannels={} ignoreNodes={} ignoreChannels={} excludedChannels={}", assistedChannels.keys.mkString(","), r.ignore.nodes.map(_.value).mkString(","), r.ignore.channels.mkString(","), d.excludedChannels.mkString(","))
|
||||
log.info("finding routes with randomize={} params={}", params.randomize, params)
|
||||
log.info("routing graph: {}", d.graph.edgeSet().map(e => s"${e.desc.shortChannelId}->${e.balance_opt}/${e.capacity}").mkString(", "))
|
||||
log.info("routing graph: {}", d.graph.edgeSet().map(e => s"${e.desc.a}->${e.desc.shortChannelId}->${e.desc.b}->${e.balance_opt}/${e.capacity}").mkString(", "))
|
||||
val tags = TagSet.Empty.withTag(Tags.MultiPart, r.allowMultiPart).withTag(Tags.Amount, Tags.amountBucket(r.amount))
|
||||
KamonExt.time(Metrics.FindRouteDuration.withTags(tags.withTag(Tags.NumberOfRoutes, routesToFind.toLong))) {
|
||||
val result = if (r.allowMultiPart) {
|
||||
|
|
Loading…
Add table
Reference in a new issue