Skip to content

Commit c74a581

Browse files
committed
Clarify some scoring documentation by removing extraneous info
1 parent 3dffe54 commit c74a581

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/routing/scoring.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,8 +1604,14 @@ mod bucketed_history {
16041604

16051605
impl_writeable_tlv_based!(HistoricalBucketRangeTracker, { (0, buckets, required) });
16061606

1607+
/// A set of buckets representing the history of where we've seen the minimum- and maximum-
1608+
/// liquidity bounds for a given channel.
16071609
pub(super) struct HistoricalMinMaxBuckets<D: Deref<Target = HistoricalBucketRangeTracker>> {
1610+
/// Buckets tracking where and how often we've seen the minimum liquidity bound for a
1611+
/// channel.
16081612
pub(super) min_liquidity_offset_history: D,
1613+
/// Buckets tracking where and how often we've seen the maximum liquidity bound for a
1614+
/// channel.
16091615
pub(super) max_liquidity_offset_history: D,
16101616
}
16111617

0 commit comments

Comments
 (0)