20#ifndef RIPPLE_PROTOCOL_ACCOUNTID_H_INCLUDED 
   21#define RIPPLE_PROTOCOL_ACCOUNTID_H_INCLUDED 
   23#include <xrpl/protocol/tokens.h> 
   26#include <xrpl/basics/UnorderedContainers.h> 
   27#include <xrpl/basics/base_uint.h> 
   28#include <xrpl/json/json_value.h> 
   29#include <xrpl/protocol/json_get_or_throw.h> 
   92    return c == beast::zero;
 
 
  135    std::string const b58 = getOrThrow<std::string>(v, field);
 
  136    if (
auto const r = parseBase58<AccountID>(b58))
 
  138    Throw<JsonTypeMismatchError>(field.getJsonName(), 
"AccountID");
 
 
Seed functor once per construction.
 
JSON (JavaScript Object Notation).
 
ripple::AccountID getOrThrow(Json::Value const &v, ripple::SField const &field)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
AccountID const & noAccount()
A placeholder for empty accounts.
 
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
 
bool isXRP(AccountID const &c)
 
AccountID const & xrpAccount()
Compute AccountID from public key.
 
std::optional< AccountID > parseBase58(std::string const &s)
Parse AccountID from checked, base58 string.
 
bool to_issuer(AccountID &, std::string const &)
Convert hex or base58 string to AccountID.
 
void initAccountIdCache(std::size_t count)
Initialize the global cache used to map AccountID to base58 conversions.
 
std::ostream & operator<<(std::ostream &out, base_uint< Bits, Tag > const &u)
 
std::string to_string(base_uint< Bits, Tag > const &a)