Return the maximum size in bytes of a witness to satisfy this script non‐malleably. Note this does not include the witness script push.

Synopsis

Declared in <script/miniscript.h>

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

Return Value

The witness size in bytes, or std::nullopt if no satisfaction exists.

Created with MrDocs