rippled
Loading...
Searching...
No Matches
AccountCurrencies.h
1#pragma once
2
3#include <xrpld/app/paths/RippleLineCache.h>
4
5#include <xrpl/protocol/UintTypes.h>
6
7namespace xrpl {
8
9hash_set<Currency>
10accountDestCurrencies(AccountID const& account, std::shared_ptr<RippleLineCache> const& cache, bool includeXRP);
11
12hash_set<Currency>
13accountSourceCurrencies(AccountID const& account, std::shared_ptr<RippleLineCache> const& lrLedger, bool includeXRP);
14
15} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition AccountID.h:28
hash_set< Currency > accountSourceCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)
hash_set< Currency > accountDestCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)