Implement BlockSource for REST and RPC clients
[rust-lightning] / lightning-block-sync / src / lib.rs
index 4f004b8f284c85438b53deae185e26c40be28995..58f77bdcabaf959c770c089bcb5ad960ac78e8b8 100644 (file)
@@ -20,6 +20,12 @@ pub mod rest;
 #[cfg(feature = "rpc-client")]
 pub mod rpc;
 
+#[cfg(any(feature = "rest-client", feature = "rpc-client"))]
+mod convert;
+
+#[cfg(any(feature = "rest-client", feature = "rpc-client"))]
+mod utils;
+
 use bitcoin::blockdata::block::{Block, BlockHeader};
 use bitcoin::hash_types::BlockHash;
 use bitcoin::util::uint::Uint256;