Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ConnectBlock
Function · 0.45
CheckBlock
Function · 0.45
Calls
2
size
Function · 0.85
begin
Function · 0.85
Tested by
no test coverage detected