Constructs a node with subexpressions and data bytes, performing the duplicate key check.
Declared in <script/miniscript.h>
template<typename Ctx>
Node(
Ctx const& ctx,
Fragment nt,
std::vector<Node> sub,
std::vector<unsigned char> arg,
uint32_t val = 0);
| Name | Description |
|---|---|
| ctx | Context providing the script context and key comparator. |
| nt | The fragment (node type). |
| sub | The subexpressions. |
| arg | The data bytes. |
| val | The k value (timelock value or threshold). |