Merge pull request #1314 from TheBlueMatt/2022-02-accept_chan_type
[rust-lightning] / lightning / src / routing / mod.rs
index 1cf73c2689eecc9029114d7ab6d24c4b19b66557..a3ab6c0c1b30ff04e50ab5892b91ef358a1980f2 100644 (file)
 
 pub mod network_graph;
 pub mod router;
-pub mod scorer;
-
-/// An interface used to score payment channels for path finding.
-///
-///    Scoring is in terms of fees willing to be paid in order to avoid routing through a channel.
-pub trait Score {
-       /// Returns the fee in msats willing to be paid to avoid routing through the given channel.
-       fn channel_penalty_msat(&self, short_channel_id: u64) -> u64;
-}
+pub mod scoring;