rippled
Loading...
Searching...
No Matches
xrpld
app
paths
Flow.h
1
#ifndef XRPL_APP_PATHS_FLOW_H_INCLUDED
2
#define XRPL_APP_PATHS_FLOW_H_INCLUDED
3
4
#include <xrpld/app/paths/RippleCalc.h>
5
#include <xrpld/app/paths/detail/Steps.h>
6
7
#include <xrpl/protocol/Quality.h>
8
9
namespace
xrpl
{
10
11
namespace
path {
12
namespace
detail {
13
struct
FlowDebugInfo;
14
}
15
}
// namespace path
16
37
path::RippleCalc::Output
38
flow
(
39
PaymentSandbox& view,
40
STAmount
const
& deliver,
41
AccountID
const
& src,
42
AccountID
const
& dst,
43
STPathSet
const
& paths,
44
bool
defaultPaths,
45
bool
partialPayment,
46
bool
ownerPaysTransferFee,
47
OfferCrossing
offerCrossing,
48
std::optional<Quality>
const
& limitQuality,
49
std::optional<STAmount>
const
& sendMax,
50
std::optional<uint256>
const
& domainID,
51
beast::Journal
j,
52
path::detail::FlowDebugInfo* flowDebugInfo =
nullptr
);
53
54
}
// namespace xrpl
55
56
#endif
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:41
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
xrpl::AccountID
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition
AccountID.h:29
xrpl::flow
StrandResult< TInAmt, TOutAmt > flow(PaymentSandbox const &baseView, Strand const &strand, std::optional< TInAmt > const &maxIn, TOutAmt const &out, beast::Journal j)
Request out amount from a strand.
Definition
StrandFlow.h:86
xrpl::OfferCrossing
OfferCrossing
Definition
Steps.h:26
std::optional
Generated by
1.9.8