20#ifndef RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED
21#define RIPPLE_PROTOCOL_UINTTYPES_H_INCLUDED
23#include <xrpl/basics/UnorderedContainers.h>
24#include <xrpl/basics/base_uint.h>
25#include <xrpl/beast/utility/Zero.h>
26#include <xrpl/protocol/AccountID.h>
82 return c == beast::zero;
Integers of any length that is a multiple of 32-bits.
hardened_hash<> hasher
Value hashing function.
Seed functor once per construction.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Currency const & badCurrency()
We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...
bool isXRP(AccountID const &c)
Currency const & noCurrency()
A placeholder for empty currencies.
std::ostream & operator<<(std::ostream &out, base_uint< Bits, Tag > const &u)
base_uint< 160, detail::CurrencyTag > Currency
Currency is a hash representing a specific currency.
Currency const & xrpCurrency()
XRP currency.
std::string to_string(base_uint< Bits, Tag > const &a)
bool to_currency(Currency &, std::string const &)
Tries to convert a string to a Currency, returns true on success.