Encapsulate message wire encoding into a module
[rust-lightning] / lightning / src / ln / mod.rs
index 9b1b442a9237ff1ff2ccfba7117904241c6a169c..9a2a90fd4fd6e9444bf3a5cbcaa8f68b97be9407 100644 (file)
@@ -14,6 +14,8 @@ pub mod channelmonitor;
 pub mod msgs;
 pub mod router;
 pub mod peer_handler;
+pub mod chan_utils;
+pub mod features;
 
 #[cfg(feature = "fuzztarget")]
 pub mod peer_channel_encryptor;
@@ -21,8 +23,8 @@ pub mod peer_channel_encryptor;
 pub(crate) mod peer_channel_encryptor;
 
 mod channel;
-mod chan_utils;
 mod onion_utils;
+mod wire;
 
 #[cfg(test)]
 #[macro_use] mod functional_test_utils;