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

Method SetNull

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

Source from the content-addressed store, hash-verified

586 bool IsNull() const { return stack.empty(); }
587
588 void SetNull() { stack.clear(); stack.shrink_to_fit(); }
589
590 std::string ToString() const;
591

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
shrink_to_fitMethod · 0.45

Tested by

no test coverage detected