miniscript::Node::IsSane

Check whether this node is safe as a script on its own.

Synopsis

Declared in <script/miniscript.h>

bool
IsSane() const;

Return Value

True if this node is a safe top-level script.