Skip to content

Commit

Permalink
f doc cleanups from G8XSU
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Jan 23, 2023
1 parent 0354d4d commit 8c8e18e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lightning/src/routing/scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -796,12 +796,12 @@ impl<G: Deref<Target = NetworkGraph<L>>, L: Deref, T: Time> ProbabilisticScorerU
/// Query the historical estimated minimum and maximum liquidity available for sending a
/// payment over the channel with `scid` towards the given `target` node.
///
/// Returns two sets of 8 buckets. The first set describes the octiles in which we've seen our
/// lower-bound liquidity estimates, the second set describes the octiles in which we've seen
/// our upper-bound liquidity estimates. Each bucket describes the relative frequency at which
/// we've seen a liquidity bound in the octile relative to the channel's total capacity, on an
/// arbitrary scale. Because the values are slowly decayed, more recent data points count for
/// more than older datapoints.
/// Returns two sets of 8 buckets. The first set describes the octiles for lower-bound
/// liquidity estimates, the second set describes the octiles forupper-bound liquidity
/// estimates. Each bucket describes the relative frequency at which we've seen a liquidity
/// bound in the octile relative to the channel's total capacity, on an arbitrary scale.
/// Because the values are slowly decayed, more recent data points are weighted more heavily
/// than older datapoints.
///
/// When scoring, the estimated probability that an upper-/lower-bound lies in a given octile
/// relative to the channel's total capacity is calculated by dividing that bucket's value with
Expand Down

0 comments on commit 8c8e18e

Please sign in to comment.