Skip to content

Commit 8c8e18e

Browse files
committed
f doc cleanups from G8XSU
1 parent 0354d4d commit 8c8e18e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lightning/src/routing/scoring.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -796,12 +796,12 @@ impl<G: Deref<Target = NetworkGraph<L>>, L: Deref, T: Time> ProbabilisticScorerU
796796
/// Query the historical estimated minimum and maximum liquidity available for sending a
797797
/// payment over the channel with `scid` towards the given `target` node.
798798
///
799-
/// Returns two sets of 8 buckets. The first set describes the octiles in which we've seen our
800-
/// lower-bound liquidity estimates, the second set describes the octiles in which we've seen
801-
/// our upper-bound liquidity estimates. Each bucket describes the relative frequency at which
802-
/// we've seen a liquidity bound in the octile relative to the channel's total capacity, on an
803-
/// arbitrary scale. Because the values are slowly decayed, more recent data points count for
804-
/// more than older datapoints.
799+
/// Returns two sets of 8 buckets. The first set describes the octiles for lower-bound
800+
/// liquidity estimates, the second set describes the octiles forupper-bound liquidity
801+
/// estimates. Each bucket describes the relative frequency at which we've seen a liquidity
802+
/// bound in the octile relative to the channel's total capacity, on an arbitrary scale.
803+
/// Because the values are slowly decayed, more recent data points are weighted more heavily
804+
/// than older datapoints.
805805
///
806806
/// When scoring, the estimated probability that an upper-/lower-bound lies in a given octile
807807
/// relative to the channel's total capacity is calculated by dividing that bucket's value with

0 commit comments

Comments
 (0)