mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
deploy: 020b285808
This commit is contained in:
276
CreateOffer_8h_source.html
Normal file
276
CreateOffer_8h_source.html
Normal file
@@ -0,0 +1,276 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.17"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>rippled: CreateOffer.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">rippled
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.17 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_9f69212e4c6e2ca9ec5ab59cd7b6275c.html">app</a></li><li class="navelem"><a class="el" href="dir_08bd996c7140e5d4c4a2548bd66a393f.html">tx</a></li><li class="navelem"><a class="el" href="dir_03680b44059da148632e530fc6dc63c7.html">impl</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">CreateOffer.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_TX_CREATEOFFER_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_TX_CREATEOFFER_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/app/tx/impl/OfferStream.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/app/tx/impl/Taker.h></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/app/tx/impl/Transactor.h></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span>PaymentSandbox;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">class </span>Sandbox;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<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></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : <span class="keyword">public</span> <a class="code" href="classripple_1_1Transactor.html">Transactor</a></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a4f82873564bd8a1f7c91c642c483b526"> 39</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="l00040"></a><span class="lineno"> 40</span>  : <a class="code" href="classripple_1_1Transactor.html">Transactor</a>(ctx)</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  , <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="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">static</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</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="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">static</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classripple_1_1TERSubset.html">NotTEC</a></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</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="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">static</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</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="l00059"></a><span class="lineno"> 59</span>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classripple_1_1CreateOffer.html#a51e243eec385d66e97acbc6b59e6b95c">preCompute</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="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classripple_1_1CreateOffer.html#ae8670d9db3224f61491379bfeaf6719f">doApply</a>() <span class="keyword">override</span>;</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="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</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="l00070"></a><span class="lineno"> 70</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="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Determine if we are authorized to hold the asset we want to get.</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">static</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classripple_1_1CreateOffer.html#a427d7e54e0525a05fb2d613fdd0b15d5">checkAcceptAsset</a>(<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="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a> <span class="keyword">const</span> flags, <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="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> j, <a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>& issue);</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="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</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="l00081"></a><span class="lineno"> 81</span>  </div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">static</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</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="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="classripple_1_1CreateOffer.html#af6a32141000e06f44df166b2a01123b2">select_path</a> (</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">bool</span> have_direct, <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& direct,</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span> have_bridge, <a class="code" href="classripple_1_1OfferStream.html">OfferStream</a> <span class="keyword">const</span>& leg1, <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></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</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="l00108"></a><span class="lineno"> 108</span>  </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">// True if the number of offers that have been crossed</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// exceeds the limit.</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</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="l00113"></a><span class="lineno"> 113</span>  </div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// Fill offer as much as possible by consuming offers already on the books,</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// and adjusting account balances accordingly.</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">//</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// Charges fees on top to taker.</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</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="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classripple_1_1CreateOffer.html#a863ddd8b54d56f0a913f5bd789cbdbba">takerCross</a> (</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb,</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel,</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// Use the payment flow code to perform offer crossing.</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</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="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classripple_1_1CreateOffer.html#a3f6ba5f11d97822a3a3095706d4dc5d7">flowCross</a> (</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psb,</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classripple_1_1PaymentSandbox.html">PaymentSandbox</a>& psbCancel,</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  Amounts <span class="keyword">const</span>& takerAmount);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// Temporary</span></div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// This is a central location that invokes both versions of cross</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// so the results can be compared. Eventually this layer will be</span></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="comment">// removed once flowCross is determined to be stable.</span></div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</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="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="classripple_1_1CreateOffer.html#afc2195ef822328ebf39ba971e80e2157">cross</a> (</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sb,</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classripple_1_1Sandbox.html">Sandbox</a>& sbCancel,</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  Amounts <span class="keyword">const</span>& takerAmount);</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="keyword">static</span></div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</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="l00144"></a><span class="lineno"> 144</span>  </div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// What kind of offer we are placing</span></div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#ac6fb435f197ebfefae5a52b183fed90c"> 147</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="l00148"></a><span class="lineno"> 148</span>  </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// The number of steps to take through order books while crossing</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc"> 150</a></span>  OfferStream::StepCounter <a class="code" href="classripple_1_1CreateOffer.html#a1bb9917414ee8bebe2a4710f52ee56cc">stepCounter_</a>;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> };</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</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#l00615">CreateOffer.cpp:615</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#l00657">CreateOffer.cpp:657</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>
|
||||
<div class="ttc" id="aclassripple_1_1Transactor_html"><div class="ttname"><a href="classripple_1_1Transactor.html">ripple::Transactor</a></div><div class="ttdef"><b>Definition:</b> <a href="Transactor_8h_source.html#l00078">Transactor.h:78</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Taker_html"><div class="ttname"><a href="classripple_1_1Taker.html">ripple::Taker</a></div><div class="ttdef"><b>Definition:</b> <a href="Taker_8h_source.html#l00227">Taker.h:227</a></div></div>
|
||||
<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#l00110">PaymentSandbox.h:110</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#l00082">Transactor.h:82</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="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#l00140">OfferStream.h:140</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#l00042">CreateOffer.cpp:42</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#l00039">CreateOffer.h:39</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#l01086">CreateOffer.cpp:1086</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#l00150">ApplyView.h:150</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#l00065">base_uint.h:65</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#l01061">CreateOffer.cpp:1061</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#l00336">CreateOffer.cpp:336</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#l00139">CreateOffer.cpp:139</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#l01070">CreateOffer.cpp:1070</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#l00311">TER.h:311</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#l00592">CreateOffer.cpp:592</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#l00043">STTx.h:43</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#l00060">Journal.h:60</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#l01414">CreateOffer.cpp:1414</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#l00147">CreateOffer.h:147</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#l00049">Transactor.h:49</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#l00507">CreateOffer.cpp:507</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#l00186">ReadView.h:186</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#l00927">CreateOffer.cpp:927</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#l00098">Transactor.h:98</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#l00324">CreateOffer.cpp:324</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#l00284">CreateOffer.cpp:284</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#l00221">CreateOffer.cpp:221</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#l00294">CreateOffer.cpp:294</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#l00150">CreateOffer.h:150</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#l00050">Offer.h:50</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">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.17
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user