We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69fa99 commit a950b8fCopy full SHA for a950b8f
lightning/src/routing/mod.rs
@@ -19,7 +19,8 @@ use routing::network_graph::NodeId;
19
///
20
/// Scoring is in terms of fees willing to be paid in order to avoid routing through a channel.
21
pub trait Score {
22
- /// Returns the fee in msats willing to be paid to avoid routing through the given channel.
+ /// Returns the fee in msats willing to be paid to avoid routing through the given channel from
23
+ /// `source` to `destination`.
24
fn channel_penalty_msat(
25
&self, short_channel_id: u64, source: &NodeId, destination: &NodeId
26
) -> u64;
0 commit comments