| 36 | } |
| 37 | |
| 38 | bool 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 | |
| 48 | bool CCoinsView::GetCoins(const uint256& txid, CCoins& coins) const { return false; } |
no test coverage detected