mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-03 21:45:32 +00:00
394 lines
77 KiB
HTML
394 lines
77 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: applySteps.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_c69db3203fa08a9ff994909ba6ee9783.html">app</a></li><li class="navelem"><a class="el" href="dir_4b2d6f306dc33741b6f38a59a670a446.html">tx</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">applySteps.h</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef XRPL_TX_APPLYSTEPS_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_TX_APPLYSTEPS_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <xrpl/ledger/ApplyViewImpl.h></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keyword">class </span>Application;</div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">class </span>STTx;</div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">class </span>TxQ;</div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
|
<div class="foldopen" id="foldopen00013" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="structxrpl_1_1ApplyResult.html"> 13</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structxrpl_1_1ApplyResult.html">ApplyResult</a></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span>{</div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="structxrpl_1_1ApplyResult.html#a5dfc7bef53df5c9a27402554f81360af"> 15</a></span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a> <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a5dfc7bef53df5c9a27402554f81360af">ter</a>;</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="structxrpl_1_1ApplyResult.html#a9c48efe4d7b0e463fe878a4486d3ef01"> 16</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a9c48efe4d7b0e463fe878a4486d3ef01">applied</a>;</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="structxrpl_1_1ApplyResult.html#a1c9e9b0c8761cfa5b895107360dd9315"> 17</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<TxMeta></a> <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a1c9e9b0c8761cfa5b895107360dd9315">metadata</a>;</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
|
<div class="foldopen" id="foldopen00019" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="structxrpl_1_1ApplyResult.html#a729de286f0bfca70339ace5084047283"> 19</a></span> <a class="code hl_function" href="structxrpl_1_1ApplyResult.html#a729de286f0bfca70339ace5084047283">ApplyResult</a>(<a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a> t, <span class="keywordtype">bool</span> a, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<TxMeta></a> m = <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::nullopt</a>)</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> : <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a5dfc7bef53df5c9a27402554f81360af">ter</a>(t), <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a9c48efe4d7b0e463fe878a4486d3ef01">applied</a>(a), <a class="code hl_variable" href="structxrpl_1_1ApplyResult.html#a1c9e9b0c8761cfa5b895107360dd9315">metadata</a>(<a class="code hl_namespace" href="namespacestd.html">std</a>::move(m))</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> {</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
|
<div class="foldopen" id="foldopen00029" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a383cabfd6f002db1baf8c9ea4e12cda1"> 29</a></span><a class="code hl_function" href="namespacexrpl.html#a383cabfd6f002db1baf8c9ea4e12cda1">isTecClaimHardFail</a>(<a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a> ter, <a class="code hl_enumeration" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">ApplyFlags</a> flags)</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ada2e431f68c4d8a2d3cdd92966cea33e">isTecClaim</a>(ter) && !(flags & <a class="code hl_enumvalue" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074ea947da2d0d9ba904ff2f9ff0f8ee1a4b3">tapRETRY</a>);</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="foldopen" id="foldopen00038" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html"> 38</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>{</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">public</span>:</div>
|
|
<div class="foldopen" id="foldopen00043" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231"> 43</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231">Category</a> {</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231a38ad0167dc0ce3a5664949640fa2f2a2"> 45</a></span> <a class="code hl_enumvalue" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231a38ad0167dc0ce3a5664949640fa2f2a2">normal</a> = 0,</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_enumvalue" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231ac7856c799618606e237a4054c140a4a9">blocker</a></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231ac7856c799618606e237a4054c140a4a9"> 49</a></span> };</div>
|
|
</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a560cb49603d2cce538e1d24c7493ce55"> 54</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a560cb49603d2cce538e1d24c7493ce55">isBlocker_</a>;</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#ac2bfb5fa3f02cffe30c9aa36c7de6701"> 56</a></span> <a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#ac2bfb5fa3f02cffe30c9aa36c7de6701">fee_</a>;</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a3f18eda6ca7e8d8ddf07a8fdd519c25a"> 58</a></span> <a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a3f18eda6ca7e8d8ddf07a8fdd519c25a">potentialSpend_</a>;</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#ac0db59f245432f4ea2a3c1239566f0ea"> 60</a></span> <a class="code hl_class" href="classxrpl_1_1SeqProxy.html">SeqProxy</a> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#ac0db59f245432f4ea2a3c1239566f0ea">seqProx_</a>;</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a1ec3005cdaa5121f676dea67e1f35c85"> 62</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a1ec3005cdaa5121f676dea67e1f35c85">sequencesConsumed_</a>;</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// Constructor if preflight returns a value other than tesSUCCESS.</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="comment">// Asserts if tesSUCCESS is passed.</span></div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a> pfresult);</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx);</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx, <a class="code hl_enumeration" href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231">Category</a> category);</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx, <a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#abae7a08a165a4ee7a021757e213b4ebd">potentialSpend</a>);</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#a70cc6896d39576be070e7d0af358f256">sequencesConsumed</a>);</div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#ad4edda32b78bb67a3c2efaa6747e16a3"> 82</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#ad4edda32b78bb67a3c2efaa6747e16a3">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>&</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#abaf9b7e36718430cbee01ac399a34a6a"> 85</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#abaf9b7e36718430cbee01ac399a34a6a">operator=</a>(<a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#af0effb7c4195ebb26d3ad84146dd6324"> 87</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#af0effb7c4195ebb26d3ad84146dd6324">TxConsequences</a>(<a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>&&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>&</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#acbc2baaca63bb3208b3b9cb94a737694"> 90</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#acbc2baaca63bb3208b3b9cb94a737694">operator=</a>(<a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a>&&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a></div>
|
|
<div class="foldopen" id="foldopen00094" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#af6d4187b5f6071df5398f812c31fbe45"> 94</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#af6d4187b5f6071df5398f812c31fbe45">fee</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#ac2bfb5fa3f02cffe30c9aa36c7de6701">fee_</a>;</div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a> <span class="keyword">const</span>&</div>
|
|
<div class="foldopen" id="foldopen00101" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#abae7a08a165a4ee7a021757e213b4ebd"> 101</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#abae7a08a165a4ee7a021757e213b4ebd">potentialSpend</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a3f18eda6ca7e8d8ddf07a8fdd519c25a">potentialSpend_</a>;</div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_class" href="classxrpl_1_1SeqProxy.html">SeqProxy</a></div>
|
|
<div class="foldopen" id="foldopen00108" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a384e3ee874193b63ee35f764a0b30b72"> 108</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#a384e3ee874193b63ee35f764a0b30b72">seqProxy</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#ac0db59f245432f4ea2a3c1239566f0ea">seqProx_</a>;</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> </div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
|
<div class="foldopen" id="foldopen00115" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a70cc6896d39576be070e7d0af358f256"> 115</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#a70cc6896d39576be070e7d0af358f256">sequencesConsumed</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a1ec3005cdaa5121f676dea67e1f35c85">sequencesConsumed_</a>;</div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordtype">bool</span></div>
|
|
<div class="foldopen" id="foldopen00122" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#a5811312012f422a35d10d8fb8df1c357"> 122</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#a5811312012f422a35d10d8fb8df1c357">isBlocker</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#a560cb49603d2cce538e1d24c7493ce55">isBlocker_</a>;</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="comment">// Return the SeqProxy that would follow this.</span></div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_class" href="classxrpl_1_1SeqProxy.html">SeqProxy</a></div>
|
|
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classxrpl_1_1TxConsequences.html#abe776ab24368b66434235e5fc95b768c"> 129</a></span> <a class="code hl_function" href="classxrpl_1_1TxConsequences.html#abe776ab24368b66434235e5fc95b768c">followingSeq</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_class" href="classxrpl_1_1SeqProxy.html">SeqProxy</a> following = <a class="code hl_variable" href="classxrpl_1_1TxConsequences.html#ac0db59f245432f4ea2a3c1239566f0ea">seqProx_</a>;</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> following.<a class="code hl_function" href="classxrpl_1_1SeqProxy.html#acae73f339da29531c3d506b6c5606993">advanceBy</a>(<a class="code hl_function" href="classxrpl_1_1TxConsequences.html#a70cc6896d39576be070e7d0af358f256">sequencesConsumed</a>());</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">return</span> following;</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
|
|
<div class="foldopen" id="foldopen00143" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html"> 143</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a></div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span>{</div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a6dff13572473bd53db573dedd12a1bb0"> 147</a></span> <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a6dff13572473bd53db573dedd12a1bb0">tx</a>;</div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a59c707a8829ab0a94581091b4be5081b"> 149</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<uint256 const></a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a59c707a8829ab0a94581091b4be5081b">parentBatchId</a>;</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a23cf41d296125fa8b5f957ddd0987c8f"> 151</a></span> <a class="code hl_class" href="classxrpl_1_1Rules.html">Rules</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a23cf41d296125fa8b5f957ddd0987c8f">rules</a>;</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a03b08decd3851574647deb7ccf1c784a"> 153</a></span> <a class="code hl_class" href="classxrpl_1_1TxConsequences.html">TxConsequences</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a03b08decd3851574647deb7ccf1c784a">consequences</a>;</div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a17e8c33ef6a1070584c483757c9447aa"> 155</a></span> <a class="code hl_enumeration" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">ApplyFlags</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a17e8c33ef6a1070584c483757c9447aa">flags</a>;</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a117c303fbfa71b167de088c40bb54dd2"> 157</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a117c303fbfa71b167de088c40bb54dd2">j</a>;</div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a43f4d6ec40066dce549337da9c09d123"> 160</a></span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">NotTEC</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a43f4d6ec40066dce549337da9c09d123">ter</a>;</div>
|
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">template</span> <<span class="keyword">class</span> Context></div>
|
|
<div class="foldopen" id="foldopen00164" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#ab98d7e79dd5660eb1ab84ed39dd4838c"> 164</a></span> <a class="code hl_function" href="structxrpl_1_1PreflightResult.html#ab98d7e79dd5660eb1ab84ed39dd4838c">PreflightResult</a>(</div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> Context <span class="keyword">const</span>& ctx_,</div>
|
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<NotTEC, TxConsequences></a> <span class="keyword">const</span>& result)</div>
|
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> : <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a6dff13572473bd53db573dedd12a1bb0">tx</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a6dff13572473bd53db573dedd12a1bb0">tx</a>)</div>
|
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a59c707a8829ab0a94581091b4be5081b">parentBatchId</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a59c707a8829ab0a94581091b4be5081b">parentBatchId</a>)</div>
|
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a23cf41d296125fa8b5f957ddd0987c8f">rules</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a23cf41d296125fa8b5f957ddd0987c8f">rules</a>)</div>
|
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a03b08decd3851574647deb7ccf1c784a">consequences</a>(result.second)</div>
|
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a17e8c33ef6a1070584c483757c9447aa">flags</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a17e8c33ef6a1070584c483757c9447aa">flags</a>)</div>
|
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a117c303fbfa71b167de088c40bb54dd2">j</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a117c303fbfa71b167de088c40bb54dd2">j</a>)</div>
|
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> , <a class="code hl_variable" href="structxrpl_1_1PreflightResult.html#a43f4d6ec40066dce549337da9c09d123">ter</a>(result.first)</div>
|
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> {</div>
|
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a505b9efc5ceb31545e729f0b7ef14cb5"> 177</a></span> <a class="code hl_function" href="structxrpl_1_1PreflightResult.html#a505b9efc5ceb31545e729f0b7ef14cb5">PreflightResult</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a>&</div>
|
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreflightResult.html#a0f820575d9a8dde0b932850be87d5519"> 180</a></span> <a class="code hl_function" href="structxrpl_1_1PreflightResult.html#a0f820575d9a8dde0b932850be87d5519">operator=</a>(<a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
|
|
<div class="foldopen" id="foldopen00189" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html"> 189</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a></div>
|
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span>{</div>
|
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a3a89de2dd0ffbf7502246451b9e8d726"> 193</a></span> <a class="code hl_class" href="classxrpl_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>& <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3a89de2dd0ffbf7502246451b9e8d726">view</a>;</div>
|
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a978c68991794b744f1cc821743bcfba4"> 195</a></span> <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a978c68991794b744f1cc821743bcfba4">tx</a>;</div>
|
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a3b4a8e22e5a9258c86f87de7c4b28ea7"> 197</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<uint256 const></a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3b4a8e22e5a9258c86f87de7c4b28ea7">parentBatchId</a>;</div>
|
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145"> 199</a></span> <a class="code hl_enumeration" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">ApplyFlags</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145">flags</a>;</div>
|
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#ad701c7d59fb50d5129d0c955d4df66cc"> 201</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#ad701c7d59fb50d5129d0c955d4df66cc">j</a>;</div>
|
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
|
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b"> 204</a></span> <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b">ter</a>;</div>
|
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
|
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#afa78fd5debe7f3f3eef58aa4027b9116"> 208</a></span> <span class="keywordtype">bool</span> <span class="keyword">const</span> <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#afa78fd5debe7f3f3eef58aa4027b9116">likelyToClaimFee</a>;</div>
|
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> </div>
|
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> <span class="keyword">template</span> <<span class="keyword">class</span> Context></div>
|
|
<div class="foldopen" id="foldopen00212" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a64e8b827da8875e12f8da4ce675c188e"> 212</a></span> <a class="code hl_function" href="structxrpl_1_1PreclaimResult.html#a64e8b827da8875e12f8da4ce675c188e">PreclaimResult</a>(Context <span class="keyword">const</span>& ctx_, <a class="code hl_class" href="classxrpl_1_1TERSubset.html">TER</a> ter_)</div>
|
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> : <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3a89de2dd0ffbf7502246451b9e8d726">view</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3a89de2dd0ffbf7502246451b9e8d726">view</a>)</div>
|
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a978c68991794b744f1cc821743bcfba4">tx</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a978c68991794b744f1cc821743bcfba4">tx</a>)</div>
|
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3b4a8e22e5a9258c86f87de7c4b28ea7">parentBatchId</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a3b4a8e22e5a9258c86f87de7c4b28ea7">parentBatchId</a>)</div>
|
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145">flags</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145">flags</a>)</div>
|
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#ad701c7d59fb50d5129d0c955d4df66cc">j</a>(ctx_.<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#ad701c7d59fb50d5129d0c955d4df66cc">j</a>)</div>
|
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b">ter</a>(ter_)</div>
|
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> , <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#afa78fd5debe7f3f3eef58aa4027b9116">likelyToClaimFee</a>(<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b">ter</a> == <a class="code hl_enumvalue" href="namespacexrpl.html#af4adbbe94a1cecf1bd3ad2c76ff1ea3da157dace29a657c58cdeb4f7fa19be976">tesSUCCESS</a> || <a class="code hl_function" href="namespacexrpl.html#a383cabfd6f002db1baf8c9ea4e12cda1">isTecClaimHardFail</a>(<a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b">ter</a>, <a class="code hl_variable" href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145">flags</a>))</div>
|
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span> {</div>
|
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
|
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#a8e9cd77472db1554f37ba2209196956c"> 223</a></span> <a class="code hl_function" href="structxrpl_1_1PreclaimResult.html#a8e9cd77472db1554f37ba2209196956c">PreclaimResult</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a> <span class="keyword">const</span>&) = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a>&</div>
|
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="structxrpl_1_1PreclaimResult.html#aaf2b37ba9eaf534db8071959fdd8032d"> 226</a></span> <a class="code hl_function" href="structxrpl_1_1PreclaimResult.html#aaf2b37ba9eaf534db8071959fdd8032d">operator=</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
|
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span><a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a></div>
|
|
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span><a class="code hl_function" href="namespacexrpl.html#a4b9cd90d78d04b423badb0d09d7861d6">preflight</a>(</div>
|
|
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <a class="code hl_class" href="classxrpl_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <a class="code hl_class" href="classxrpl_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
|
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx,</div>
|
|
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> <a class="code hl_enumeration" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">ApplyFlags</a> flags,</div>
|
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
|
|
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
|
|
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a></div>
|
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><a class="code hl_function" href="namespacexrpl.html#a4b9cd90d78d04b423badb0d09d7861d6">preflight</a>(</div>
|
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> <a class="code hl_class" href="classxrpl_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span> <a class="code hl_class" href="classxrpl_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> <a class="code hl_class" href="classxrpl_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& parentBatchId,</div>
|
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx,</div>
|
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <a class="code hl_enumeration" href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">ApplyFlags</a> flags,</div>
|
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
|
|
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span><a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a></div>
|
|
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span><a class="code hl_function" href="namespacexrpl.html#acb93b94d268f91feb3070b53f8ac42d1">preclaim</a>(</div>
|
|
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> <a class="code hl_struct" href="structxrpl_1_1PreflightResult.html">PreflightResult</a> <span class="keyword">const</span>& preflightResult,</div>
|
|
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> <a class="code hl_class" href="classxrpl_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <a class="code hl_class" href="classxrpl_1_1OpenView.html">OpenView</a> <span class="keyword">const</span>& view);</div>
|
|
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> </div>
|
|
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span><a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a></div>
|
|
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span><a class="code hl_function" href="namespacexrpl.html#ad7947f131eff6412fed02a27b932f15c">calculateBaseFee</a>(<a class="code hl_class" href="classxrpl_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>& view, <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx);</div>
|
|
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> </div>
|
|
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span><a class="code hl_class" href="classxrpl_1_1XRPAmount.html">XRPAmount</a></div>
|
|
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span><a class="code hl_function" href="namespacexrpl.html#ab7e7857ea11d74649d6469e902efd655">calculateDefaultBaseFee</a>(<a class="code hl_class" href="classxrpl_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>& view, <a class="code hl_class" href="classxrpl_1_1STTx.html">STTx</a> <span class="keyword">const</span>& tx);</div>
|
|
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> </div>
|
|
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span><a class="code hl_struct" href="structxrpl_1_1ApplyResult.html">ApplyResult</a></div>
|
|
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span><a class="code hl_function" href="namespacexrpl.html#ab5ea11300fb9863c37c3408ece861096">doApply</a>(<a class="code hl_struct" href="structxrpl_1_1PreclaimResult.html">PreclaimResult</a> <span class="keyword">const</span>& preclaimResult, <a class="code hl_class" href="classxrpl_1_1Application.html">Application</a>& app, <a class="code hl_class" href="classxrpl_1_1OpenView.html">OpenView</a>& view);</div>
|
|
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> </div>
|
|
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span>} <span class="comment">// namespace xrpl</span></div>
|
|
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
|
|
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span><span class="preprocessor">#endif</span></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#l00040">Journal.h:41</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Application_html"><div class="ttname"><a href="classxrpl_1_1Application.html">xrpl::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00094">Application.h:95</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1OpenView_html"><div class="ttname"><a href="classxrpl_1_1OpenView.html">xrpl::OpenView</a></div><div class="ttdoc">Writable ledger view that accumulates state and tx changes.</div><div class="ttdef"><b>Definition</b> <a href="OpenView_8h_source.html#l00045">OpenView.h:46</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1ReadView_html"><div class="ttname"><a href="classxrpl_1_1ReadView.html">xrpl::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition</b> <a href="ReadView_8h_source.html#l00031">ReadView.h:32</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Rules_html"><div class="ttname"><a href="classxrpl_1_1Rules.html">xrpl::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition</b> <a href="Rules_8h_source.html#l00018">Rules.h:19</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1STTx_html"><div class="ttname"><a href="classxrpl_1_1STTx.html">xrpl::STTx</a></div><div class="ttdef"><b>Definition</b> <a href="STTx_8h_source.html#l00028">STTx.h:29</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1SeqProxy_html"><div class="ttname"><a href="classxrpl_1_1SeqProxy.html">xrpl::SeqProxy</a></div><div class="ttdoc">A type that represents either a sequence value or a ticket value.</div><div class="ttdef"><b>Definition</b> <a href="SeqProxy_8h_source.html#l00036">SeqProxy.h:37</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1SeqProxy_html_acae73f339da29531c3d506b6c5606993"><div class="ttname"><a href="classxrpl_1_1SeqProxy.html#acae73f339da29531c3d506b6c5606993">xrpl::SeqProxy::advanceBy</a></div><div class="ttdeci">SeqProxy & advanceBy(std::uint32_t amount)</div><div class="ttdef"><b>Definition</b> <a href="SeqProxy_8h_source.html#l00085">SeqProxy.h:85</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TERSubset_html"><div class="ttname"><a href="classxrpl_1_1TERSubset.html">xrpl::TERSubset< CanCvtToTER ></a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html">xrpl::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#l00038">applySteps.h:39</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a1ec3005cdaa5121f676dea67e1f35c85"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a1ec3005cdaa5121f676dea67e1f35c85">xrpl::TxConsequences::sequencesConsumed_</a></div><div class="ttdeci">std::uint32_t sequencesConsumed_</div><div class="ttdoc">Number of sequences consumed.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00062">applySteps.h:62</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a33f37210f363c069e6faa24cbdfd2231"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231">xrpl::TxConsequences::Category</a></div><div class="ttdeci">Category</div><div class="ttdoc">Describes how the transaction affects subsequent transactions.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00043">applySteps.h:43</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a33f37210f363c069e6faa24cbdfd2231a38ad0167dc0ce3a5664949640fa2f2a2"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231a38ad0167dc0ce3a5664949640fa2f2a2">xrpl::TxConsequences::normal</a></div><div class="ttdeci">@ normal</div><div class="ttdoc">Moves currency around, creates offers, etc.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00045">applySteps.h:45</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a33f37210f363c069e6faa24cbdfd2231ac7856c799618606e237a4054c140a4a9"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a33f37210f363c069e6faa24cbdfd2231ac7856c799618606e237a4054c140a4a9">xrpl::TxConsequences::blocker</a></div><div class="ttdeci">@ blocker</div><div class="ttdoc">Affects the ability of subsequent transactions to claim a fee.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00049">applySteps.h:48</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a384e3ee874193b63ee35f764a0b30b72"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a384e3ee874193b63ee35f764a0b30b72">xrpl::TxConsequences::seqProxy</a></div><div class="ttdeci">SeqProxy seqProxy() const</div><div class="ttdoc">SeqProxy.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00108">applySteps.h:108</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a3f18eda6ca7e8d8ddf07a8fdd519c25a"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a3f18eda6ca7e8d8ddf07a8fdd519c25a">xrpl::TxConsequences::potentialSpend_</a></div><div class="ttdeci">XRPAmount potentialSpend_</div><div class="ttdoc">Does NOT include the fee.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00058">applySteps.h:58</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a560cb49603d2cce538e1d24c7493ce55"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a560cb49603d2cce538e1d24c7493ce55">xrpl::TxConsequences::isBlocker_</a></div><div class="ttdeci">bool isBlocker_</div><div class="ttdoc">Describes how the transaction affects subsequent transactions.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00054">applySteps.h:54</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a5811312012f422a35d10d8fb8df1c357"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a5811312012f422a35d10d8fb8df1c357">xrpl::TxConsequences::isBlocker</a></div><div class="ttdeci">bool isBlocker() const</div><div class="ttdoc">Returns true if the transaction is a blocker.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00122">applySteps.h:122</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_a70cc6896d39576be070e7d0af358f256"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#a70cc6896d39576be070e7d0af358f256">xrpl::TxConsequences::sequencesConsumed</a></div><div class="ttdeci">std::uint32_t sequencesConsumed() const</div><div class="ttdoc">Sequences consumed.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00115">applySteps.h:115</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_abae7a08a165a4ee7a021757e213b4ebd"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#abae7a08a165a4ee7a021757e213b4ebd">xrpl::TxConsequences::potentialSpend</a></div><div class="ttdeci">XRPAmount const & potentialSpend() const</div><div class="ttdoc">Potential Spend.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00101">applySteps.h:101</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_abaf9b7e36718430cbee01ac399a34a6a"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#abaf9b7e36718430cbee01ac399a34a6a">xrpl::TxConsequences::operator=</a></div><div class="ttdeci">TxConsequences & operator=(TxConsequences const &)=default</div><div class="ttdoc">Copy assignment operator.</div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_abe776ab24368b66434235e5fc95b768c"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#abe776ab24368b66434235e5fc95b768c">xrpl::TxConsequences::followingSeq</a></div><div class="ttdeci">SeqProxy followingSeq() const</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00129">applySteps.h:129</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_ac0db59f245432f4ea2a3c1239566f0ea"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#ac0db59f245432f4ea2a3c1239566f0ea">xrpl::TxConsequences::seqProx_</a></div><div class="ttdeci">SeqProxy seqProx_</div><div class="ttdoc">SeqProxy of transaction.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00060">applySteps.h:60</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_ac2bfb5fa3f02cffe30c9aa36c7de6701"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#ac2bfb5fa3f02cffe30c9aa36c7de6701">xrpl::TxConsequences::fee_</a></div><div class="ttdeci">XRPAmount fee_</div><div class="ttdoc">Transaction fee.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00056">applySteps.h:56</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_acbc2baaca63bb3208b3b9cb94a737694"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#acbc2baaca63bb3208b3b9cb94a737694">xrpl::TxConsequences::operator=</a></div><div class="ttdeci">TxConsequences & operator=(TxConsequences &&)=default</div><div class="ttdoc">Move assignment operator.</div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_ad4edda32b78bb67a3c2efaa6747e16a3"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#ad4edda32b78bb67a3c2efaa6747e16a3">xrpl::TxConsequences::TxConsequences</a></div><div class="ttdeci">TxConsequences(TxConsequences const &)=default</div><div class="ttdoc">Copy constructor.</div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_af0effb7c4195ebb26d3ad84146dd6324"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#af0effb7c4195ebb26d3ad84146dd6324">xrpl::TxConsequences::TxConsequences</a></div><div class="ttdeci">TxConsequences(TxConsequences &&)=default</div><div class="ttdoc">Move constructor.</div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1TxConsequences_html_af6d4187b5f6071df5398f812c31fbe45"><div class="ttname"><a href="classxrpl_1_1TxConsequences.html#af6d4187b5f6071df5398f812c31fbe45">xrpl::TxConsequences::fee</a></div><div class="ttdeci">XRPAmount fee() const</div><div class="ttdoc">Fee.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00094">applySteps.h:94</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1XRPAmount_html"><div class="ttname"><a href="classxrpl_1_1XRPAmount.html">xrpl::XRPAmount</a></div><div class="ttdef"><b>Definition</b> <a href="XRPAmount_8h_source.html#l00020">XRPAmount.h:24</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1base__uint_html"><div class="ttname"><a href="classxrpl_1_1base__uint.html">xrpl::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
|
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
|
|
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
|
|
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_a383cabfd6f002db1baf8c9ea4e12cda1"><div class="ttname"><a href="namespacexrpl.html#a383cabfd6f002db1baf8c9ea4e12cda1">xrpl::isTecClaimHardFail</a></div><div class="ttdeci">bool isTecClaimHardFail(TER ter, ApplyFlags flags)</div><div class="ttdoc">Return true if the transaction can claim a fee (tec), and the ApplyFlags do not allow soft failures.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00029">applySteps.h:29</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_a4b9cd90d78d04b423badb0d09d7861d6"><div class="ttname"><a href="namespacexrpl.html#a4b9cd90d78d04b423badb0d09d7861d6">xrpl::preflight</a></div><div class="ttdeci">PreflightResult preflight(Application &app, Rules const &rules, STTx const &tx, ApplyFlags flags, beast::Journal j)</div><div class="ttdoc">Gate a transaction based on static information.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8cpp_source.html#l00284">applySteps.cpp:284</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ab5ea11300fb9863c37c3408ece861096"><div class="ttname"><a href="namespacexrpl.html#ab5ea11300fb9863c37c3408ece861096">xrpl::doApply</a></div><div class="ttdeci">ApplyResult doApply(PreclaimResult const &preclaimResult, Application &app, OpenView &view)</div><div class="ttdoc">Apply a prechecked transaction to an OpenView.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8cpp_source.html#l00398">applySteps.cpp:398</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ab7e7857ea11d74649d6469e902efd655"><div class="ttname"><a href="namespacexrpl.html#ab7e7857ea11d74649d6469e902efd655">xrpl::calculateDefaultBaseFee</a></div><div class="ttdeci">XRPAmount calculateDefaultBaseFee(ReadView const &view, STTx const &tx)</div><div class="ttdoc">Return the minimum fee that an "ordinary" transaction would pay.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8cpp_source.html#l00392">applySteps.cpp:392</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_abd040209899a4fb5e9c298f9156a074e"><div class="ttname"><a href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074e">xrpl::ApplyFlags</a></div><div class="ttdeci">ApplyFlags</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00011">ApplyView.h:11</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_abd040209899a4fb5e9c298f9156a074ea947da2d0d9ba904ff2f9ff0f8ee1a4b3"><div class="ttname"><a href="namespacexrpl.html#abd040209899a4fb5e9c298f9156a074ea947da2d0d9ba904ff2f9ff0f8ee1a4b3">xrpl::tapRETRY</a></div><div class="ttdeci">@ tapRETRY</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00020">ApplyView.h:20</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_acb93b94d268f91feb3070b53f8ac42d1"><div class="ttname"><a href="namespacexrpl.html#acb93b94d268f91feb3070b53f8ac42d1">xrpl::preclaim</a></div><div class="ttdeci">PreclaimResult preclaim(PreflightResult const &preflightResult, Application &app, OpenView const &view)</div><div class="ttdoc">Gate a transaction based on static ledger information.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8cpp_source.html#l00325">applySteps.cpp:325</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ad7947f131eff6412fed02a27b932f15c"><div class="ttname"><a href="namespacexrpl.html#ad7947f131eff6412fed02a27b932f15c">xrpl::calculateBaseFee</a></div><div class="ttdeci">XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)</div><div class="ttdoc">Compute only the expected base fee for a transaction.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8cpp_source.html#l00386">applySteps.cpp:386</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ada2e431f68c4d8a2d3cdd92966cea33e"><div class="ttname"><a href="namespacexrpl.html#ada2e431f68c4d8a2d3cdd92966cea33e">xrpl::isTecClaim</a></div><div class="ttdeci">bool isTecClaim(TER x) noexcept</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00666">TER.h:666</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_af4adbbe94a1cecf1bd3ad2c76ff1ea3da157dace29a657c58cdeb4f7fa19be976"><div class="ttname"><a href="namespacexrpl.html#af4adbbe94a1cecf1bd3ad2c76ff1ea3da157dace29a657c58cdeb4f7fa19be976">xrpl::tesSUCCESS</a></div><div class="ttdeci">@ tesSUCCESS</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00227">TER.h:226</a></div></div>
|
|
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
|
|
<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="astructxrpl_1_1ApplyResult_html"><div class="ttname"><a href="structxrpl_1_1ApplyResult.html">xrpl::ApplyResult</a></div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00013">applySteps.h:14</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1ApplyResult_html_a1c9e9b0c8761cfa5b895107360dd9315"><div class="ttname"><a href="structxrpl_1_1ApplyResult.html#a1c9e9b0c8761cfa5b895107360dd9315">xrpl::ApplyResult::metadata</a></div><div class="ttdeci">std::optional< TxMeta > metadata</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00017">applySteps.h:17</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1ApplyResult_html_a5dfc7bef53df5c9a27402554f81360af"><div class="ttname"><a href="structxrpl_1_1ApplyResult.html#a5dfc7bef53df5c9a27402554f81360af">xrpl::ApplyResult::ter</a></div><div class="ttdeci">TER ter</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00015">applySteps.h:15</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1ApplyResult_html_a729de286f0bfca70339ace5084047283"><div class="ttname"><a href="structxrpl_1_1ApplyResult.html#a729de286f0bfca70339ace5084047283">xrpl::ApplyResult::ApplyResult</a></div><div class="ttdeci">ApplyResult(TER t, bool a, std::optional< TxMeta > m=std::nullopt)</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00019">applySteps.h:19</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1ApplyResult_html_a9c48efe4d7b0e463fe878a4486d3ef01"><div class="ttname"><a href="structxrpl_1_1ApplyResult.html#a9c48efe4d7b0e463fe878a4486d3ef01">xrpl::ApplyResult::applied</a></div><div class="ttdeci">bool applied</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00016">applySteps.h:16</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html">xrpl::PreclaimResult</a></div><div class="ttdoc">Describes the results of the preclaim check.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00189">applySteps.h:190</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a3a89de2dd0ffbf7502246451b9e8d726"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a3a89de2dd0ffbf7502246451b9e8d726">xrpl::PreclaimResult::view</a></div><div class="ttdeci">ReadView const & view</div><div class="ttdoc">From the input - the ledger view.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00193">applySteps.h:193</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a3b4a8e22e5a9258c86f87de7c4b28ea7"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a3b4a8e22e5a9258c86f87de7c4b28ea7">xrpl::PreclaimResult::parentBatchId</a></div><div class="ttdeci">std::optional< uint256 const > const parentBatchId</div><div class="ttdoc">From the input - the batch identifier, if part of a batch.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00197">applySteps.h:197</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a60315e72e3d7f48b5dd08da452846a9b"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a60315e72e3d7f48b5dd08da452846a9b">xrpl::PreclaimResult::ter</a></div><div class="ttdeci">TER const ter</div><div class="ttdoc">Intermediate transaction result.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00204">applySteps.h:204</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a64e8b827da8875e12f8da4ce675c188e"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a64e8b827da8875e12f8da4ce675c188e">xrpl::PreclaimResult::PreclaimResult</a></div><div class="ttdeci">PreclaimResult(Context const &ctx_, TER ter_)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00212">applySteps.h:212</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a7f84b969aae5bfe37d1c29b832d0b145"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a7f84b969aae5bfe37d1c29b832d0b145">xrpl::PreclaimResult::flags</a></div><div class="ttdeci">ApplyFlags const flags</div><div class="ttdoc">From the input - the flags.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00199">applySteps.h:199</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a8e9cd77472db1554f37ba2209196956c"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a8e9cd77472db1554f37ba2209196956c">xrpl::PreclaimResult::PreclaimResult</a></div><div class="ttdeci">PreclaimResult(PreclaimResult const &)=default</div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_a978c68991794b744f1cc821743bcfba4"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#a978c68991794b744f1cc821743bcfba4">xrpl::PreclaimResult::tx</a></div><div class="ttdeci">STTx const & tx</div><div class="ttdoc">From the input - the transaction.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00195">applySteps.h:195</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_aaf2b37ba9eaf534db8071959fdd8032d"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#aaf2b37ba9eaf534db8071959fdd8032d">xrpl::PreclaimResult::operator=</a></div><div class="ttdeci">PreclaimResult & operator=(PreclaimResult const &)=delete</div><div class="ttdoc">Deleted copy assignment operator.</div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_ad701c7d59fb50d5129d0c955d4df66cc"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#ad701c7d59fb50d5129d0c955d4df66cc">xrpl::PreclaimResult::j</a></div><div class="ttdeci">beast::Journal const j</div><div class="ttdoc">From the input - the journal.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00201">applySteps.h:201</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreclaimResult_html_afa78fd5debe7f3f3eef58aa4027b9116"><div class="ttname"><a href="structxrpl_1_1PreclaimResult.html#afa78fd5debe7f3f3eef58aa4027b9116">xrpl::PreclaimResult::likelyToClaimFee</a></div><div class="ttdeci">bool const likelyToClaimFee</div><div class="ttdoc">Success flag - whether the transaction is likely to claim a fee.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00208">applySteps.h:208</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html">xrpl::PreflightResult</a></div><div class="ttdoc">Describes the results of the preflight check.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00143">applySteps.h:144</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a03b08decd3851574647deb7ccf1c784a"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a03b08decd3851574647deb7ccf1c784a">xrpl::PreflightResult::consequences</a></div><div class="ttdeci">TxConsequences const consequences</div><div class="ttdoc">Consequences of the transaction.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00153">applySteps.h:153</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a0f820575d9a8dde0b932850be87d5519"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a0f820575d9a8dde0b932850be87d5519">xrpl::PreflightResult::operator=</a></div><div class="ttdeci">PreflightResult & operator=(PreflightResult const &)=delete</div><div class="ttdoc">Deleted copy assignment operator.</div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a117c303fbfa71b167de088c40bb54dd2"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a117c303fbfa71b167de088c40bb54dd2">xrpl::PreflightResult::j</a></div><div class="ttdeci">beast::Journal const j</div><div class="ttdoc">From the input - the journal.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00157">applySteps.h:157</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a17e8c33ef6a1070584c483757c9447aa"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a17e8c33ef6a1070584c483757c9447aa">xrpl::PreflightResult::flags</a></div><div class="ttdeci">ApplyFlags const flags</div><div class="ttdoc">From the input - the flags.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00155">applySteps.h:155</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a23cf41d296125fa8b5f957ddd0987c8f"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a23cf41d296125fa8b5f957ddd0987c8f">xrpl::PreflightResult::rules</a></div><div class="ttdeci">Rules const rules</div><div class="ttdoc">From the input - the rules.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00151">applySteps.h:151</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a43f4d6ec40066dce549337da9c09d123"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a43f4d6ec40066dce549337da9c09d123">xrpl::PreflightResult::ter</a></div><div class="ttdeci">NotTEC const ter</div><div class="ttdoc">Intermediate transaction result.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00160">applySteps.h:160</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a505b9efc5ceb31545e729f0b7ef14cb5"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a505b9efc5ceb31545e729f0b7ef14cb5">xrpl::PreflightResult::PreflightResult</a></div><div class="ttdeci">PreflightResult(PreflightResult const &)=default</div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a59c707a8829ab0a94581091b4be5081b"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a59c707a8829ab0a94581091b4be5081b">xrpl::PreflightResult::parentBatchId</a></div><div class="ttdeci">std::optional< uint256 const > const parentBatchId</div><div class="ttdoc">From the input - the batch identifier, if part of a batch.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00149">applySteps.h:149</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_a6dff13572473bd53db573dedd12a1bb0"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#a6dff13572473bd53db573dedd12a1bb0">xrpl::PreflightResult::tx</a></div><div class="ttdeci">STTx const & tx</div><div class="ttdoc">From the input - the transaction.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00147">applySteps.h:147</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1PreflightResult_html_ab98d7e79dd5660eb1ab84ed39dd4838c"><div class="ttname"><a href="structxrpl_1_1PreflightResult.html#ab98d7e79dd5660eb1ab84ed39dd4838c">xrpl::PreflightResult::PreflightResult</a></div><div class="ttdeci">PreflightResult(Context const &ctx_, std::pair< NotTEC, TxConsequences > const &result)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition</b> <a href="applySteps_8h_source.html#l00164">applySteps.h:164</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|