@@ -17,11 +17,8 @@ use crate::{Miniscript, MiniscriptKey, ScriptContext, Terminal};
1717///
1818/// This allows parsing miniscripts if
1919/// 1. It is unsafe(does not require a digital signature to spend it)
20- /// 2. It contains a unspendable path because of either
21- /// a. Resource limitations
22- /// b. Timelock Mixing
23- /// 3. The script is malleable and thereby some of satisfaction weight
24- /// guarantees are not satisfied.
20+ /// 2. It contains a unspendable path because of either resource limitations or timelock mixing.
21+ /// 3. The script is malleable and thereby some of satisfaction weight guarantees are not satisfied.
2522/// 4. It has repeated public keys
2623/// 5. raw pkh fragments without the pk. This could be obtained when parsing miniscript from script
2724#[ derive( Debug , PartialEq , Eq , PartialOrd , Ord , Clone , Copy , Default , Hash ) ]
@@ -123,11 +120,8 @@ impl ExtParams {
123120/// Possible reasons Miniscript guarantees can fail
124121/// We currently mark Miniscript as Non-Analyzable if
125122/// 1. It is unsafe(does not require a digital signature to spend it)
126- /// 2. It contains a unspendable path because of either
127- /// a. Resource limitations
128- /// b. Timelock Mixing
129- /// 3. The script is malleable and thereby some of satisfaction weight
130- /// guarantees are not satisfied.
123+ /// 2. It contains a unspendable path because of either resource limitations or timelock mixing.
124+ /// 3. The script is malleable and thereby some of satisfaction weight guarantees are not satisfied.
131125/// 4. It has repeated publickeys
132126#[ derive( Debug , PartialEq ) ]
133127pub enum AnalysisError {
0 commit comments