projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add BackgroundProcessor for ChannelManager persistence and other
[rust-lightning]
/
lightning-block-sync
/
src
/
lib.rs
diff --git
a/lightning-block-sync/src/lib.rs
b/lightning-block-sync/src/lib.rs
index 4f004b8f284c85438b53deae185e26c40be28995..58f77bdcabaf959c770c089bcb5ad960ac78e8b8 100644
(file)
--- a/
lightning-block-sync/src/lib.rs
+++ b/
lightning-block-sync/src/lib.rs
@@
-20,6
+20,12
@@
pub mod rest;
#[cfg(feature = "rpc-client")]
pub mod rpc;
#[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;
use bitcoin::blockdata::block::{Block, BlockHeader};
use bitcoin::hash_types::BlockHash;
use bitcoin::util::uint::Uint256;