rippled
Loading...
Searching...
No Matches
BuildInfo.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6namespace xrpl {
7
9// VFALCO The namespace is deprecated
10namespace BuildInfo {
11
16std::string const&
18
23std::string const&
25
52encodeSoftwareVersion(char const* const versionStr);
53
57
63bool
65
76bool
78
79} // namespace BuildInfo
80
81} // namespace xrpl
std::string const & getFullVersionString()
Full server version string.
Definition BuildInfo.cpp:64
std::uint64_t getEncodedVersion()
Returns this server's version packed in a 64-bit integer.
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::uint64_t encodeSoftwareVersion(char const *const versionStr)
Encode an arbitrary server software version in a 64-bit integer.
Definition BuildInfo.cpp:74
std::string const & getVersionString()
Server version.
Definition BuildInfo.cpp:51
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5