rust-lightning/lightning
Matt Corallo b84842a904 Add a scoring decay method to the ScoreUpdate trait
Rather than relying on fetching the current time during
routefinding, here we introduce a new trait method to `ScoreUpdate`
to do so. This largely mirrors what we do with the `NetworkGraph`,
and allows us to take on much more expensive operations (floating
point exponentiation) in our decaying.
2023-12-13 23:26:09 +00:00
..
src Add a scoring decay method to the ScoreUpdate trait 2023-12-13 23:26:09 +00:00
Cargo.toml Depend on libm in no-std for powf(64) 2023-12-13 18:36:40 +00:00