]> git.bitcoin.ninja Git - rust-lightning/commit
Use `CandidateRouteHop` as input for `channel_penalty_msat`
authorjbesraa <jbesraa@gmail.com>
Wed, 6 Sep 2023 13:04:08 +0000 (16:04 +0300)
committerjbesraa <jbesraa@gmail.com>
Tue, 5 Dec 2023 19:07:48 +0000 (21:07 +0200)
commitf0ecc3ec73dcdb9303b1bd5ac687a361decce2dd
treeb6a460e612fa90fce9a2fe5010a94cdd3dd22c62
parent04e93fc887bf6db34971037f2f7deae303995a2f
Use `CandidateRouteHop` as input for `channel_penalty_msat`

  We remove `source`, `target` and `scid` from
  `channel_penalty_msat` inputs to consume them from
  `candidate` of type `CandidateRouteHop`
lightning-background-processor/src/lib.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs
lightning/src/util/test_utils.rs