| 131 | (a.vch[0] == b.vch[0] && memcmp(a.vch, b.vch, a.size()) < 0); |
| 132 | } |
| 133 | friend bool operator>(const CPubKey& a, const CPubKey& b) |
| 134 | { |
| 135 | return a.vch[0] > b.vch[0] || |
| 136 | (a.vch[0] == b.vch[0] && memcmp(a.vch, b.vch, a.size()) > 0); |
| 137 | } |
| 138 | |
| 139 | //! Implement serialization, as if this was a byte vector. |
| 140 | template <typename Stream> |