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

Method NeedsSignature

src/script/miniscript.h:1687–1687  ·  view source on GitHub ↗

Check whether this script always needs a signature.

Source from the content-addressed store, hash-verified

1685
1686 //! Check whether this script always needs a signature.
1687 bool NeedsSignature() const { return GetType() << "s"_mst; }
1688
1689 //! Check whether there is no satisfaction path that contains both timelocks and heightlocks
1690 bool CheckTimeLocksMix() const { return GetType() << "k"_mst; }

Callers 2

ParseScriptFunction · 0.80
TestMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestMethod · 0.64