MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / FormatVersion

Function FormatVersion

src/commons/util/util.cpp:907–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907string FormatVersion(int nVersion) {
908 if (nVersion % 100 == 0)
909 return strprintf("%d.%d.%d", nVersion / 1000000, (nVersion / 10000) % 100,
910 (nVersion / 100) % 100);
911 else
912 return strprintf("%d.%d.%d.%d", nVersion / 1000000, (nVersion / 10000) % 100,
913 (nVersion / 100) % 100, nVersion % 100);
914}
915
916string FormatFullVersion() { return CLIENT_BUILD; }
917

Callers 1

FormatSubVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected