Commit 7a549c6
committed
miniscript: mark nodes with duplicate keys as insane
As stated on the website, duplicate keys make it hard to reason about
malleability as a single signature may unlock multiple paths.
We use a custom KeyCompare function instead of operator< to be explicit
about the requirement.1 parent 8c0f8bf commit 7a549c6
File tree
3 files changed
+150
-69
lines changed- src
- script
- test
- fuzz
3 files changed
+150
-69
lines changed
0 commit comments