]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Clarify some scoring documentation by removing extraneous info
authorMatt Corallo <git@bluematt.me>
Wed, 13 Sep 2023 18:35:13 +0000 (18:35 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Sep 2023 17:20:38 +0000 (17:20 +0000)
lightning/src/routing/scoring.rs

index 3235d85a8c2a29edf8914cfcef0fdee8ea844a96..032fe2d9c2e9f4b0cce6d62936dcbe96288041a3 100644 (file)
@@ -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<D: Deref<Target = HistoricalBucketRangeTracker>> {
+               /// 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,
        }