Skip to content

Commit ddd83eb

Browse files
committed
Deprecate Scorer in favor of ProbabilisticScorer
1 parent aa8fa1f commit ddd83eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/routing/scoring.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ impl<'a, S: Writeable> Writeable for MutexGuard<'a, S> {
203203
/// See [module-level documentation] for usage and [`ScoringParameters`] for customization.
204204
///
205205
/// [module-level documentation]: crate::routing::scoring
206+
#[deprecated(
207+
since = "0.0.105",
208+
note = "ProbabilisticScorer should be used instead of Scorer.",
209+
)]
206210
pub type Scorer = ScorerUsingTime::<ConfiguredTime>;
207211

208212
#[cfg(not(feature = "no-std"))]

0 commit comments

Comments
 (0)