Files
bitcoin/src/test/miniscript_tests.cpp
Antoine Poinsot 7a549c6c59 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.
2022-05-30 15:16:43 +02:00

32 KiB