@@ -17,11 +17,8 @@ use crate::{Miniscript, MiniscriptKey, ScriptContext, Terminal};
17
17
///
18
18
/// This allows parsing miniscripts if
19
19
/// 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.
25
22
/// 4. It has repeated public keys
26
23
/// 5. raw pkh fragments without the pk. This could be obtained when parsing miniscript from script
27
24
#[ derive( Debug , PartialEq , Eq , PartialOrd , Ord , Clone , Copy , Default , Hash ) ]
@@ -123,11 +120,8 @@ impl ExtParams {
123
120
/// Possible reasons Miniscript guarantees can fail
124
121
/// We currently mark Miniscript as Non-Analyzable if
125
122
/// 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.
131
125
/// 4. It has repeated publickeys
132
126
#[ derive( Debug , PartialEq ) ]
133
127
pub enum AnalysisError {
0 commit comments