20 #ifndef RIPPLE_PROTOCOL_ISSUE_H_INCLUDED
21 #define RIPPLE_PROTOCOL_ISSUE_H_INCLUDED
27 #include <ripple/protocol/UintTypes.h>
58 template <
class Hasher>
68 [[nodiscard]]
inline constexpr
bool
85 return std::weak_ordering::equivalent;
A currency issued by an account.
Currency const & noCurrency()
A placeholder for empty currencies.
bool isConsistent(Book const &book)
constexpr std::strong_ordering operator<=>(base_uint< Bits, Tag > const &lhs, base_uint< Bits, Tag > const &rhs)
Issue const & noIssue()
Returns an asset specifier that represents no account and currency.
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
bool operator==(Manifest const &lhs, Manifest const &rhs)
AccountID const & xrpAccount()
Compute AccountID from public key.
bool isXRP(AccountID const &c)
Issue(Currency const &c, AccountID const &a)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Issue const & xrpIssue()
Returns an asset specifier that represents XRP.
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
void hash_append(Hasher &h, ValidatorBlobInfo const &blobInfo)
AccountID const & noAccount()
A placeholder for empty accounts.
Currency const & xrpCurrency()
XRP currency.