From c74a581127eae1c7f08c0907f3ba1754b0308af2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 13 Sep 2023 18:35:13 +0000 Subject: [PATCH] Clarify some scoring documentation by removing extraneous info --- lightning/src/routing/scoring.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 3235d85a8..032fe2d9c 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -1604,8 +1604,14 @@ mod bucketed_history { impl_writeable_tlv_based!(HistoricalBucketRangeTracker, { (0, buckets, required) }); + /// A set of buckets representing the history of where we've seen the minimum- and maximum- + /// liquidity bounds for a given channel. pub(super) struct HistoricalMinMaxBuckets> { + /// Buckets tracking where and how often we've seen the minimum liquidity bound for a + /// channel. pub(super) min_liquidity_offset_history: D, + /// Buckets tracking where and how often we've seen the maximum liquidity bound for a + /// channel. pub(super) max_liquidity_offset_history: D, } -- 2.39.5