MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MaxSatSize

Method MaxSatSize

src/script/descriptor.cpp:1729–1733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1727 std::optional<int64_t> ScriptSize() const override { return m_node.ScriptSize(); }
1728
1729 std::optional<int64_t> MaxSatSize(bool) const override
1730 {
1731 // For Miniscript we always assume high-R ECDSA signatures.
1732 return m_node.GetWitnessSize();
1733 }
1734
1735 std::optional<int64_t> MaxSatisfactionElems() const override
1736 {

Callers

nothing calls this directly

Calls 1

GetWitnessSizeMethod · 0.80

Tested by

no test coverage detected