xrpld
Loading...
Searching...
No Matches
AccountAssets.h
1#pragma once
2
3#include <xrpld/rpc/detail/AssetCache.h>
4
5#include <xrpl/protocol/UintTypes.h>
6
7namespace xrpl {
8
11 AccountID const& account,
12 std::shared_ptr<AssetCache> const& cache,
13 bool includeXRP);
14
17 AccountID const& account,
18 std::shared_ptr<AssetCache> const& lrLedger,
19 bool includeXRP);
20
21} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
std::unordered_set< Value, Hash, Pred, Allocator > hash_set
hash_set< PathAsset > accountDestAssets(AccountID const &account, std::shared_ptr< AssetCache > const &lrCache, bool includeXRP)
hash_set< PathAsset > accountSourceAssets(AccountID const &account, std::shared_ptr< AssetCache > const &lrCache, bool includeXRP)
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition AccountID.h:28