xrpld
Loading...
Searching...
No Matches
BuildInfo.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <string_view>
6
10// VFALCO The namespace is deprecated
12
18std::string const&
20
26std::string const&
28
57
63
70bool
72
84bool
86
87} // namespace xrpl::build_info
Versioning information for this build.
Definition BuildInfo.h:11
std::string const & getFullVersionString()
Full server version string.
Definition BuildInfo.cpp:82
std::string const & getVersionString()
Server version.
Definition BuildInfo.cpp:68
bool isXrpldVersion(std::uint64_t version)
Check if the encoded software version is an xrpld software version.
std::uint64_t encodeSoftwareVersion(std::string_view versionStr)
Encode an arbitrary server software version in a 64-bit integer.
Definition BuildInfo.cpp:92
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 xrpld software version.