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

Method Spend

src/coins.cpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool CCoins::Spend(uint32_t nPos)
39{
40 if (nPos >= vout.size() || vout[nPos].IsNull())
41 return false;
42 vout[nPos].SetNull();
43 Cleanup();
44 return true;
45}
46
47
48bool CCoinsView::GetCoins(const uint256& txid, CCoins& coins) const { return false; }

Callers 1

UpdateCoinsFunction · 0.80

Calls 4

CleanupClass · 0.85
sizeMethod · 0.45
IsNullMethod · 0.45
SetNullMethod · 0.45

Tested by

no test coverage detected