Constructs a node with subexpressions, performing the duplicate key check.

Synopsis

Declared in <script/miniscript.h>

template<typename Ctx>
Node(
    Ctx const& ctx,
    Fragment nt,
    std::vector<Node> sub,
    uint32_t val = 0);

Parameters

Name

Description

ctx

Context providing the script context and key comparator.

nt

The fragment (node type).

sub

The subexpressions.

val

The k value (timelock value or threshold).

Created with MrDocs