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
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
Mutably borrows from an owned value. Read more