[#miniscript-Node-2constructor-0fd] = xref:miniscript.adoc[miniscript]::xref:miniscript/Node.adoc[Node]::Node :relfileprefix: ../../ :mrdocs: Constructs a node with subexpressions, performing the duplicate key check. == Synopsis Declared in `<script/miniscript.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Ctx> Node( Ctx const& ctx, xref:miniscript/Fragment.adoc[Fragment] nt, std::vector<Node> sub, uint32_t val = 0); ---- == Parameters [cols="1,4"] |=== | 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). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#