We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c6ae26 commit 47c8776Copy full SHA for 47c8776
1 file changed
src/policy/concrete.rs
@@ -37,6 +37,9 @@ const MAX_COMPILATION_LEAVES: usize = 1024;
37
/// Concrete policy which corresponds directly to a miniscript structure,
38
/// and whose disjunctions are annotated with satisfaction probabilities
39
/// to assist the compiler.
40
+// Currently the vectors in And/Or are limited to two elements, this is a general miniscript thing
41
+// not specific to rust-miniscript. Eventually we would like to extend these to be n-ary, but first
42
+// we need to decide on a game plan for how to efficiently compile n-ary disjunctions
43
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
44
pub enum Policy<Pk: MiniscriptKey> {
45
/// Unsatisfiable.
0 commit comments