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