xrpld
Loading...
Searching...
No Matches
AccountAssets.h
1#pragma once
2
3#include <xrpld/rpc/detail/AssetCache.h>
4
5#include <xrpl/basics/UnorderedContainers.h>
6#include <xrpl/protocol/AccountID.h>
7#include <xrpl/protocol/PathAsset.h>
8
9#include <memory>
10
11namespace xrpl {
12
15 AccountID const& account,
16 std::shared_ptr<AssetCache> const& cache,
17 bool includeXRP);
18
21 AccountID const& account,
22 std::shared_ptr<AssetCache> const& lrLedger,
23 bool includeXRP);
24
25} // 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:34