]> git.bitcoin.ninja Git - rust-lightning/commit
Rename amount penalty to `liquidity_penalty_amount_multiplier_msat` 2022-07-base-ppm
authorMatt Corallo <git@bluematt.me>
Thu, 21 Jul 2022 17:47:19 +0000 (17:47 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 25 Jul 2022 19:22:24 +0000 (19:22 +0000)
commit7f80972e1fd91f3743944857026f7b39aa788b9a
tree552abcdb8363bd967208f2fcb375fb754a7b5361
parentfe39a89ab3b4a7542d68ad33505a36a1e84152d0
Rename amount penalty to `liquidity_penalty_amount_multiplier_msat`

This makes our `ProbabilisticScorer` field names more consistent,
as we add more types of penalties, referring to a penalty as only
the "amount penalty" no longer makes sense - we not have several
amount multiplier penalties.
lightning/src/routing/scoring.rs