20 #ifndef RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED
21 #define RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED
23 #include <ripple/basics/UnorderedContainers.h>
24 #include <ripple/basics/base_uint.h>
25 #include <ripple/beast/utility/Zero.h>
26 #include <ripple/protocol/AccountID.h>
77 return c == beast::zero;
117 explicit hash() =
default;
123 explicit hash() =
default;
129 explicit hash() =
default;
Currency const & badCurrency()
We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...
bool to_currency(Currency ¤cy, std::string const &code)
Tries to convert a string to a Currency, returns true on success.
Currency const & noCurrency()
A placeholder for empty currencies.
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
Integers of any length that is a multiple of 32-bits.
Seed functor once per construction.
bool isXRP(AccountID const &c)
base_uint< 160, detail::CurrencyTag > Currency
Currency is a hash representing a specific currency.
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.
Currency const & xrpCurrency()
XRP currency.