`#[inline]` `CandidateRouteHop` accessors
authorMatt Corallo <git@bluematt.me>
Wed, 6 Dec 2023 01:17:48 +0000 (01:17 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 8 Dec 2023 20:45:06 +0000 (20:45 +0000)
commit57857fd52045abe0988d2d3efe55341be2fe33d5
treef3a7e9535b244c1d02aafe6df546e0c531bb545b
parentfc44e84ca8a6a5bc70e3808e9657d90e20fa3c57
`#[inline]` `CandidateRouteHop` accessors

These are used in the performance-critical routing and scoring
operations, which may happen outside of our crate. Thus, we really
need to allow downstream crates to inline these accessors into
their code, which we do here.
lightning/src/routing/router.rs