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

Method GetStaticOps

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

Return the number of ops in the script (not counting the dynamic ones that depend on execution).

Source from the content-addressed store, hash-verified

1566
1567 //! Return the number of ops in the script (not counting the dynamic ones that depend on execution).
1568 uint32_t GetStaticOps() const { return ops.count; }
1569
1570 //! Check the ops limit of this script against the consensus limit.
1571 bool CheckOpsLimit() const {

Callers 1

GenNodeFunction · 0.80

Calls

no outgoing calls

Tested by 1

GenNodeFunction · 0.64