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
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 more