20#include <xrpld/app/main/Application.h> 
   21#include <xrpld/rpc/Context.h> 
   23#include <xrpl/basics/base64.h> 
   24#include <xrpl/json/json_value.h> 
   25#include <xrpl/protocol/ErrorCodes.h> 
   26#include <xrpl/protocol/jss.h> 
   32    auto& params = context.
params;
 
   34    if (!params.isMember(jss::public_key))
 
   37    auto const requested = params[jss::public_key].asString();
 
   40    ret[jss::requested] = requested;
 
   68        details[jss::seq] = *seq;
 
   71        details[jss::domain] = *domain;
 
   73    ret[jss::details] = details;
 
 
virtual ManifestCache & validatorManifests()=0
 
std::optional< std::uint32_t > getSequence(PublicKey const &pk) const
Returns master key's current manifest sequence.
 
std::optional< std::string > getManifest(PublicKey const &pk) const
Returns mainfest corresponding to a given public key.
 
std::optional< PublicKey > getSigningKey(PublicKey const &pk) const
Returns master key's current signing key.
 
PublicKey getMasterKey(PublicKey const &pk) const
Returns ephemeral signing key's master public key.
 
std::optional< std::string > getDomain(PublicKey const &pk) const
Returns domain claimed by a given public key.
 
void inject_error(error_code_i code, JsonValue &json)
Add or update the json update to reflect the error code.
 
Json::Value missing_field_error(std::string const &name)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
 
Json::Value doManifest(RPC::JsonContext &context)
 
std::string base64_encode(std::uint8_t const *data, std::size_t len)