File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
lightning-transaction-sync/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff 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" ) ) ]
334337type 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
343346impl < L : Deref > Filter for EsploraSyncClient < L >
You can’t perform that action at this time.
0 commit comments