Move router to a separate module
[rust-lightning] / lightning / src / ln / mod.rs
index 369d2789302d2624f2a4f3bd84a6684a1705050a..33f1c5bc1cfb019eb9937b12b5b22502f7dee56a 100644 (file)
 pub mod channelmanager;
 pub mod channelmonitor;
 pub mod msgs;
-pub mod router;
 pub mod peer_handler;
 pub mod chan_utils;
+pub mod features;
+pub(crate) mod onchaintx;
 
 #[cfg(feature = "fuzztarget")]
 pub mod peer_channel_encryptor;
 #[cfg(not(feature = "fuzztarget"))]
 pub(crate) mod peer_channel_encryptor;
 
-#[cfg(feature = "fuzztarget")]
-pub mod features;
-#[cfg(not(feature = "fuzztarget"))]
-pub(crate) mod features;
-
 mod channel;
 mod onion_utils;
+mod wire;
 
 #[cfg(test)]
-#[macro_use] mod functional_test_utils;
+#[macro_use]
+pub(crate) mod functional_test_utils;
 #[cfg(test)]
 mod functional_tests;
 #[cfg(test)]
 mod chanmon_update_fail_tests;
+#[cfg(test)]
+mod reorg_tests;