]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor `max_mpp_path_count` to `max_path_count`
authorElias Rohrer <ero@tnull.de>
Fri, 24 Jun 2022 08:53:49 +0000 (10:53 +0200)
committerElias Rohrer <ero@tnull.de>
Wed, 6 Jul 2022 06:06:35 +0000 (08:06 +0200)
commit790abc540d46053cacc03893e92ad57454900e94
tree20dfd92287a56107c94d48820eb33da636c8e48f
parentf3d5b945c3c9d5b1d9abb3d1cd58f4159d1084e3
Refactor `max_mpp_path_count` to `max_path_count`

Using this field just for MPP doesn't make sense when it could
intuitively also be used to indicate single-path payments. We therefore
rename `max_mpp_path_count` to `max_path_count` and make sure that a
value of 1 ensures MPP is not even tried.
lightning/src/routing/router.rs