Constructs a node with keys, bypassing the duplicate key check.

Synopsis

Declared in <script/miniscript.h>

Node(
    /* implementation-defined */ no_dup_check,
    MiniscriptContext script_ctx,
    Fragment nt,
    std::vector<Key> key,
    uint32_t val = 0);

Parameters

Name

Description

no_dup_check

Tag selecting the constructor that skips the duplicate key check.

script_ctx

The script context (P2WSH or Tapscript).

nt

The fragment (node type).

key

The keys.

val

The k value (timelock value or threshold).

Created with MrDocs