xrpld
Loading...
Searching...
No Matches
Flow.h
1#pragma once
2
3#include <xrpl/protocol/Quality.h>
4#include <xrpl/tx/paths/RippleCalc.h>
5#include <xrpl/tx/paths/detail/Steps.h>
6
7namespace xrpl {
8
9namespace path::detail {
10struct FlowDebugInfo;
11} // namespace path::detail
12
34flow(
35 PaymentSandbox& view,
36 STAmount const& deliver,
37 AccountID const& src,
38 AccountID const& dst,
39 STPathSet const& paths,
40 bool defaultPaths,
41 bool partialPayment,
42 bool ownerPaysTransferFee,
43 OfferCrossing offerCrossing,
44 std::optional<Quality> const& limitQuality,
45 std::optional<STAmount> const& sendMax,
46 std::optional<uint256> const& domainID,
47 beast::Journal j,
48 path::detail::FlowDebugInfo* flowDebugInfo = nullptr);
49
50} // namespace xrpl
A wrapper which makes credits unavailable to balances.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
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:81
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
Definition AccountID.h:28
OfferCrossing
Definition Steps.h:24