pub mod peer_handler;
pub mod chan_utils;
pub mod features;
-pub mod onchaintx;
-pub mod package;
#[cfg(feature = "fuzztarget")]
pub mod peer_channel_encryptor;
#[cfg(test)]
#[allow(unused_mut)]
mod onion_route_tests;
+#[cfg(test)]
+#[allow(unused_mut)]
+mod monitor_tests;
pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
pub struct PaymentSecret(pub [u8;32]);
+use prelude::*;
use bitcoin::bech32;
use bitcoin::bech32::{Base32Len, FromBase32, ToBase32, WriteBase32, u5};