You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
policy: Implement Simplicity key traits for Miniscript equivalents
This is the easiest solution to use Miniscript keys in Simplicity
contexts. We focused on subtraits before, which would require changes to
(Elements) Miniscript, but we can also use generic impl blocks, as long
as they are inside rust-simplicity (orphan rule). We removed
elements-miniscript from rust-simplicity to avoid a cyclic dependency.
MiniscriptKey is defined in rust-miniscript, so importing it here does
not create a cycle. We get a diamond pattern where both
elements-miniscript and rust-simplicity depend on the same library,
which should be okay.
0 commit comments