mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Edit Event::SpendableOutputs
docs to mention OutputSweeper
This commit is contained in:
parent
681106d23f
commit
be8c0d099d
1 changed files with 7 additions and 1 deletions
|
@ -792,9 +792,15 @@ pub enum Event {
|
||||||
},
|
},
|
||||||
/// Used to indicate that an output which you should know how to spend was confirmed on chain
|
/// Used to indicate that an output which you should know how to spend was confirmed on chain
|
||||||
/// and is now spendable.
|
/// 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
|
/// 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.
|
/// 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 {
|
SpendableOutputs {
|
||||||
/// The outputs which you should store as spendable by you.
|
/// The outputs which you should store as spendable by you.
|
||||||
outputs: Vec<SpendableOutputDescriptor>,
|
outputs: Vec<SpendableOutputDescriptor>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue