3#include <xrpl/basics/UnorderedContainers.h>
4#include <xrpl/basics/base_uint.h>
5#include <xrpl/beast/utility/Zero.h>
6#include <xrpl/protocol/AccountID.h>
65 return c == beast::kZero;
Integers of any length that is a multiple of 32-bits.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool isXRP(AccountID const &c)
BaseUInt< 256, detail::DirectoryTag > Directory
Directory is an index into the directory of offer books.
BaseUInt< 256 > Domain
Domain is a 256-bit hash representing a specific domain.
BaseUInt< 160, detail::CurrencyTag > Currency
Currency is a hash representing a specific currency.
bool toCurrency(Currency &, std::string const &)
Tries to convert a string to a Currency, returns true on success.
std::ostream & operator<<(std::ostream &out, BaseUInt< Bits, Tag > const &u)
Currency const & xrpCurrency()
XRP currency.
std::string to_string(BaseUInt< Bits, Tag > const &a)
BaseUInt< 192 > MPTID
MPTID is a 192-bit value representing MPT Issuance ID, which is a concatenation of a 32-bit sequence ...
Currency const & noCurrency()
A placeholder for empty currencies.
Currency const & badCurrency()
We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...
BaseUInt< 160, detail::NodeIDTag > NodeID
NodeID is a 160-bit hash representing one node.