mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 20:15:51 +00:00
deploy: a8d481c2a5
This commit is contained in:
@@ -104,113 +104,115 @@ $(function() {
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1CreateOffer.html">CreateOffer</a> : <span class="keyword">public</span> <a class="code" href="classripple_1_1Transactor.html">Transactor</a></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526"> 38</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526">CreateOffer</a>(<a class="code" href="classripple_1_1ApplyContext.html">ApplyContext</a>& ctx)</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  : <a class="code" href="classripple_1_1Transactor.html">Transactor</a>(ctx), <a class="code" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">stepCounter_</a>(1000, <a class="code" href="classripple_1_1Transactor.html#aafdaa4e246ee6879df9cbbf2482dcc7d">j_</a>)</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classripple_1_1CreateOffer.html#a8ce5ee23e2529b8c71708b608422b9d1">calculateMaxSpend</a>(<a class="code" href="classripple_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">NotTEC</a></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classripple_1_1CreateOffer.html#aaa97cf694b007c7c9be9b3d0b939a740">preflight</a>(<a class="code" href="structripple_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classripple_1_1CreateOffer.html#a59d336027ccb062b2e916e385bd57114">preclaim</a>(<a class="code" href="structripple_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classripple_1_1CreateOffer.html#a51e243eec385d66e97acbc6b59e6b95c">preCompute</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classripple_1_1CreateOffer.html#ae8670d9db3224f61491379bfeaf6719f">doApply</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, bool></a></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classripple_1_1CreateOffer.html#af1e3edb1dcc853bf59a5c63f366f29e9">applyGuts</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& view_cancel);</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// Determine if we are authorized to hold the asset we want to get.</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="classripple_1_1CreateOffer.html#a427d7e54e0525a05fb2d613fdd0b15d5">checkAcceptAsset</a>(</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="classripple_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a> <span class="keyword">const</span> flags,</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span> <span class="keywordtype">id</span>,</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> j,</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>& issue);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classripple_1_1CreateOffer.html#a53e105fe991761ad6d3c0e3ef425df2f">dry_offer</a>(<a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>, <a class="code" href="classripple_1_1TOffer.html">Offer</a> <span class="keyword">const</span>& offer);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<bool, Quality></a></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classripple_1_1CreateOffer.html#af6a32141000e06f44df166b2a01123b2">select_path</a>(</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">bool</span> have_direct,</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& direct,</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">bool</span> have_bridge,</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& leg1,</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& leg2);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classripple_1_1CreateOffer.html#a086b426af1f18015c3422ca3c5842930">bridged_cross</a>(</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classripple_1_1Taker.html">Taker</a>& taker,</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& view_cancel,</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <span class="keyword">const</span> when);</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="classripple_1_1CreateOffer.html#aa487e739585a7ce9442e0667999619f4">direct_cross</a>(</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classripple_1_1Taker.html">Taker</a>& taker,</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& view_cancel,</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <span class="keyword">const</span> when);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// Step through the stream for as long as possible, skipping any offers</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// that are from the taker or which cross the taker's threshold.</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// Return false if the is no offer in the book, true otherwise.</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classripple_1_1CreateOffer.html#a5a340c368e8f8f249cea61a54e06ed44">step_account</a>(<a class="code" href="classripple_1_1OfferStream.html">OfferStream</a>& stream, <a class="code" href="classripple_1_1Taker.html">Taker</a> <span class="keyword">const</span>& taker);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// True if the number of offers that have been crossed</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// exceeds the limit.</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classripple_1_1CreateOffer.html#a6e57f75da3977173e97749daeeed45ef">reachedOfferCrossingLimit</a>(<a class="code" href="classripple_1_1Taker.html">Taker</a> <span class="keyword">const</span>& taker) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// Fill offer as much as possible by consuming offers already on the books,</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// and adjusting account balances accordingly.</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">//</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// Charges fees on top to taker.</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classripple_1_1CreateOffer.html#a863ddd8b54d56f0a913f5bd789cbdbba">takerCross</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel, Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// Use the payment flow code to perform offer crossing.</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classripple_1_1CreateOffer.html#a3f6ba5f11d97822a3a3095706d4dc5d7">flowCross</a>(</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psb,</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psbCancel,</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// Temporary</span></div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// This is a central location that invokes both versions of cross</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// so the results can be compared. Eventually this layer will be</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// removed once flowCross is determined to be stable.</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classripple_1_1CreateOffer.html#afc2195ef822328ebf39ba971e80e2157">cross</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel, Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classripple_1_1CreateOffer.html#a5ad4cbfda67a13d823588643d8a96264">format_amount</a>(<a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>& amount);</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// What kind of offer we are placing</span></div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c"> 138</a></span>  <a class="code" href="namespaceripple.html#ae9b6ac4bca5f49e1aa2753e0d9faa2a1">CrossType</a> <a class="code" href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c">cross_type_</a>;</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">// The number of steps to take through order books while crossing</span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc"> 141</a></span>  OfferStream::StepCounter <a class="code" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">stepCounter_</a>;</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> };</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a6e2770384effe1761635c9f1dca9e06b"> 37</a></span>  <span class="keyword">static</span> constexpr <a class="code" href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938">ConsequencesFactoryType</a> <a class="code" href="classripple_1_1CreateOffer.html#a6e2770384effe1761635c9f1dca9e06b">ConsequencesFactory</a>{<a class="code" href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938a429832eac6b9ee7b50a1265131cd2845">Custom</a>};</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526"> 40</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526">CreateOffer</a>(<a class="code" href="classripple_1_1ApplyContext.html">ApplyContext</a>& ctx)</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  : <a class="code" href="classripple_1_1Transactor.html">Transactor</a>(ctx), <a class="code" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">stepCounter_</a>(1000, <a class="code" href="classripple_1_1Transactor.html#aafdaa4e246ee6879df9cbbf2482dcc7d">j_</a>)</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TxConsequences.html">TxConsequences</a></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classripple_1_1CreateOffer.html#ab442fb88a4d07d65dc92fbc2746166a3">makeTxConsequences</a>(<a class="code" href="structripple_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">NotTEC</a></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classripple_1_1CreateOffer.html#aaa97cf694b007c7c9be9b3d0b939a740">preflight</a>(<a class="code" href="structripple_1_1PreflightContext.html">PreflightContext</a> <span class="keyword">const</span>& ctx);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classripple_1_1CreateOffer.html#a59d336027ccb062b2e916e385bd57114">preclaim</a>(<a class="code" href="structripple_1_1PreclaimContext.html">PreclaimContext</a> <span class="keyword">const</span>& ctx);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classripple_1_1CreateOffer.html#a51e243eec385d66e97acbc6b59e6b95c">preCompute</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classripple_1_1CreateOffer.html#ae8670d9db3224f61491379bfeaf6719f">doApply</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, bool></a></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classripple_1_1CreateOffer.html#af1e3edb1dcc853bf59a5c63f366f29e9">applyGuts</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& view_cancel);</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// Determine if we are authorized to hold the asset we want to get.</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">static</span> <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="classripple_1_1CreateOffer.html#a427d7e54e0525a05fb2d613fdd0b15d5">checkAcceptAsset</a>(</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="classripple_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a> <span class="keyword">const</span> flags,</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span> <span class="keywordtype">id</span>,</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> j,</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>& issue);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classripple_1_1CreateOffer.html#a53e105fe991761ad6d3c0e3ef425df2f">dry_offer</a>(<a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>, <a class="code" href="classripple_1_1TOffer.html">Offer</a> <span class="keyword">const</span>& offer);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<bool, Quality></a></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classripple_1_1CreateOffer.html#af6a32141000e06f44df166b2a01123b2">select_path</a>(</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">bool</span> have_direct,</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& direct,</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">bool</span> have_bridge,</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& leg1,</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& leg2);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classripple_1_1CreateOffer.html#a086b426af1f18015c3422ca3c5842930">bridged_cross</a>(</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classripple_1_1Taker.html">Taker</a>& taker,</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& view_cancel,</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <span class="keyword">const</span> when);</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classripple_1_1CreateOffer.html#aa487e739585a7ce9442e0667999619f4">direct_cross</a>(</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="classripple_1_1Taker.html">Taker</a>& taker,</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& <a class="code" href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">view</a>,</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classripple_1_1ApplyView.html">ApplyView</a>& view_cancel,</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> <span class="keyword">const</span> when);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Step through the stream for as long as possible, skipping any offers</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// that are from the taker or which cross the taker's threshold.</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// Return false if the is no offer in the book, true otherwise.</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classripple_1_1CreateOffer.html#a5a340c368e8f8f249cea61a54e06ed44">step_account</a>(<a class="code" href="classripple_1_1OfferStream.html">OfferStream</a>& stream, <a class="code" href="classripple_1_1Taker.html">Taker</a> <span class="keyword">const</span>& taker);</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// True if the number of offers that have been crossed</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">// exceeds the limit.</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classripple_1_1CreateOffer.html#a6e57f75da3977173e97749daeeed45ef">reachedOfferCrossingLimit</a>(<a class="code" href="classripple_1_1Taker.html">Taker</a> <span class="keyword">const</span>& taker) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// Fill offer as much as possible by consuming offers already on the books,</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// and adjusting account balances accordingly.</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">//</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// Charges fees on top to taker.</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="classripple_1_1CreateOffer.html#a863ddd8b54d56f0a913f5bd789cbdbba">takerCross</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel, Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// Use the payment flow code to perform offer crossing.</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classripple_1_1CreateOffer.html#a3f6ba5f11d97822a3a3095706d4dc5d7">flowCross</a>(</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psb,</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psbCancel,</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// Temporary</span></div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// This is a central location that invokes both versions of cross</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// so the results can be compared. Eventually this layer will be</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">// removed once flowCross is determined to be stable.</span></div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<TER, Amounts></a></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classripple_1_1CreateOffer.html#afc2195ef822328ebf39ba971e80e2157">cross</a>(<a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb, <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel, Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="classripple_1_1CreateOffer.html#a5ad4cbfda67a13d823588643d8a96264">format_amount</a>(<a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>& amount);</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// What kind of offer we are placing</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c"> 139</a></span>  <a class="code" href="namespaceripple.html#ae9b6ac4bca5f49e1aa2753e0d9faa2a1">CrossType</a> <a class="code" href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c">cross_type_</a>;</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// The number of steps to take through order books while crossing</span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc"> 142</a></span>  OfferStream::StepCounter <a class="code" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">stepCounter_</a>;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> };</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a863ddd8b54d56f0a913f5bd789cbdbba"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a863ddd8b54d56f0a913f5bd789cbdbba">ripple::CreateOffer::takerCross</a></div><div class="ttdeci">std::pair< TER, Amounts > takerCross(Sandbox &sb, Sandbox &sbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00634">CreateOffer.cpp:634</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a3f6ba5f11d97822a3a3095706d4dc5d7"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a3f6ba5f11d97822a3a3095706d4dc5d7">ripple::CreateOffer::flowCross</a></div><div class="ttdeci">std::pair< TER, Amounts > flowCross(PaymentSandbox &psb, PaymentSandbox &psbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00679">CreateOffer.cpp:679</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a863ddd8b54d56f0a913f5bd789cbdbba"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a863ddd8b54d56f0a913f5bd789cbdbba">ripple::CreateOffer::takerCross</a></div><div class="ttdeci">std::pair< TER, Amounts > takerCross(Sandbox &sb, Sandbox &sbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00637">CreateOffer.cpp:637</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a3f6ba5f11d97822a3a3095706d4dc5d7"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a3f6ba5f11d97822a3a3095706d4dc5d7">ripple::CreateOffer::flowCross</a></div><div class="ttdeci">std::pair< TER, Amounts > flowCross(PaymentSandbox &psb, PaymentSandbox &psbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00682">CreateOffer.cpp:682</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Issue_html"><div class="ttname"><a href="classripple_1_1Issue.html">ripple::Issue</a></div><div class="ttdoc">A currency issued by an account.</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00034">Issue.h:34</a></div></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="autility_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a></div></div>
|
||||
@@ -219,44 +221,46 @@ $(function() {
|
||||
<div class="ttc" id="aclassripple_1_1PaymentSandbox_html"><div class="ttname"><a href="classripple_1_1PaymentSandbox.html">ripple::PaymentSandbox</a></div><div class="ttdoc">A wrapper which makes credits unavailable to balances.</div><div class="ttdef"><b>Definition:</b> <a href="PaymentSandbox_8h_source.html#l00112">PaymentSandbox.h:112</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_aafdaa4e246ee6879df9cbbf2482dcc7d"><div class="ttname"><a href="classripple_1_1Transactor.html#aafdaa4e246ee6879df9cbbf2482dcc7d">ripple::Transactor::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00090">Transactor.h:90</a></div></div>
|
||||
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a6e2770384effe1761635c9f1dca9e06b"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a6e2770384effe1761635c9f1dca9e06b">ripple::CreateOffer::ConsequencesFactory</a></div><div class="ttdeci">static constexpr ConsequencesFactoryType ConsequencesFactory</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00037">CreateOffer.h:37</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad2487abbcc1a5d6064b72144b461df6e"><div class="ttname"><a href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ripple::ApplyFlags</a></div><div class="ttdeci">ApplyFlags</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8h_source.html#l00030">ApplyView.h:30</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OfferStream_html"><div class="ttname"><a href="classripple_1_1OfferStream.html">ripple::OfferStream</a></div><div class="ttdoc">Presents and consumes the offers in an order book.</div><div class="ttdef"><b>Definition:</b> <a href="OfferStream_8h_source.html#l00143">OfferStream.h:143</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_aaa97cf694b007c7c9be9b3d0b939a740"><div class="ttname"><a href="classripple_1_1CreateOffer.html#aaa97cf694b007c7c9be9b3d0b939a740">ripple::CreateOffer::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdoc">Enforce constraints beyond those of the Transactor base class.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00041">CreateOffer.cpp:41</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a4f82873564bd8a1f7c91c642c483b526"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526">ripple::CreateOffer::CreateOffer</a></div><div class="ttdeci">CreateOffer(ApplyContext &ctx)</div><div class="ttdoc">Construct a Transactor subclass that creates an offer in the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00038">CreateOffer.h:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_af1e3edb1dcc853bf59a5c63f366f29e9"><div class="ttname"><a href="classripple_1_1CreateOffer.html#af1e3edb1dcc853bf59a5c63f366f29e9">ripple::CreateOffer::applyGuts</a></div><div class="ttdeci">std::pair< TER, bool > applyGuts(Sandbox &view, Sandbox &view_cancel)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01130">CreateOffer.cpp:1130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_aaa97cf694b007c7c9be9b3d0b939a740"><div class="ttname"><a href="classripple_1_1CreateOffer.html#aaa97cf694b007c7c9be9b3d0b939a740">ripple::CreateOffer::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &ctx)</div><div class="ttdoc">Enforce constraints beyond those of the Transactor base class.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00044">CreateOffer.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a4f82873564bd8a1f7c91c642c483b526"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526">ripple::CreateOffer::CreateOffer</a></div><div class="ttdeci">CreateOffer(ApplyContext &ctx)</div><div class="ttdoc">Construct a Transactor subclass that creates an offer in the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00040">CreateOffer.h:40</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_af1e3edb1dcc853bf59a5c63f366f29e9"><div class="ttname"><a href="classripple_1_1CreateOffer.html#af1e3edb1dcc853bf59a5c63f366f29e9">ripple::CreateOffer::applyGuts</a></div><div class="ttdeci">std::pair< TER, bool > applyGuts(Sandbox &view, Sandbox &view_cancel)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01133">CreateOffer.cpp:1133</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html"><div class="ttname"><a href="classripple_1_1ApplyView.html">ripple::ApplyView</a></div><div class="ttdoc">Writeable view to a ledger, for applying a transaction.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8h_source.html#l00140">ApplyView.h:140</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</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00063">base_uint.h:63</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a5ad4cbfda67a13d823588643d8a96264"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a5ad4cbfda67a13d823588643d8a96264">ripple::CreateOffer::format_amount</a></div><div class="ttdeci">static std::string format_amount(STAmount const &amount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01107">CreateOffer.cpp:1107</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a086b426af1f18015c3422ca3c5842930"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a086b426af1f18015c3422ca3c5842930">ripple::CreateOffer::bridged_cross</a></div><div class="ttdeci">std::pair< TER, Amounts > bridged_cross(Taker &taker, ApplyView &view, ApplyView &view_cancel, NetClock::time_point const when)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00329">CreateOffer.cpp:329</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a59d336027ccb062b2e916e385bd57114"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a59d336027ccb062b2e916e385bd57114">ripple::CreateOffer::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdoc">Enforce constraints beyond those of the Transactor base class.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00129">CreateOffer.cpp:129</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a5ad4cbfda67a13d823588643d8a96264"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a5ad4cbfda67a13d823588643d8a96264">ripple::CreateOffer::format_amount</a></div><div class="ttdeci">static std::string format_amount(STAmount const &amount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01110">CreateOffer.cpp:1110</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a086b426af1f18015c3422ca3c5842930"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a086b426af1f18015c3422ca3c5842930">ripple::CreateOffer::bridged_cross</a></div><div class="ttdeci">std::pair< TER, Amounts > bridged_cross(Taker &taker, ApplyView &view, ApplyView &view_cancel, NetClock::time_point const when)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00332">CreateOffer.cpp:332</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a5c6d16e9402d182a835f50b37ce9a938"><div class="ttname"><a href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938">ripple::Transactor::ConsequencesFactoryType</a></div><div class="ttdeci">ConsequencesFactoryType</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00102">Transactor.h:102</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a59d336027ccb062b2e916e385bd57114"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a59d336027ccb062b2e916e385bd57114">ripple::CreateOffer::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &ctx)</div><div class="ttdoc">Enforce constraints beyond those of the Transactor base class.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00132">CreateOffer.cpp:132</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae9b6ac4bca5f49e1aa2753e0d9faa2a1"><div class="ttname"><a href="namespaceripple.html#ae9b6ac4bca5f49e1aa2753e0d9faa2a1">ripple::CrossType</a></div><div class="ttdeci">CrossType</div><div class="ttdoc">The flavor of an offer crossing.</div><div class="ttdef"><b>Definition:</b> <a href="Taker_8h_source.html#l00036">Taker.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a51e243eec385d66e97acbc6b59e6b95c"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a51e243eec385d66e97acbc6b59e6b95c">ripple::CreateOffer::preCompute</a></div><div class="ttdeci">void preCompute() override</div><div class="ttdoc">Gather information beyond what the Transactor base class gathers.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01116">CreateOffer.cpp:1116</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TERSubset_html"><div class="ttname"><a href="classripple_1_1TERSubset.html">ripple::TERSubset</a></div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00322">TER.h:322</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a5a340c368e8f8f249cea61a54e06ed44"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a5a340c368e8f8f249cea61a54e06ed44">ripple::CreateOffer::step_account</a></div><div class="ttdeci">static bool step_account(OfferStream &stream, Taker const &taker)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00611">CreateOffer.cpp:611</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a51e243eec385d66e97acbc6b59e6b95c"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a51e243eec385d66e97acbc6b59e6b95c">ripple::CreateOffer::preCompute</a></div><div class="ttdeci">void preCompute() override</div><div class="ttdoc">Gather information beyond what the Transactor base class gathers.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01119">CreateOffer.cpp:1119</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TERSubset_html"><div class="ttname"><a href="classripple_1_1TERSubset.html">ripple::TERSubset</a></div><div class="ttdef"><b>Definition:</b> <a href="TER_8h_source.html#l00326">TER.h:326</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a5a340c368e8f8f249cea61a54e06ed44"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a5a340c368e8f8f249cea61a54e06ed44">ripple::CreateOffer::step_account</a></div><div class="ttdeci">static bool step_account(OfferStream &stream, Taker const &taker)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00614">CreateOffer.cpp:614</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Sandbox_html"><div class="ttname"><a href="classripple_1_1Sandbox.html">ripple::Sandbox</a></div><div class="ttdoc">Discardable, editable view to a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="Sandbox_8h_source.html#l00034">Sandbox.h:34</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STAmount_html"><div class="ttname"><a href="classripple_1_1STAmount.html">ripple::STAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="STAmount_8h_source.html#l00042">STAmount.h:42</a></div></div>
|
||||
<div class="ttc" id="atime_point_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point.html">std::chrono::time_point</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STTx_html"><div class="ttname"><a href="classripple_1_1STTx.html">ripple::STTx</a></div><div class="ttdef"><b>Definition:</b> <a href="STTx_8h_source.html#l00042">STTx.h:42</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_ab442fb88a4d07d65dc92fbc2746166a3"><div class="ttname"><a href="classripple_1_1CreateOffer.html#ab442fb88a4d07d65dc92fbc2746166a3">ripple::CreateOffer::makeTxConsequences</a></div><div class="ttdeci">static TxConsequences makeTxConsequences(PreflightContext const &ctx)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00033">CreateOffer.cpp:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyContext_html"><div class="ttname"><a href="classripple_1_1ApplyContext.html">ripple::ApplyContext</a></div><div class="ttdoc">State information when applying a tx.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyContext_8h_source.html#l00035">ApplyContext.h:35</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:58</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html"><div class="ttname"><a href="classripple_1_1CreateOffer.html">ripple::CreateOffer</a></div><div class="ttdoc">Transactor specialized for creating offers in the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00034">CreateOffer.h:34</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_ae8670d9db3224f61491379bfeaf6719f"><div class="ttname"><a href="classripple_1_1CreateOffer.html#ae8670d9db3224f61491379bfeaf6719f">ripple::CreateOffer::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdoc">Precondition: fee collection is likely.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01441">CreateOffer.cpp:1441</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_ac6fb435f197ebfefae5a52b183fed90c"><div class="ttname"><a href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c">ripple::CreateOffer::cross_type_</a></div><div class="ttdeci">CrossType cross_type_</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00138">CreateOffer.h:138</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_ae8670d9db3224f61491379bfeaf6719f"><div class="ttname"><a href="classripple_1_1CreateOffer.html#ae8670d9db3224f61491379bfeaf6719f">ripple::CreateOffer::doApply</a></div><div class="ttdeci">TER doApply() override</div><div class="ttdoc">Precondition: fee collection is likely.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l01443">CreateOffer.cpp:1443</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_ac6fb435f197ebfefae5a52b183fed90c"><div class="ttname"><a href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c">ripple::CreateOffer::cross_type_</a></div><div class="ttdeci">CrossType cross_type_</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00139">CreateOffer.h:139</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1PreclaimContext_html"><div class="ttname"><a href="structripple_1_1PreclaimContext.html">ripple::PreclaimContext</a></div><div class="ttdoc">State information when determining if a tx is likely to claim a fee.</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00053">Transactor.h:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_aa487e739585a7ce9442e0667999619f4"><div class="ttname"><a href="classripple_1_1CreateOffer.html#aa487e739585a7ce9442e0667999619f4">ripple::CreateOffer::direct_cross</a></div><div class="ttdeci">std::pair< TER, Amounts > direct_cross(Taker &taker, ApplyView &view, ApplyView &view_cancel, NetClock::time_point const when)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00518">CreateOffer.cpp:518</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00188">ReadView.h:188</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a5c6d16e9402d182a835f50b37ce9a938a429832eac6b9ee7b50a1265131cd2845"><div class="ttname"><a href="classripple_1_1Transactor.html#a5c6d16e9402d182a835f50b37ce9a938a429832eac6b9ee7b50a1265131cd2845">ripple::Transactor::Custom</a></div><div class="ttdeci">@ Custom</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00102">Transactor.h:102</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_aa487e739585a7ce9442e0667999619f4"><div class="ttname"><a href="classripple_1_1CreateOffer.html#aa487e739585a7ce9442e0667999619f4">ripple::CreateOffer::direct_cross</a></div><div class="ttdeci">std::pair< TER, Amounts > direct_cross(Taker &taker, ApplyView &view, ApplyView &view_cancel, NetClock::time_point const when)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00521">CreateOffer.cpp:521</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00192">ReadView.h:192</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_afc2195ef822328ebf39ba971e80e2157"><div class="ttname"><a href="classripple_1_1CreateOffer.html#afc2195ef822328ebf39ba971e80e2157">ripple::CreateOffer::cross</a></div><div class="ttdeci">std::pair< TER, Amounts > cross(Sandbox &sb, Sandbox &sbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00967">CreateOffer.cpp:967</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a1ac5d16d7b21e8af9cc94d7af39a85d5"><div class="ttname"><a href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">ripple::Transactor::view</a></div><div class="ttdeci">ApplyView & view()</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00107">Transactor.h:107</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a6e57f75da3977173e97749daeeed45ef"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a6e57f75da3977173e97749daeeed45ef">ripple::CreateOffer::reachedOfferCrossingLimit</a></div><div class="ttdeci">bool reachedOfferCrossingLimit(Taker const &taker) const</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00318">CreateOffer.cpp:318</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a53e105fe991761ad6d3c0e3ef425df2f"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a53e105fe991761ad6d3c0e3ef425df2f">ripple::CreateOffer::dry_offer</a></div><div class="ttdeci">bool dry_offer(ApplyView &view, Offer const &offer)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00271">CreateOffer.cpp:271</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a427d7e54e0525a05fb2d613fdd0b15d5"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a427d7e54e0525a05fb2d613fdd0b15d5">ripple::CreateOffer::checkAcceptAsset</a></div><div class="ttdeci">static TER checkAcceptAsset(ReadView const &view, ApplyFlags const flags, AccountID const id, beast::Journal const j, Issue const &issue)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00213">CreateOffer.cpp:213</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_afc2195ef822328ebf39ba971e80e2157"><div class="ttname"><a href="classripple_1_1CreateOffer.html#afc2195ef822328ebf39ba971e80e2157">ripple::CreateOffer::cross</a></div><div class="ttdeci">std::pair< TER, Amounts > cross(Sandbox &sb, Sandbox &sbCancel, Amounts const &takerAmount)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00970">CreateOffer.cpp:970</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html_a1ac5d16d7b21e8af9cc94d7af39a85d5"><div class="ttname"><a href="classripple_1_1Transactor.html#a1ac5d16d7b21e8af9cc94d7af39a85d5">ripple::Transactor::view</a></div><div class="ttdeci">ApplyView & view()</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00108">Transactor.h:108</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a6e57f75da3977173e97749daeeed45ef"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a6e57f75da3977173e97749daeeed45ef">ripple::CreateOffer::reachedOfferCrossingLimit</a></div><div class="ttdeci">bool reachedOfferCrossingLimit(Taker const &taker) const</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00321">CreateOffer.cpp:321</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a53e105fe991761ad6d3c0e3ef425df2f"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a53e105fe991761ad6d3c0e3ef425df2f">ripple::CreateOffer::dry_offer</a></div><div class="ttdeci">bool dry_offer(ApplyView &view, Offer const &offer)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00274">CreateOffer.cpp:274</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a427d7e54e0525a05fb2d613fdd0b15d5"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a427d7e54e0525a05fb2d613fdd0b15d5">ripple::CreateOffer::checkAcceptAsset</a></div><div class="ttdeci">static TER checkAcceptAsset(ReadView const &view, ApplyFlags const flags, AccountID const id, beast::Journal const j, Issue const &issue)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00216">CreateOffer.cpp:216</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1PreflightContext_html"><div class="ttname"><a href="structripple_1_1PreflightContext.html">ripple::PreflightContext</a></div><div class="ttdoc">State information when preflighting a tx.</div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00032">Transactor.h:32</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_af6a32141000e06f44df166b2a01123b2"><div class="ttname"><a href="classripple_1_1CreateOffer.html#af6a32141000e06f44df166b2a01123b2">ripple::CreateOffer::select_path</a></div><div class="ttdeci">static std::pair< bool, Quality > select_path(bool have_direct, OfferStream const &direct, bool have_bridge, OfferStream const &leg1, OfferStream const &leg2)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00285">CreateOffer.cpp:285</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a1bb9917414ee8bebe2a4710f52ee56cc"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">ripple::CreateOffer::stepCounter_</a></div><div class="ttdeci">OfferStream::StepCounter stepCounter_</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00141">CreateOffer.h:141</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_af6a32141000e06f44df166b2a01123b2"><div class="ttname"><a href="classripple_1_1CreateOffer.html#af6a32141000e06f44df166b2a01123b2">ripple::CreateOffer::select_path</a></div><div class="ttdeci">static std::pair< bool, Quality > select_path(bool have_direct, OfferStream const &direct, bool have_bridge, OfferStream const &leg1, OfferStream const &leg2)</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00288">CreateOffer.cpp:288</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TxConsequences_html"><div class="ttname"><a href="classripple_1_1TxConsequences.html">ripple::TxConsequences</a></div><div class="ttdoc">Class describing the consequences to the account of applying a transaction if the transaction consume...</div><div class="ttdef"><b>Definition:</b> <a href="applySteps_8h_source.html#l00045">applySteps.h:45</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a1bb9917414ee8bebe2a4710f52ee56cc"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">ripple::CreateOffer::stepCounter_</a></div><div class="ttdeci">OfferStream::StepCounter stepCounter_</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8h_source.html#l00142">CreateOffer.h:142</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TOffer_html"><div class="ttname"><a href="classripple_1_1TOffer.html">ripple::TOffer</a></div><div class="ttdef"><b>Definition:</b> <a href="Offer_8h_source.html#l00049">Offer.h:49</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1CreateOffer_html_a8ce5ee23e2529b8c71708b608422b9d1"><div class="ttname"><a href="classripple_1_1CreateOffer.html#a8ce5ee23e2529b8c71708b608422b9d1">ripple::CreateOffer::calculateMaxSpend</a></div><div class="ttdeci">static XRPAmount calculateMaxSpend(STTx const &tx)</div><div class="ttdoc">Override default behavior provided by Transactor base class.</div><div class="ttdef"><b>Definition:</b> <a href="CreateOffer_8cpp_source.html#l00033">CreateOffer.cpp:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1XRPAmount_html"><div class="ttname"><a href="classripple_1_1XRPAmount.html">ripple::XRPAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="XRPAmount_8h_source.html#l00046">XRPAmount.h:46</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
|
||||
Reference in New Issue
Block a user