rippled
Loading...
Searching...
No Matches
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
9namespace ripple {
10
11namespace path {
12namespace detail {
13struct FlowDebugInfo;
14}
15} // namespace path
16
37path::RippleCalc::Output
38flow(
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,
52 path::detail::FlowDebugInfo* flowDebugInfo = nullptr);
53
54} // namespace ripple
55
56#endif
A generic endpoint for log messages.
Definition Journal.h:41
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition AccountID.h:29
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
OfferCrossing
Definition Steps.h:26