File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,8 @@ pub struct ProbabilisticScoringParameters {
331
331
/// Default value: 500 msat
332
332
pub base_penalty_msat : u64 ,
333
333
334
- /// A fixed penalty in msats to apply to each channel, multiplied by the payment amount.
334
+ /// A fixed penalty in msats to apply to each channel, multiplied by the payment amount, in
335
+ /// excess of the [`base_penalty_msat`].
335
336
///
336
337
/// The purpose of the amount penalty is to avoid having fees dominate the channel cost (i.e.,
337
338
/// fees plus penalty) for large payments. The penalty is computed as the product of this
@@ -340,6 +341,8 @@ pub struct ProbabilisticScoringParameters {
340
341
/// ie `amount_penalty_multiplier_msat * amount_msat / 2^30`
341
342
///
342
343
/// Default value: 8,192 msat
344
+ ///
345
+ /// [`base_penalty_msat`]: Self::base_penalty_msat
343
346
pub base_penalty_amount_multiplier_msat : u64 ,
344
347
345
348
/// A multiplier used in conjunction with the negative `log10` of the channel's success
You can’t perform that action at this time.
0 commit comments