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.
replace_by_fee
1 parent e9a2edc commit adf7bdeCopy full SHA for adf7bde
src/wallet/mod.rs
@@ -3039,6 +3039,20 @@ impl Wallet {
3039
)
3040
}
3041
3042
+ /// Creates a Replace-By-Fee transaction (RBF) and returns the updated [`Psbt`] and
3043
+ /// [`Finalizer`].
3044
+ ///
3045
+ /// ### Parameters:
3046
3047
+ /// - `params`: [`ReplaceParams`]
3048
+ #[cfg(feature = "std")]
3049
+ pub fn replace_by_fee(
3050
+ &self,
3051
+ params: ReplaceParams,
3052
+ ) -> Result<(Psbt, Finalizer), ReplaceByFeeError> {
3053
+ self.replace_by_fee_with_aux_rand(params, &mut rand::thread_rng())
3054
+ }
3055
+
3056
/// Creates a Replace-By-Fee transaction (RBF) and returns the updated [`Psbt`] and
3057
/// [`Finalizer`].
3058
///
0 commit comments