aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2022-04-14 19:01:26 +0200
committerAntoine Poinsot <darosior@protonmail.com>2022-05-30 15:16:43 +0200
commit7a549c6c59e6babbae76af008433426c6fa38fe2 (patch)
tree5b4646fa4050cbb0887e1209c094c1e0df0c3f5b /src/protocol.h
parent8c0f8bf7bc3750fad648af1a548517a272114bca (diff)
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.
Diffstat (limited to 'src/protocol.h')
0 files changed, 0 insertions, 0 deletions