rippled
Loading...
Searching...
No Matches
BuildInfo.h
1#ifndef XRPL_PROTOCOL_BUILDINFO_H_INCLUDED
2#define XRPL_PROTOCOL_BUILDINFO_H_INCLUDED
3
4#include <cstdint>
5#include <string>
6
7namespace ripple {
8
10// VFALCO The namespace is deprecated
11namespace BuildInfo {
12
17std::string const&
19
24std::string const&
26
53encodeSoftwareVersion(char const* const versionStr);
54
58
64bool
66
77bool
79
80} // namespace BuildInfo
81
82} // namespace ripple
83
84#endif
std::uint64_t getEncodedVersion()
Returns this server's version packed in a 64-bit integer.
std::string const & getFullVersionString()
Full server version string.
Definition BuildInfo.cpp:62
std::uint64_t encodeSoftwareVersion(char const *const versionStr)
Encode an arbitrary server software version in a 64-bit integer.
Definition BuildInfo.cpp:74
bool isNewerVersion(std::uint64_t version)
Check if the version is newer than the local node's rippled software version.
bool isRippledVersion(std::uint64_t version)
Check if the encoded software version is a rippled software version.
std::string const & getVersionString()
Server version.
Definition BuildInfo.cpp:49
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6