| 35 | bool IsNull() const { return (hash.IsNull() && n == NULL_INDEX); } |
| 36 | |
| 37 | friend bool operator<(const COutPoint& a, const COutPoint& b) |
| 38 | { |
| 39 | int cmp = a.hash.Compare(b.hash); |
| 40 | return cmp < 0 || (cmp == 0 && a.n < b.n); |
| 41 | } |
| 42 | |
| 43 | friend bool operator==(const COutPoint& a, const COutPoint& b) |
| 44 | { |