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.
ChangeDestinationSource
1 parent c311447 commit b55eec7Copy full SHA for b55eec7
lightning/src/sign/mod.rs
@@ -1071,6 +1071,9 @@ pub trait ChangeDestinationSource {
1071
1072
/// A synchronous helper trait that describes an on-chain wallet capable of returning a (change) destination script.
1073
pub trait ChangeDestinationSourceSync {
1074
+ /// Returns a script pubkey which can be used as a change destination for
1075
+ /// [`OutputSpender::spend_spendable_outputs`].
1076
+ ///
1077
/// This method should return a different value each time it is called, to avoid linking
1078
/// on-chain funds controlled to the same user.
1079
fn get_change_destination_script(&self) -> Result<ScriptBuf, ()>;
0 commit comments