miniscript::Node::DuplicateKeyCheck

Update duplicate key information in this Node.

Synopsis

Declared in <script/miniscript.h>

template<typename Ctx>
void
DuplicateKeyCheck(Ctx const& ctx) const;

Description

This uses a custom key comparator provided by the context in order to still detect duplicates for more complicated types.

Parameters

NameDescription
ctxContext providing the key comparator used to detect duplicates.