X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fevents%2Fmod.rs;h=c696f49a2245ad81a719865f283e51c75f653fab;hb=fd237101fd3c0ba9fa5838f7463f49cede84f124;hp=d34db885f7c4e0d24ad52281f143f5fb08c385ad;hpb=56a87ccf7b0c87635cd1afe56839748f901eb015;p=rust-lightning diff --git a/lightning/src/events/mod.rs b/lightning/src/events/mod.rs index d34db885..c696f49a 100644 --- a/lightning/src/events/mod.rs +++ b/lightning/src/events/mod.rs @@ -886,9 +886,15 @@ pub enum Event { }, /// Used to indicate that an output which you should know how to spend was confirmed on chain /// and is now spendable. - /// Such an output will *not* ever be spent by rust-lightning, and are not at risk of your + /// + /// Such an output will *never* be spent directly by LDK, and are not at risk of your /// counterparty spending them due to some kind of timeout. Thus, you need to store them /// somewhere and spend them when you create on-chain transactions. + /// + /// You may hand them to the [`OutputSweeper`] utility which will store and (re-)generate spending + /// transactions for you. + /// + /// [`OutputSweeper`]: crate::util::sweep::OutputSweeper SpendableOutputs { /// The outputs which you should store as spendable by you. outputs: Vec,