xrpld
Loading...
Searching...
No Matches
BuildInfo.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5
7// VFALCO The namespace is deprecated
8namespace xrpl::BuildInfo {
9
14std::string const&
16
21std::string const&
23
51
55
61bool
63
74bool
76
77} // namespace xrpl::BuildInfo
Versioning information for this build.
Definition BuildInfo.h:8
std::string const & getFullVersionString()
Full server version string.
Definition BuildInfo.cpp:82
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.
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::string const & getVersionString()
Server version.
Definition BuildInfo.cpp:68