Skip to content

Commit 108ab0f

Browse files
committed
f Extend field comments
1 parent 61ff1cd commit 108ab0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning-transaction-sync/src/esplora.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ where
3232
{
3333
// Transactions that were registered via the `Filter` interface and have to be processed.
3434
queued_transactions: Mutex<HashSet<Txid>>,
35-
// Transactions that were previously processed, but must not be forgotten yet.
35+
// Transactions that were previously processed, but must not be forgotten
36+
// yet since they still need to be monitored for confirmation on-chain.
3637
watched_transactions: Mutex<HashSet<Txid>>,
3738
// Outputs that were registered via the `Filter` interface and have to be processed.
3839
queued_outputs: Mutex<HashSet<WatchedOutput>>,
39-
// Outputs that were previously processed, but must not be forgotten yet.
40+
// Outputs that were previously processed, but must not be forgotten yet as
41+
// as we still need to monitor any spends on-chain.
4042
watched_outputs: Mutex<HashSet<WatchedOutput>>,
4143
// Indicates whether we need to resync, e.g., after encountering an error.
4244
pending_sync: AtomicBool,

0 commit comments

Comments
 (0)