20 #ifndef RIPPLE_PROTOCOL_ACCOUNTID_H_INCLUDED
21 #define RIPPLE_PROTOCOL_ACCOUNTID_H_INCLUDED
23 #include <ripple/protocol/tokens.h>
26 #include <ripple/basics/UnorderedContainers.h>
27 #include <ripple/basics/base_uint.h>
28 #include <ripple/json/json_value.h>
91 return c == beast::zero;
156 explicit hash() =
default;
AccountIDCache(AccountIDCache const &)=delete
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
Caches the base58 representations of AccountIDs.
hash_map< AccountID, std::string > m1_
AccountID const & xrpAccount()
Compute AccountID from public key.
bool isXRP(AccountID const &c)
hash_map< AccountID, std::string > m0_
AccountIDCache & operator=(AccountIDCache const &)=delete
hardened_hash<> hasher
Value hashing function.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
std::optional< AccountID > parseBase58(std::string const &s)
Parse AccountID from checked, base58 string.
AccountID const & noAccount()
A placeholder for empty accounts.
std::string toBase58(AccountID const &) const
Return ripple::toBase58 for the AccountID.
bool to_issuer(AccountID &, std::string const &)
Convert hex or base58 string to AccountID.