Descriptor::MaxSatisfactionWeight

Get the maximum size of a satisfaction for this descriptor, in weight units.

Synopsis

Declared in <script/descriptor.h>

virtual
std::optional<int64_t>
MaxSatisfactionWeight(bool use_max_sig) const = 0;

Return Value

The maximum satisfaction weight, or nullopt if unknown.

Parameters

NameDescription
use_max_sigWhether to assume ECDSA signatures will have a high-r.