miniscript::Node::Node

Constructs a node with data bytes, bypassing the duplicate key check.

Synopsis

Declared in <script/miniscript.h>

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

Parameters

NameDescription
no_dup_checkTag selecting the constructor that skips the duplicate key check.
script_ctxThe script context (P2WSH or Tapscript).
ntThe fragment (node type).
argThe data bytes.
valThe k value (timelock value or threshold).