Expose the historical success probability calculation itself
authorMatt Corallo <git@bluematt.me>
Sat, 20 May 2023 23:28:18 +0000 (23:28 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Aug 2023 21:15:11 +0000 (21:15 +0000)
commit534d7317cf7ee4dd9294b6c028eaa470fb9257db
tree4770265b8732e580c7a81e83220ae91697e95b13
parent568731008ec858dc8865b4e72f2911d3e52400c8
Expose the historical success probability calculation itself

In 3f32f60ae7e75a4be96d3d5adc8d18b53445e5e5 we exposed the
historical success probability buckets directly, with a long method
doc explaining how to use it. While this is great for logging
exactly what the internal model thinks, its also helpful to let
users know what the internal model thinks the success probability
is directly, allowing them to compare route success probabilities.

Here we do so but only for the historical tracking buckets.
lightning/src/routing/scoring.rs