xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
xrpld
rpc
detail
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
11
namespace
xrpl
{
12
13
HashSet<PathAsset>
14
accountDestAssets
(
15
AccountID
const
& account,
16
std::shared_ptr<AssetCache>
const
& cache,
17
bool
includeXRP);
18
19
HashSet<PathAsset>
20
accountSourceAssets
(
21
AccountID
const
& account,
22
std::shared_ptr<AssetCache>
const
& lrLedger,
23
bool
includeXRP);
24
25
}
// namespace xrpl
memory
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::accountDestAssets
HashSet< PathAsset > accountDestAssets(AccountID const &account, std::shared_ptr< AssetCache > const &lrCache, bool includeXRP)
Definition
AccountAssets.cpp:61
xrpl::HashSet
std::unordered_set< Value, Hash, Pred, Allocator > HashSet
Definition
UnorderedContainers.h:51
xrpl::accountSourceAssets
HashSet< PathAsset > accountSourceAssets(AccountID const &account, std::shared_ptr< AssetCache > const &lrCache, bool includeXRP)
Definition
AccountAssets.cpp:17
xrpl::AccountID
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition
AccountID.h:34
Generated by
1.17.0