pub enum BuildSatisfaction<'a> {
None,
Psbt(&'a Psbt),
PsbtTimelocks {
psbt: &'a Psbt,
current_height: u32,
input_max_height: u32,
},
}
Expand description
Options to build the satisfaction field in the policy
Variants§
None
Don’t generate satisfaction
field
Psbt(&'a Psbt)
Analyze the given PSBT to check for existing signatures
PsbtTimelocks
Like Psbt
variant and also check for expired timelocks
Trait Implementations§
Source§impl<'a> Clone for BuildSatisfaction<'a>
impl<'a> Clone for BuildSatisfaction<'a>
Source§fn clone(&self) -> BuildSatisfaction<'a>
fn clone(&self) -> BuildSatisfaction<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for BuildSatisfaction<'a>
impl<'a> Debug for BuildSatisfaction<'a>
impl<'a> Copy for BuildSatisfaction<'a>
Auto Trait Implementations§
impl<'a> Freeze for BuildSatisfaction<'a>
impl<'a> RefUnwindSafe for BuildSatisfaction<'a>
impl<'a> Send for BuildSatisfaction<'a>
impl<'a> Sync for BuildSatisfaction<'a>
impl<'a> Unpin for BuildSatisfaction<'a>
impl<'a> UnwindSafe for BuildSatisfaction<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more