File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -362,10 +362,10 @@ pub struct ProbabilisticScoringParameters {
362
362
/// Default value: 256 msat
363
363
pub amount_penalty_multiplier_msat : u64 ,
364
364
365
- /// This penalty is applied so we prefer nodes with a smaller `htlc_maximum_msat`, which makes
366
- /// balance discovery attacks harder to execute. As this improves privacy network-wide, we
367
- /// treat such nodes preferentially and hence create an incentive to restrict
368
- /// `htlc_maximum_msat`.
365
+ /// This penalty is applied when `htlc_maximum_msat` is equal to or larger than half of the
366
+ /// channel's capacity, which makes us prefer nodes with a smaller `htlc_maximum_msat`. We
367
+ /// treat such nodes preferentially as this makes balance discovery attacks harder to execute,
368
+ /// thereby creating an incentive to restrict `htlc_maximum_msat` and improve privacy .
369
369
///
370
370
/// Default value: 500 msat
371
371
pub anti_probing_penalty_msat : u64 ,
You can’t perform that action at this time.
0 commit comments