[#Descriptor-MaxSatisfactionWeight] = xref:Descriptor.adoc[Descriptor]::MaxSatisfactionWeight :relfileprefix: ../ :mrdocs: Get the maximum size of a satisfaction for this descriptor, in weight units. == Synopsis Declared in `<script/descriptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::optional<int64_t> MaxSatisfactionWeight(bool use_max_sig) const = 0; ---- == Return Value The maximum satisfaction weight, or nullopt if unknown. == Parameters [cols="1,4"] |=== | Name| Description | *use_max_sig* | Whether to assume ECDSA signatures will have a high‐r. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#