Return the maximum size in bytes of a witness to satisfy this script non-malleably. Note this does not include the witness script push.
Declared in <script/miniscript.h>
std::optional<uint32_t>
GetWitnessSize() const;
The witness size in bytes, or std::nullopt if no satisfaction exists.