]> git.bitcoin.ninja Git - rust-lightning/commit
Unify route benchmarking with route tests
authorMatt Corallo <git@bluematt.me>
Thu, 11 May 2023 05:34:00 +0000 (05:34 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 11 May 2023 05:42:21 +0000 (05:42 +0000)
commitfbaa3c4855ec3ebfb62fe91437f4237582db2577
tree186d739a6b3281522fae6b477e91e15949027808
parente61b128967e4f056a0220a002a377d4f03d23015
Unify route benchmarking with route tests

There's a few route tests which do the same thing as the benchmarks
as they're also a good test. However, they didn't share code, which
is somewhat wasteful, so we fix that here.
lightning/src/routing/router.rs