Skip to content

Commit 8629fcd

Browse files
committed
f add note that its all addition
1 parent 569561d commit 8629fcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/routing/scoring.rs

+3
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ where L::Target: Logger {
324324
///
325325
/// Used to configure base, liquidity, and amount penalties, the sum of which comprises the channel
326326
/// penalty (i.e., the amount in msats willing to be paid to avoid routing through the channel).
327+
///
328+
/// The penalty applied to any channel by the [`ProbabilisticScorer`] is the sum of each of the
329+
/// parameters here.
327330
#[derive(Clone)]
328331
pub struct ProbabilisticScoringParameters {
329332
/// A fixed penalty in msats to apply to each channel.

0 commit comments

Comments
 (0)