Enum miniscript::miniscript::analyzable::AnalysisError [−][src]
pub enum AnalysisError { SiglessBranch, RepeatedPubkeys, BranchExceedResouceLimits, HeightTimeLockCombination, Malleable, }
Expand description
Possible reasons Miniscript guarantees can fail We currently mark Miniscript as Non-Analyzable if
- It is unsafe(does not require a digital signature to spend it)
- It contains a unspendable path because of either a. Resource limitations b. Timelock Mixing
- The script is malleable and thereby some of satisfaction weight guarantees are not satisfied.
- It has repeated publickeys
Variants
Top level is not safe.
Repeated Pubkeys
Miniscript contains at least one path that exceeds resource limits
Contains a combination of heightlock and timelock
Malleable script