projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test utils: include payment_metadata in PassAlongPathArgs.
[rust-lightning]
/
lightning-transaction-sync
/
src
/
lib.rs
diff --git
a/lightning-transaction-sync/src/lib.rs
b/lightning-transaction-sync/src/lib.rs
index 791490d9dfcf2b90f8bfceae99b6ed31304ba23a..7bd4b4aee3f0784d5ad5aa92c7638e49b08790aa 100644
(file)
--- a/
lightning-transaction-sync/src/lib.rs
+++ b/
lightning-transaction-sync/src/lib.rs
@@
-7,12
+7,14
@@
//!
//! ## Features and Backend Support
//!
//!
//! ## Features and Backend Support
//!
-//!- `esplora_blocking` enables syncing against an Esplora backend based on a blocking client.
-//!- `esplora_async` enables syncing against an Esplora backend based on an async client.
+//!- `esplora-blocking` enables syncing against an Esplora backend based on a blocking client.
+//!- `esplora-async` enables syncing against an Esplora backend based on an async client.
+//!- `esplora-async-https` enables the async Esplora client with support for HTTPS.
//!
//! ## Version Compatibility
//!
//!
//! ## 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:
//!
//!
//! ## Usage Example:
//!
@@
-56,9
+58,8
@@
//! [`ChainMonitor`]: lightning::chain::chainmonitor::ChainMonitor
//! [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
//! [`ChainMonitor`]: lightning::chain::chainmonitor::ChainMonitor
//! [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
-// Prefix these with `rustdoc::` when we update our MSRV to be >= 1.52 to remove warnings.
-#![deny(broken_intra_doc_links)]
-#![deny(private_intra_doc_links)]
+#![deny(rustdoc::broken_intra_doc_links)]
+#![deny(rustdoc::private_intra_doc_links)]
#![deny(missing_docs)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![deny(unsafe_code)]
@@
-72,11
+73,17
@@
extern crate bdk_macros;
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
mod esplora;
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
mod esplora;
-#[cfg(any(feature = "e
splora-blocking", feature = "esplora-async
"))]
-mod
common
;
+#[cfg(any(feature = "e
lectrum
"))]
+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;
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;
pub use error::TxSyncError;
#[cfg(any(feature = "esplora-blocking", feature = "esplora-async"))]
pub use esplora::EsploraSyncClient;
+#[cfg(feature = "electrum")]
+pub use electrum::ElectrumSyncClient;