MCPcopy Create free account
hub / github.com/LUX-Core/lux / CompareTo

Method CompareTo

src/base58.cpp:210–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210int CBase58Data::CompareTo(const CBase58Data& b58) const
211{
212 if (vchVersion < b58.vchVersion)
213 return -1;
214 if (vchVersion > b58.vchVersion)
215 return 1;
216 if (vchData < b58.vchData)
217 return -1;
218 if (vchData > b58.vchData)
219 return 1;
220 return 0;
221}
222
223namespace
224{

Callers 10

operator>Method · 0.45
operator<Method · 0.45
operator>=Method · 0.45
operator<=Method · 0.45
operator==Method · 0.45
operator!=Method · 0.45
operator>Method · 0.45
operator<Method · 0.45
operator>=Method · 0.45
operator<=Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected