Skip to content

Commit

Permalink
Merge pull request #3511 from cequals/amackillop/2024-12-30/add-debug…
Browse files Browse the repository at this point in the history
…-to-scorer-params

Add debug implementations for scoring parameters
  • Loading branch information
TheBlueMatt authored Jan 9, 2025
2 parents 7c77daf + 48ceefd commit 0282cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightning/src/routing/scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ where L::Target: Logger {
///
/// The penalty applied to any channel by the [`ProbabilisticScorer`] is the sum of each of the
/// parameters here.
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct ProbabilisticScoringFeeParameters {
/// A fixed penalty in msats to apply to each channel.
///
Expand Down Expand Up @@ -742,7 +742,7 @@ impl ProbabilisticScoringFeeParameters {
/// Used to configure decay parameters that are static throughout the lifetime of the scorer.
/// these decay parameters affect the score of the channel penalty and are not changed on a
/// per-route penalty cost call.
#[derive(Copy, Clone)]
#[derive(Copy, Clone, Debug)]
pub struct ProbabilisticScoringDecayParameters {
/// If we aren't learning any new datapoints for a channel, the historical liquidity bounds
/// tracking can simply live on with increasingly stale data. Instead, when a channel has not
Expand Down

0 comments on commit 0282cfb

Please sign in to comment.