miniscript::Node::CheckDuplicateKey

Check whether there is no duplicate key across this fragment and all its sub-fragments.

Synopsis

Declared in <script/miniscript.h>

bool
CheckDuplicateKey() const;

Return Value

True if no key is duplicated within this fragment or its subfragments.