Skip to content

Commit 89578b4

Browse files
committed
f Mention features again in client docs
1 parent 012be1e commit 89578b4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lightning-transaction-sync/src/esplora.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ use core::ops::Deref;
2323
/// transactions and outputs to monitor for on-chain confirmation, unconfirmation, and
2424
/// reconfirmation.
2525
///
26+
/// This uses and exposes either a blocking or async client variant dependent on whether the
27+
/// `esplora-blocking` or the `esplora-async` feature is enabled.
28+
///
2629
/// [`Esplora`]: https://github.com/Blockstream/electrs
2730
/// [`ChainMonitor`]: lightning::chain::chainmonitor::ChainMonitor
2831
/// [`Filter`]: lightning::chain::Filter
@@ -333,11 +336,11 @@ type MutexType<I> = futures::lock::Mutex<I>;
333336
#[cfg(not(feature = "async-interface"))]
334337
type MutexType<I> = std::sync::Mutex<I>;
335338

336-
/// The underlying client type.
339+
// The underlying client type.
337340
#[cfg(feature = "async-interface")]
338-
pub type EsploraClientType = AsyncClient;
341+
type EsploraClientType = AsyncClient;
339342
#[cfg(not(feature = "async-interface"))]
340-
pub type EsploraClientType = BlockingClient;
343+
type EsploraClientType = BlockingClient;
341344

342345

343346
impl<L: Deref> Filter for EsploraSyncClient<L>

0 commit comments

Comments
 (0)