Skip to content

Commit 204a51a

Browse files
committed
f Mention watch_channel
1 parent 85156ce commit 204a51a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning-transaction-sync/src/esplora.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ use core::ops::Deref;
2323
/// transactions and outputs to monitor for on-chain confirmation, unconfirmation, and
2424
/// reconfirmation.
2525
///
26+
/// Note that registration via [`Filter`] needs to happen before any calls to
27+
/// [`Watch::watch_channel`] to ensure we get notified of the items to monitor.
28+
///
2629
/// This uses and exposes either a blocking or async client variant dependent on whether the
2730
/// `esplora-blocking` or the `esplora-async` feature is enabled.
2831
///
2932
/// [`Esplora`]: https://github.com/Blockstream/electrs
3033
/// [`ChainMonitor`]: lightning::chain::chainmonitor::ChainMonitor
34+
/// [`Watch::watch_channel`]: lightning::chain::Watch::watch_channel
3135
/// [`Filter`]: lightning::chain::Filter
3236
pub struct EsploraSyncClient<L: Deref>
3337
where

0 commit comments

Comments
 (0)