| 65 | bool IsNull() const { return (hash.IsNull() && n == NULL_INDEX); } |
| 66 | |
| 67 | friend bool operator<(const COutPoint& a, const COutPoint& b) |
| 68 | { |
| 69 | int cmp = a.hash.Compare(b.hash); |
| 70 | return cmp < 0 || (cmp == 0 && a.n < b.n); |
| 71 | } |
| 72 | |
| 73 | friend bool operator==(const COutPoint& a, const COutPoint& b) |
| 74 | { |