File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,21 @@ impl PsbtParams {
317317 self
318318 }
319319
320+ /// Set the transaction [`Version`].
321+ pub fn version ( & mut self , version : Version ) -> & mut Self {
322+ self . version = Some ( version) ;
323+ self
324+ }
325+
326+ /// Set the [`Sequence`] value to be used as a fallback if not specified by the input.
327+ pub fn fallback_sequence ( & mut self , sequence : Sequence ) -> & mut Self {
328+ self . fallback_sequence = Some ( sequence) ;
329+ self
330+ }
331+
332+ // TODO(@valuedmammal): Should we expose an option to set the `longterm_feerate`, and/or
333+ // set the coin-select `ChangePolicy`?
334+
320335 /// Fill in the global [`Psbt::xpub`]s field with the extended keys of the wallet's
321336 /// descriptors.
322337 ///
You can’t perform that action at this time.
0 commit comments