1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-13 19:37:35 +01:00

Merge remote-tracking branch 'origin/graph-edge-detailed-log' into android-phoenix

This commit is contained in:
dpad85 2020-11-13 17:24:39 +01:00
commit 30cecbded1
No known key found for this signature in database
GPG key ID: 574C8C6A1673E987

View file

@ -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) {