We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
register_output
1 parent 7b04b80 commit c1ad123Copy full SHA for c1ad123
lightning/src/chain/mod.rs
@@ -332,6 +332,10 @@ pub trait Filter {
332
fn register_tx(&self, txid: &Txid, script_pubkey: &Script);
333
334
/// Registers interest in spends of a transaction output.
335
+ ///
336
+ /// Note that this method might be called during processing of a new block. You therefore need
337
+ /// to ensure that also dependent output spents within a block are correctly handled, e.g., by
338
+ /// re-scanning the block in question whenever new outputs have been registered mid-processing.
339
fn register_output(&self, output: WatchedOutput);
340
}
341
0 commit comments