Store whether a forwarded HTLC is blinded in PendingHTLCRouting
[rust-lightning] / lightning-transaction-sync / src / lib.rs
index 05b71d21bb5faaa05d5b0cebccb252b69e9e8db0..21b6a4e97c15d0e3261251db829dc1c38e7c9c92 100644 (file)
@@ -13,7 +13,8 @@
 //!
 //! ## Version Compatibility
 //!
-//! Currently this crate is compatible with nodes that were created with LDK version 0.0.113 and above.
+//! Currently this crate is compatible with LDK version 0.0.114 and above using channels which were
+//! created on LDK version 0.0.113 and above.
 //!
 //! ## Usage Example:
 //!
@@ -73,11 +74,17 @@ extern crate bdk_macros;
 #[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
 mod esplora;
 
-#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
-mod common;
+#[cfg(any(feature = "electrum"))]
+mod electrum;
 
+#[cfg(any(feature = "esplora-blocking", feature = "esplora-async", feature = "electrum"))]
+mod common;
+#[cfg(any(feature = "esplora-blocking", feature = "esplora-async", feature = "electrum"))]
 mod error;
+#[cfg(any(feature = "esplora-blocking", feature = "esplora-async", feature = "electrum"))]
 pub use error::TxSyncError;
 
 #[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
 pub use esplora::EsploraSyncClient;
+#[cfg(feature = "electrum")]
+pub use electrum::ElectrumSyncClient;