| 35 | const Coin EMPTY_COIN{}; |
| 36 | |
| 37 | bool operator==(const Coin& a, const Coin& b) |
| 38 | { |
| 39 | if (a.IsSpent() && b.IsSpent()) return true; |
| 40 | return a.fCoinBase == b.fCoinBase && a.nHeight == b.nHeight && a.out == b.out; |
| 41 | } |
| 42 | } // namespace |
| 43 | |
| 44 | void initialize_coins_view() |