20#ifndef RIPPLED_RIPPLE_RPC_HANDLERS_VERSION_H
21#define RIPPLED_RIPPLE_RPC_HANDLERS_VERSION_H
23#include <xrpld/rpc/detail/RPCHelpers.h>
42 template <
class Object>
49 static constexpr char const*
name =
"version";
void writeResult(Object &obj)
static constexpr unsigned maxApiVer
static constexpr Role role
static constexpr char const * name
static constexpr unsigned minApiVer
VersionHandler(JsonContext &c)
static constexpr std::integral_constant< unsigned, Version > apiVersion
static constexpr auto apiMaximumValidVersion
void setVersion(Object &parent, unsigned int apiVersion, bool betaEnabled)
static constexpr auto apiMinimumSupportedVersion
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Role
Indicates the level of administrative permission to grant.
Status represents the results of an operation that might fail.