Merge pull request #2954 from TheBlueMatt/2024-03-test-ci-beta-fail
[rust-lightning] / lightning / src / routing / mod.rs
index 1cf73c2689eecc9029114d7ab6d24c4b19b66557..9e6d8e2afd2f763f90ccff2e2eab517d1f30a573 100644 (file)
@@ -9,14 +9,9 @@
 
 //! Structs and impls for receiving messages about the network and storing the topology live here.
 
-pub mod network_graph;
+pub mod utxo;
+pub mod gossip;
 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;
+#[cfg(test)]
+pub(crate) mod test_utils;