mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
deploy: e514de76ed
This commit is contained in:
@@ -338,14 +338,14 @@ $(function() {
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> boost::container::flat_set<uint256>& ofrsToRm,</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a> <span class="keyword">const</span>& <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569fedac68271a63ddbc431c307beb7d2918275">out</a>)</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span>{</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keyword">auto</span> <span class="keyword">const</span> balance = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> </div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">auto</span> <span class="keyword">const</span> result = isLast_ ? <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569fedac68271a63ddbc431c307beb7d2918275">out</a> : <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a>(balance, <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569fedac68271a63ddbc431c307beb7d2918275">out</a>);</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="keyword">auto</span> <span class="keyword">const</span> result = isLast_ ? <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569fedac68271a63ddbc431c307beb7d2918275">out</a> : <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>, <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569fedac68271a63ddbc431c307beb7d2918275">out</a>);</div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <span class="keyword">auto</span>& sender = isLast_ ? <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>() : acc_;</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <span class="keyword">auto</span>& receiver = isLast_ ? acc_ : <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>();</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keyword">auto</span> ter = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(sb, sender, receiver, <a class="code hl_function" href="namespaceripple.html#a4ad5ac9da897292a28eea43d041c15a1">toSTAmount</a>(result), j_);</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keyword">auto</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(sb, sender, receiver, <a class="code hl_function" href="namespaceripple.html#a4ad5ac9da897292a28eea43d041c15a1">toSTAmount</a>(result), j_);</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keywordflow">return</span> {<a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a>{beast::zero}, <a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a>{beast::zero}};</div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> </div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> cache_.emplace(result);</div>
|
||||
@@ -361,14 +361,14 @@ $(function() {
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> <a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a> <span class="keyword">const</span>& <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a>)</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span>{</div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> XRPL_ASSERT(cache_, <span class="stringliteral">"ripple::XRPEndpointStep::fwdImp : cache is set"</span>);</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keyword">auto</span> <span class="keyword">const</span> balance = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> </div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keyword">auto</span> <span class="keyword">const</span> result = isLast_ ? <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a> : <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a>(balance, <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a>);</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> <span class="keyword">auto</span> <span class="keyword">const</span> result = isLast_ ? <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a> : <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>, <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a>);</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> </div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <span class="keyword">auto</span>& sender = isLast_ ? <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>() : acc_;</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> <span class="keyword">auto</span>& receiver = isLast_ ? acc_ : <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>();</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keyword">auto</span> ter = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(sb, sender, receiver, <a class="code hl_function" href="namespaceripple.html#a4ad5ac9da897292a28eea43d041c15a1">toSTAmount</a>(result), j_);</div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="keyword">auto</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = <a class="code hl_function" href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">accountSend</a>(sb, sender, receiver, <a class="code hl_function" href="namespaceripple.html#a4ad5ac9da897292a28eea43d041c15a1">toSTAmount</a>(result), j_);</div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> {<a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a>{beast::zero}, <a class="code hl_class" href="classripple_1_1XRPAmount.html">XRPAmount</a>{beast::zero}};</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> cache_.emplace(result);</div>
|
||||
@@ -391,14 +391,14 @@ $(function() {
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> XRPL_ASSERT(<a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a>.native, <span class="stringliteral">"ripple::XRPEndpointStep::validFwd : input is XRP"</span>);</div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> </div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">auto</span> <span class="keyword">const</span>& xrpIn = <a class="code hl_enumvalue" href="namespaceripple.html#a7cc64e12723fbc9606d85442a2569feda13b5bfe96f3e2fe411c9f66f4a582adf">in</a>.xrp;</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">auto</span> <span class="keyword">const</span> balance = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> = <span class="keyword">static_cast<</span>TDerived const*<span class="keyword">></span>(<span class="keyword">this</span>)-><a class="code hl_function" href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">xrpLiquid</a>(sb);</div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> </div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="keywordflow">if</span> (!isLast_ && balance < xrpIn)</div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> <span class="keywordflow">if</span> (!isLast_ && <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a> < xrpIn)</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> {</div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> JLOG(j_.<a class="code hl_function" href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">warn</a>()) << <span class="stringliteral">"XRPEndpointStep: Strand re-execute check failed."</span></div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> << <span class="stringliteral">" Insufficient balance: "</span> << <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(balance)</div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> << <span class="stringliteral">" Insufficient balance: "</span> << <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>)</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> << <span class="stringliteral">" Requested: "</span> << <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(xrpIn);</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keywordflow">return</span> {<span class="keyword">false</span>, <a class="code hl_struct" href="structripple_1_1EitherAmount.html">EitherAmount</a>(balance)};</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <span class="keywordflow">return</span> {<span class="keyword">false</span>, <a class="code hl_struct" href="structripple_1_1EitherAmount.html">EitherAmount</a>(<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1balance.html">balance</a>)};</div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> }</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> </div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> <span class="keywordflow">if</span> (xrpIn != *cache_)</div>
|
||||
@@ -436,9 +436,9 @@ $(function() {
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <span class="keyword">auto</span>& src = isLast_ ? <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>() : acc_;</div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <span class="keyword">auto</span>& dst = isLast_ ? acc_ : <a class="code hl_function" href="namespaceripple.html#a21696ba0d0fac348f88f1b9da51091b0">xrpAccount</a>();</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <span class="keyword">auto</span> ter = <a class="code hl_function" href="namespaceripple.html#a369f056a78d8b15df5bf1052867947cb">checkFreeze</a>(ctx.<a class="code hl_variable" href="structripple_1_1StrandContext.html#a0e059ee50baf7c62cfa1748b40f1092d">view</a>, src, dst, <a class="code hl_function" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <span class="keywordflow">return</span> ter;</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> <span class="keyword">auto</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = <a class="code hl_function" href="namespaceripple.html#a369f056a78d8b15df5bf1052867947cb">checkFreeze</a>(ctx.<a class="code hl_variable" href="structripple_1_1StrandContext.html#a0e059ee50baf7c62cfa1748b40f1092d">view</a>, src, dst, <a class="code hl_function" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <span class="keywordflow">return</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>;</div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
|
||||
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <span class="keywordflow">if</span> (ctx.<a class="code hl_variable" href="structripple_1_1StrandContext.html#a0e059ee50baf7c62cfa1748b40f1092d">view</a>.<a class="code hl_function" href="classripple_1_1ReadView.html#aceb3d74acaae18b238022337e5f250ce">rules</a>().<a class="code hl_function" href="classripple_1_1Rules.html#a1a8388a2b9588aa9446ece92a88e0dd2">enabled</a>(fix1781))</div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> {</div>
|
||||
@@ -476,23 +476,23 @@ $(function() {
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, std::unique_ptr<Step></a>></div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"><a class="line" href="namespaceripple.html#a27cf17601fb00445ac516a63ccd482a0"> 399</a></span><a class="code hl_function" href="namespaceripple.html#a27cf17601fb00445ac516a63ccd482a0">make_XRPEndpointStep</a>(<a class="code hl_struct" href="structripple_1_1StrandContext.html">StrandContext</a> <span class="keyword">const</span>& ctx, <a class="code hl_class" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& acc)</div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span>{</div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> <a class="code hl_class" href="classripple_1_1TERSubset.html">TER</a> ter = <a class="code hl_enumvalue" href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c">tefINTERNAL</a>;</div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> <a class="code hl_class" href="classripple_1_1TERSubset.html">TER</a> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = <a class="code hl_enumvalue" href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c">tefINTERNAL</a>;</div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<Step></a> r;</div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> <span class="keywordflow">if</span> (ctx.<a class="code hl_variable" href="structripple_1_1StrandContext.html#a823714e1b46346bde9898caac9c824d2">offerCrossing</a>)</div>
|
||||
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> {</div>
|
||||
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="keyword">auto</span> offerCrossingStep =</div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span> std::make_unique<XRPEndpointOfferCrossingStep>(ctx, acc);</div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> ter = offerCrossingStep->check(ctx);</div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = offerCrossingStep->check(ctx);</div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> r = std::move(offerCrossingStep);</div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span> }</div>
|
||||
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> <span class="keywordflow">else</span> <span class="comment">// payment</span></div>
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> {</div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span> <span class="keyword">auto</span> paymentStep = std::make_unique<XRPEndpointPaymentStep>(ctx, acc);</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> ter = paymentStep->check(ctx);</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> = paymentStep->check(ctx);</div>
|
||||
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> r = std::move(paymentStep);</div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span> }</div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <span class="keywordflow">if</span> (ter != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <span class="keywordflow">return</span> {ter, <span class="keyword">nullptr</span>};</div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> <span class="keywordflow">if</span> (<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a> != <a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>)</div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <span class="keywordflow">return</span> {<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1ter.html">ter</a>, <span class="keyword">nullptr</span>};</div>
|
||||
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span> </div>
|
||||
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> <span class="keywordflow">return</span> {<a class="code hl_enumvalue" href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">tesSUCCESS</a>, std::move(r)};</div>
|
||||
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span>}</div>
|
||||
@@ -546,11 +546,13 @@ $(function() {
|
||||
<div class="ttc" id="aclassripple_1_1XRPEndpointStep_html_ade496309c4698e4d797eb1fd3d759755"><div class="ttname"><a href="classripple_1_1XRPEndpointStep.html#ade496309c4698e4d797eb1fd3d759755">ripple::XRPEndpointStep::equal</a></div><div class="ttdeci">bool equal(Step const &rhs) const override</div><div class="ttdef"><b>Definition:</b> <a href="XRPEndpointStep_8cpp_source.html#l00152">XRPEndpointStep.cpp:152</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1XRPEndpointStep_html_aee550b5061967ba687b80dd6e8901297"><div class="ttname"><a href="classripple_1_1XRPEndpointStep.html#aee550b5061967ba687b80dd6e8901297">ripple::XRPEndpointStep::qualityUpperBound</a></div><div class="ttdeci">std::pair< std::optional< Quality >, DebtDirection > qualityUpperBound(ReadView const &v, DebtDirection prevStepDir) const override</div><div class="ttdef"><b>Definition:</b> <a href="XRPEndpointStep_8cpp_source.html#l00246">XRPEndpointStep.cpp:246</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 160, detail::AccountIDTag ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1balance_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1balance.html">ripple::test::jtx::balance</a></div><div class="ttdoc">A balance matches.</div><div class="ttdef"><b>Definition:</b> <a href="balance_8h_source.html#l00038">balance.h:39</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1ter_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1ter.html">ripple::test::jtx::ter</a></div><div class="ttdoc">Set the expected result code for a JTx The test will fail if the code doesn't match.</div><div class="ttdef"><b>Definition:</b> <a href="ter_8h_source.html#l00034">ter.h:35</a></div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::int32_t</a></div></div>
|
||||
<div class="ttc" id="amake_pair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html">std::make_pair</a></div><div class="ttdeci">T make_pair(T... args)</div></div>
|
||||
<div class="ttc" id="amin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/min.html">std::min</a></div><div class="ttdeci">T min(T... args)</div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_a55890af7192834c632299746ba300be8"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a55890af7192834c632299746ba300be8">ripple::keylet::line</a></div><div class="ttdeci">Keylet line(AccountID const &id0, AccountID const &id1, Currency const &currency) noexcept</div><div class="ttdoc">The index of a trust line for a given currency.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00236">Indexes.cpp:236</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa756e0f59b26042ed00a4d0ba6e96951"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">ripple::keylet::account</a></div><div class="ttdeci">Keylet account(AccountID const &id) noexcept</div><div class="ttdoc">AccountID root.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00176">Indexes.cpp:176</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_a55890af7192834c632299746ba300be8"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a55890af7192834c632299746ba300be8">ripple::keylet::line</a></div><div class="ttdeci">Keylet line(AccountID const &id0, AccountID const &id1, Currency const &currency) noexcept</div><div class="ttdoc">The index of a trust line for a given currency.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00237">Indexes.cpp:237</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa756e0f59b26042ed00a4d0ba6e96951"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">ripple::keylet::account</a></div><div class="ttdeci">Keylet account(AccountID const &id) noexcept</div><div class="ttdoc">AccountID root.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00177">Indexes.cpp:177</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1test_html_a23eb2c2b79afcc7ee5faa4101e1f634c"><div class="ttname"><a href="namespaceripple_1_1test.html#a23eb2c2b79afcc7ee5faa4101e1f634c">ripple::test::xrpEndpointStepEqual</a></div><div class="ttdeci">bool xrpEndpointStepEqual(Step const &step, AccountID const &acc)</div><div class="ttdef"><b>Definition:</b> <a href="XRPEndpointStep_8cpp_source.html#l00385">XRPEndpointStep.cpp:385</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a02be1da6bd3d611ea7a48b208b060b6c"><div class="ttname"><a href="namespaceripple.html#a02be1da6bd3d611ea7a48b208b060b6c">ripple::xrpIssue</a></div><div class="ttdeci">Issue const & xrpIssue()</div><div class="ttdoc">Returns an asset specifier that represents XRP.</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00118">Issue.h:118</a></div></div>
|
||||
@@ -566,12 +568,12 @@ $(function() {
|
||||
<div class="ttc" id="anamespaceripple_html_a8c623abdba7fa97ffd148311056d401e"><div class="ttname"><a href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401e">ripple::DebtDirection</a></div><div class="ttdeci">DebtDirection</div><div class="ttdef"><b>Definition:</b> <a href="Steps_8h_source.html#l00041">Steps.h:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a8c623abdba7fa97ffd148311056d401eafe5fe0415fc3e0ff4942d8454f363d2c"><div class="ttname"><a href="namespaceripple.html#a8c623abdba7fa97ffd148311056d401eafe5fe0415fc3e0ff4942d8454f363d2c">ripple::DebtDirection::issues</a></div><div class="ttdeci">@ issues</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a91af9326e7f471001066b6b59f24599c"><div class="ttname"><a href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">ripple::xrpCurrency</a></div><div class="ttdeci">Currency const & xrpCurrency()</div><div class="ttdoc">XRP currency.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00119">UintTypes.cpp:119</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151"><div class="ttname"><a href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">ripple::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00243">TER.h:242</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151"><div class="ttname"><a href="namespaceripple.html#aabc7f150d5082c73116a1cd5962b434da28c7d8b3ed759d363503a05fcd59f151">ripple::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00245">TER.h:244</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint< Bits, Tag > const &a)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_adb9995d7c8e8a2aa3d702b73edfa0672"><div class="ttname"><a href="namespaceripple.html#adb9995d7c8e8a2aa3d702b73edfa0672">ripple::operator==</a></div><div class="ttdeci">constexpr bool operator==(base_uint< Bits, Tag > const &lhs, base_uint< Bits, Tag > const &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00585">base_uint.h:585</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_adebe4d783be9c979e67fdbb2bc27162faa7ab9460c6755719dd1a4e74b83f34c4"><div class="ttname"><a href="namespaceripple.html#adebe4d783be9c979e67fdbb2bc27162faa7ab9460c6755719dd1a4e74b83f34c4">ripple::terNO_ACCOUNT</a></div><div class="ttdeci">@ terNO_ACCOUNT</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00217">TER.h:217</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af2e2ee9b2b3499ff23ebbc249e188764"><div class="ttname"><a href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">ripple::accountSend</a></div><div class="ttdeci">TER accountSend(ApplyView &view, AccountID const &uSenderID, AccountID const &uReceiverID, STAmount const &saAmount, beast::Journal j, WaiveTransferFee waiveFee)</div><div class="ttdoc">Calls static accountSendIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l01611">View.cpp:1611</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afc787da3584a7facdc3f19fc366f0b70"><div class="ttname"><a href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">ripple::xrpLiquid</a></div><div class="ttdeci">XRPAmount xrpLiquid(ReadView const &view, AccountID const &id, std::int32_t ownerCountAdj, beast::Journal j)</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00508">View.cpp:508</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af2e2ee9b2b3499ff23ebbc249e188764"><div class="ttname"><a href="namespaceripple.html#af2e2ee9b2b3499ff23ebbc249e188764">ripple::accountSend</a></div><div class="ttdeci">TER accountSend(ApplyView &view, AccountID const &uSenderID, AccountID const &uReceiverID, STAmount const &saAmount, beast::Journal j, WaiveTransferFee waiveFee)</div><div class="ttdoc">Calls static accountSendIOU if saAmount represents Issue.</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l01978">View.cpp:1978</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afc787da3584a7facdc3f19fc366f0b70"><div class="ttname"><a href="namespaceripple.html#afc787da3584a7facdc3f19fc366f0b70">ripple::xrpLiquid</a></div><div class="ttdeci">XRPAmount xrpLiquid(ReadView const &view, AccountID const &id, std::int32_t ownerCountAdj, beast::Journal j)</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00618">View.cpp:618</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afe21c8454670d46fb93751a5edffed46a12457d1044fb018f478405504184dc79"><div class="ttname"><a href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46a12457d1044fb018f478405504184dc79">ripple::temBAD_PATH_LOOP</a></div><div class="ttdeci">@ temBAD_PATH_LOOP</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00097">TER.h:97</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_afe21c8454670d46fb93751a5edffed46a301b180a711f213c51de73aba9d28de5"><div class="ttname"><a href="namespaceripple.html#afe21c8454670d46fb93751a5edffed46a301b180a711f213c51de73aba9d28de5">ripple::temBAD_PATH</a></div><div class="ttdeci">@ temBAD_PATH</div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00096">TER.h:96</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user