Enum bdk::descriptor::policy::BuildSatisfaction
source · 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
Fields
psbt: &'a Psbt
Given PSBT
current_height: u32
Current blockchain height
input_max_height: u32
The highest confirmation height between the inputs CSV should consider different inputs, but we consider the worst condition for the tx as whole
Like Psbt
variant and also check for expired timelocks
Trait Implementations
sourceimpl<'a> Clone for BuildSatisfaction<'a>
impl<'a> Clone for BuildSatisfaction<'a>
sourcefn clone(&self) -> BuildSatisfaction<'a>
fn clone(&self) -> BuildSatisfaction<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for BuildSatisfaction<'a>
impl<'a> Debug for BuildSatisfaction<'a>
impl<'a> Copy for BuildSatisfaction<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more