mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
272 lines
47 KiB
HTML
272 lines
47 KiB
HTML
<!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> : <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="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#l00627">CreateOffer.cpp:627</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#l00672">CreateOffer.cpp:672</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#l00035">Issue.h:35</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#l00085">Transactor.h:85</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#l00240">Taker.h:240</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#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#l00089">Transactor.h:89</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#l00029">ApplyView.h:29</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#l00147">OfferStream.h:147</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#l00043">CreateOffer.cpp:43</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#l00914">CreateOffer.cpp:914</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#l00134">ApplyView.h:134</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="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00082">base_uint.h:82</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#l00891">CreateOffer.cpp:891</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#l00322">CreateOffer.cpp:322</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#l00101">Transactor.h:101</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="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#l00900">CreateOffer.cpp:900</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#l00352">TER.h:352</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#l00604">CreateOffer.cpp:604</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#l00045">STAmount.h:45</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_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#l00032">CreateOffer.cpp:32</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#l01224">CreateOffer.cpp:1224</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#l00052">Transactor.h:52</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#l00101">Transactor.h:101</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#l00511">CreateOffer.cpp:511</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#l00054">ReadView.h:54</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#l00870">CreateOffer.cpp:870</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#l00311">CreateOffer.cpp:311</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#l00264">CreateOffer.cpp:264</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#l00205">CreateOffer.cpp:205</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#l00031">Transactor.h:31</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#l00278">CreateOffer.cpp:278</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>
|
|
<!-- 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>
|