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;
135 explicit hash() =
default;
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
Integers of any length that is a multiple of 32-bits.
AccountID const & xrpAccount()
Compute AccountID from public key.
bool isXRP(AccountID const &c)
hardened_hash<> hasher
Value hashing function.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void initAccountIdCache(std::size_t count)
Initialize the global cache used to map AccountID to base58 conversions.
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.
bool to_issuer(AccountID &, std::string const &)
Convert hex or base58 string to AccountID.