MCPcopy Create free account
hub / github.com/LUX-Core/lux / HasOpSpend

Method HasOpSpend

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

Source from the content-addressed store, hash-verified

719 return Find(OP_CALL) == 1;
720 }
721 bool HasOpSpend() const
722 {
723 return size()==1 && *begin() == OP_SPEND;
724 }
725 /////////////////////////////////////////
726
727 std::string ToString() const;

Callers 2

ConnectBlockFunction · 0.45
CheckBlockFunction · 0.45

Calls 2

sizeFunction · 0.85
beginFunction · 0.85

Tested by

no test coverage detected