From: Matt Corallo Date: Wed, 13 Sep 2023 18:35:13 +0000 (+0000) Subject: Clarify some scoring documentation by removing extraneous info X-Git-Tag: v0.0.117-alpha1~8^2~6 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c74a581127eae1c7f08c0907f3ba1754b0308af2;p=rust-lightning Clarify some scoring documentation by removing extraneous info --- 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, }