Return the maximum number of ops needed to satisfy this script non‐malleably.

Synopsis

Declared in <script/miniscript.h>

std::optional<uint32_t>
GetOps() const;

Return Value

The op count, or std::nullopt if no satisfaction exists.

Created with MrDocs