| 145 | |
| 146 | public: |
| 147 | std::optional<Coin> GetCoin(const COutPoint& outpoint) const final |
| 148 | { |
| 149 | if (auto it{m_data.find(outpoint)}; it != m_data.end()) { |
| 150 | assert(!it->second.IsSpent()); |
| 151 | return it->second; |
| 152 | } |
| 153 | return std::nullopt; |
| 154 | } |
| 155 | |
| 156 | void BatchWrite(CoinsViewCacheCursor& cursor, const uint256&) final |
| 157 | { |
no test coverage detected