Return the maximum size of the stack during execution of this script.
Declared in <script/miniscript.h>
<script/miniscript.h>
std::optional<uint32_t> GetExecStackSize() const;
The peak execution stack size, or std::nullopt if no satisfaction exists.