miniscript::Node::ToScript

Builds the CScript encoding of this Miniscript expression.

Synopsis

Declared in <script/miniscript.h>

template<typename Ctx>
CScript
ToScript(Ctx const& ctx) const;

Return Value

The CScript corresponding to this node tree.

Parameters

NameDescription
ctxContext providing key and key-hash byte serializations.