Skip to content

Commit db948ba

Browse files
committed
f add decay example
1 parent a7502e0 commit db948ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lightning/src/routing/scoring.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,11 @@ pub struct ProbabilisticScoringParameters {
414414
/// the available liquidity is halved and the upper-bound moves half-way to the channel's total
415415
/// capacity.
416416
///
417-
/// Default value: 1 hour
417+
/// For example, if the channel's capacity is 1 million sats, and the current upper- and lower-
418+
/// liquidity bounds are 200,000 sats and 600,000 sats, after this amount of time the upper-
419+
/// and lower- liquidity bounds will be decayed to 100,000 and 800,000 sats.
420+
///
421+
/// Default value: hour
418422
///
419423
/// # Note
420424
///

0 commit comments

Comments
 (0)