Files
rippled/RPCHelpers_8h_source.html
2025-09-18 10:58:55 -07:00

339 lines
61 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: RPCHelpers.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&amp;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&amp;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&amp;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_42b876eb66f74e25995e23a7c0222dc7.html">rpc</a></li><li class="navelem"><a class="el" href="dir_f2000200ababdfebbc57680f92fa09d7.html">detail</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">RPCHelpers.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="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" 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 id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012=2014 Ripple Labs Inc.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" 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 id="l00007" 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 id="l00008" 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 id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a id="l00011" 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 id="l00012" 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 id="l00013" 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 id="l00014" 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 id="l00015" 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 id="l00016" 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 id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_RPC_RPCHELPERS_H_INCLUDED</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_RPC_RPCHELPERS_H_INCLUDED</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpld/app/misc/NetworkOPs.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpld/app/misc/TxQ.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpld/rpc/Context.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpld/rpc/Status.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;xrpld/rpc/detail/Tuning.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;xrpl/beast/core/SemanticVersion.h&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.pb.h&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &lt;xrpl/protocol/ApiVersion.h&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include &lt;xrpl/protocol/SecretKey.h&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>&gt;</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/variant.html">variant</a>&gt;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceJson.html">Json</a> {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">class </span>Value;</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> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keyword">class </span>ReadView;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keyword">class </span>Transaction;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">namespace </span>RPC {</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">struct </span>JsonContext;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#ab296c114ef59099643a10df577e71a30">accountFromStringStrict</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">// --&gt; strIdent: public key, account ID, or regular seed.</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="comment">// --&gt; bStrict: Only allow account id or public key.</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">//</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span><span class="comment">// Returns a Json::objectValue, containing error information if there was one.</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a9dc259937a004b30e88f41a95756bee0">accountFromString</a>(</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>&amp; result,</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strIdent,</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">bool</span> bStrict = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a19a7026fa315242cf5175e50408f90f7">accountFromStringWithCode</a>(</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a>&amp; result,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; strIdent,</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">bool</span> bStrict = <span class="keyword">false</span>);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#ad7e2c5bdd160ac430d40ff151be3d329">getStartHint</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;SLE const&gt;</a> <span class="keyword">const</span>&amp; sle, <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> <span class="keyword">const</span>&amp; accountID);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a48a28f18f24e91e6a1cb5b8a1aefdd01">isRelatedToAccount</a>(</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> ReadView <span class="keyword">const</span>&amp; ledger,</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;SLE const&gt;</a> <span class="keyword">const</span>&amp; sle,</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> <span class="keyword">const</span>&amp; accountID);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a8357793802bdb5dc41c19160d17943c1">getAccountObjects</a>(</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> ReadView <span class="keyword">const</span>&amp; ledger,</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_typedef" href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">AccountID</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt;<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;LedgerEntryType&gt;</a>&gt; <span class="keyword">const</span>&amp; typeFilter,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> dirIndex,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> entryIndex,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> limit,</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; jvResult);</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span><a class="code hl_enumeration" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">Status</a></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5ca3ee8ffc28dc10f963ceefc50aaf39">getLedger</a>(T&amp; ledger, <a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>&amp; ledgerHash, Context&amp; context);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><a class="code hl_enumeration" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">Status</a></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5ca3ee8ffc28dc10f963ceefc50aaf39">getLedger</a>(T&amp; ledger, uint32_t ledgerIndex, Context&amp; context);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2a87e3e9655998bfcbbed2d92d3c4d42c9"> 130</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">LedgerShortcut</a> { <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2a1ccbdd5cbc00ad939048ccd47f9c6d8a">CURRENT</a>, <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2a87e3e9655998bfcbbed2d92d3c4d42c9">CLOSED</a>, <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2af275a9f97d64cc8d9bbec02e4a361755">VALIDATED</a> };</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span>Status</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a5ca3ee8ffc28dc10f963ceefc50aaf39">getLedger</a>(T&amp; ledger, <a class="code hl_enumeration" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">LedgerShortcut</a> shortcut, Context&amp; context);</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aaebfaaee35308269fab499f4e203a8c9">lookupLedger</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;ReadView const&gt;</a>&amp;, JsonContext&amp;);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>Status</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aaebfaaee35308269fab499f4e203a8c9">lookupLedger</a>(</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;ReadView const&gt;</a>&amp;,</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> JsonContext&amp;,</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; result);</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T, <span class="keyword">class</span> R&gt;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span>Status</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a104dbc5195143f3a17ab8b9af1ada0fc">ledgerFromRequest</a>(T&amp; ledger, GRPCContext&lt;R&gt;&amp; context);</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span>Status</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#aaf2f3f7b2146f293d76f09249d86334f">ledgerFromSpecifier</a>(</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> T&amp; ledger,</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> org::xrpl::rpc::v1::LedgerSpecifier <span class="keyword">const</span>&amp; specifier,</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> Context&amp; context);</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set&lt;AccountID&gt;</a></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#ab56a444079d769fd33fdd04aa0c8baf3">parseAccountIds</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; jvArray);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#af0d8f7023aadd4a6fd6a24af152f856f"> 174</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#af0d8f7023aadd4a6fd6a24af152f856f">isHexTxID</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; txid);</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a4ea6d08c0d50d738a6a55130a09ec238">injectSLE</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; jv, <a class="code hl_class" href="classripple_1_1STLedgerEntry.html">SLE</a> <span class="keyword">const</span>&amp; sle);</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Json::Value&gt;</a></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a8ee18e94aa5290134fbc7f373ded485e">readLimitField</a>(</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; limit,</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1Tuning_1_1LimitRange.html">Tuning::LimitRange</a> <span class="keyword">const</span>&amp;,</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <a class="code hl_struct" href="structripple_1_1RPC_1_1JsonContext.html">JsonContext</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Seed&gt;</a></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a21a7a8635c70c3b03697d3be9ef7e168">getSeedFromRPC</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; params, <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; error);</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;Seed&gt;</a></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#af8384f050c0cc9f8be2fae281035f85f">parseRippleLibSeed</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; params);</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a0fe56e1b63393e6849bd6780f5f8c8f9"> 207</a></span><span class="keyword">extern</span> <a class="code hl_class" href="classbeast_1_1SemanticVersion.html">beast::SemanticVersion</a> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a0fe56e1b63393e6849bd6780f5f8c8f9">firstVersion</a>;</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a914dcfec5209f33f2e6aacf690bd3abe"> 208</a></span><span class="keyword">extern</span> <a class="code hl_class" href="classbeast_1_1SemanticVersion.html">beast::SemanticVersion</a> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a914dcfec5209f33f2e6aacf690bd3abe">goodVersion</a>;</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a25e737de7bc96ebd54d81fd259c428ad"> 209</a></span><span class="keyword">extern</span> <a class="code hl_class" href="classbeast_1_1SemanticVersion.html">beast::SemanticVersion</a> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a25e737de7bc96ebd54d81fd259c428ad">lastVersion</a>;</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> Object&gt;</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span><span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00213" data-start="{" data-end="}">
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a952d28abf431af0330afa7db13e7253d"> 213</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a952d28abf431af0330afa7db13e7253d">setVersion</a>(Object&amp; parent, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a47dbdaa21d9c40b369424e671ccd7e20">apiVersion</a>, <span class="keywordtype">bool</span> betaEnabled)</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span>{</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> XRPL_ASSERT(</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a47dbdaa21d9c40b369424e671ccd7e20">apiVersion</a> != <a class="code hl_variable" href="namespaceripple_1_1RPC.html#ac444ee3babf6fcf2604699ee4ae2e777">apiInvalidVersion</a>,</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> <span class="stringliteral">&quot;ripple::RPC::setVersion : input is valid&quot;</span>);</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">auto</span>&amp;&amp; <span class="keywordtype">object</span> = addObject(parent, jss::version);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="namespaceripple_1_1RPC.html#a47dbdaa21d9c40b369424e671ccd7e20">apiVersion</a> == <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a9e992ce4d974403f94f4daf62aa18761">apiVersionIfUnspecified</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> <span class="keywordtype">object</span>[jss::first] = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a0fe56e1b63393e6849bd6780f5f8c8f9">firstVersion</a>.<a class="code hl_function" href="classbeast_1_1SemanticVersion.html#aab2063f8b5f916d56d34c81bad003ec3">print</a>();</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <span class="keywordtype">object</span>[jss::good] = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a914dcfec5209f33f2e6aacf690bd3abe">goodVersion</a>.<a class="code hl_function" href="classbeast_1_1SemanticVersion.html#aab2063f8b5f916d56d34c81bad003ec3">print</a>();</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="keywordtype">object</span>[jss::last] = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a25e737de7bc96ebd54d81fd259c428ad">lastVersion</a>.<a class="code hl_function" href="classbeast_1_1SemanticVersion.html#aab2063f8b5f916d56d34c81bad003ec3">print</a>();</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> }</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> <span class="keywordflow">else</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> {</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> <span class="keywordtype">object</span>[jss::first] = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#ad9e8e104e82c67f071a254fa6849afe6">apiMinimumSupportedVersion</a>.value;</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> <span class="keywordtype">object</span>[jss::last] =</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> betaEnabled ? <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a63c1a4ab8820cf80f6f0e49ca041e9a0">apiBetaVersion</a> : <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a2b3ccf6ba58d8b93038397557338bc32">apiMaximumSupportedVersion</a>;</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> }</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span>}</div>
</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;RPC::Status, LedgerEntryType&gt;</a></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a75647cbae9e0bae5c52d8b8288d78028">chooseLedgerEntryType</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; params);</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a449a1f72668a0d861d60f136efa09db9">isAccountObjectsValidType</a>(<a class="code hl_enumeration" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139">LedgerEntryType</a> <span class="keyword">const</span>&amp; type);</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a4f4d5d12384c7c76f873c16166c8da43">getAPIVersionNumber</a>(<a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; value, <span class="keywordtype">bool</span> betaEnabled);</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> </div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant&lt;std::shared_ptr&lt;Ledger const&gt;</a>, <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&gt;</div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a3d184448118cdb346afad3a14ac36ddd">getLedgerByContext</a>(<a class="code hl_struct" href="structripple_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>&amp; context);</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::pair&lt;PublicKey, SecretKey&gt;</a>&gt;</div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#af894bdbf60a077993d884fd31cf6e694">keypairForSignature</a>(</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; params,</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>&amp; error,</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a47dbdaa21d9c40b369424e671ccd7e20">apiVersion</a> = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a9e992ce4d974403f94f4daf62aa18761">apiVersionIfUnspecified</a>);</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> </div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span>} <span class="comment">// namespace RPC</span></div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> </div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span><span class="preprocessor">#endif</span></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>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
<div class="ttc" id="aclassbeast_1_1SemanticVersion_html"><div class="ttname"><a href="classbeast_1_1SemanticVersion.html">beast::SemanticVersion</a></div><div class="ttdoc">A Semantic Version number.</div><div class="ttdef"><b>Definition</b> <a href="SemanticVersion_8h_source.html#l00035">SemanticVersion.h:36</a></div></div>
<div class="ttc" id="aclassbeast_1_1SemanticVersion_html_aab2063f8b5f916d56d34c81bad003ec3"><div class="ttname"><a href="classbeast_1_1SemanticVersion.html#aab2063f8b5f916d56d34c81bad003ec3">beast::SemanticVersion::print</a></div><div class="ttdeci">std::string print() const</div><div class="ttdoc">Produce a string from semantic version components.</div><div class="ttdef"><b>Definition</b> <a href="SemanticVersion_8cpp_source.html#l00240">SemanticVersion.cpp:240</a></div></div>
<div class="ttc" id="aclassripple_1_1STLedgerEntry_html"><div class="ttname"><a href="classripple_1_1STLedgerEntry.html">ripple::STLedgerEntry</a></div><div class="ttdef"><b>Definition</b> <a href="STLedgerEntry_8h_source.html#l00033">STLedgerEntry.h:34</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
<div class="ttc" id="anamespaceJson_html"><div class="ttname"><a href="namespaceJson.html">Json</a></div><div class="ttdoc">JSON (JavaScript Object Notation).</div><div class="ttdef"><b>Definition</b> <a href="json__errors_8h_source.html#l00025">json_errors.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00044">src/xrpld/nodestore/Types.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a0fe56e1b63393e6849bd6780f5f8c8f9"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a0fe56e1b63393e6849bd6780f5f8c8f9">ripple::RPC::firstVersion</a></div><div class="ttdeci">beast::SemanticVersion const firstVersion(&quot;1.0.0&quot;)</div><div class="ttdoc">API version numbers used in API version 1.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00207">RPCHelpers.h:207</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a104dbc5195143f3a17ab8b9af1ada0fc"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a104dbc5195143f3a17ab8b9af1ada0fc">ripple::RPC::ledgerFromRequest</a></div><div class="ttdeci">Status ledgerFromRequest(T &amp;ledger, GRPCContext&lt; R &gt; &amp;context)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00411">RPCHelpers.cpp:411</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a19a7026fa315242cf5175e50408f90f7"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a19a7026fa315242cf5175e50408f90f7">ripple::RPC::accountFromStringWithCode</a></div><div class="ttdeci">error_code_i accountFromStringWithCode(AccountID &amp;result, std::string const &amp;strIdent, bool bStrict)</div><div class="ttdoc">Decode account ID from string.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00060">RPCHelpers.cpp:60</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a21a7a8635c70c3b03697d3be9ef7e168"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a21a7a8635c70c3b03697d3be9ef7e168">ripple::RPC::getSeedFromRPC</a></div><div class="ttdeci">std::optional&lt; Seed &gt; getSeedFromRPC(Json::Value const &amp;params, Json::Value &amp;error)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00739">RPCHelpers.cpp:739</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a25e737de7bc96ebd54d81fd259c428ad"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a25e737de7bc96ebd54d81fd259c428ad">ripple::RPC::lastVersion</a></div><div class="ttdeci">beast::SemanticVersion const lastVersion(&quot;1.0.0&quot;)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00209">RPCHelpers.h:209</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a2b3ccf6ba58d8b93038397557338bc32"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a2b3ccf6ba58d8b93038397557338bc32">ripple::RPC::apiMaximumSupportedVersion</a></div><div class="ttdeci">static constexpr auto apiMaximumSupportedVersion</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00057">ApiVersion.h:57</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a3d184448118cdb346afad3a14ac36ddd"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a3d184448118cdb346afad3a14ac36ddd">ripple::RPC::getLedgerByContext</a></div><div class="ttdeci">std::variant&lt; std::shared_ptr&lt; Ledger const &gt;, Json::Value &gt; getLedgerByContext(RPC::JsonContext &amp;context)</div><div class="ttdoc">Return a ledger based on ledger_hash or ledger_index, or an RPC error.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l01030">RPCHelpers.cpp:1030</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a449a1f72668a0d861d60f136efa09db9"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a449a1f72668a0d861d60f136efa09db9">ripple::RPC::isAccountObjectsValidType</a></div><div class="ttdeci">bool isAccountObjectsValidType(LedgerEntryType const &amp;type)</div><div class="ttdoc">Check if the type is a valid filtering type for account_objects method.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00989">RPCHelpers.cpp:989</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a47dbdaa21d9c40b369424e671ccd7e20"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a47dbdaa21d9c40b369424e671ccd7e20">ripple::RPC::apiVersion</a></div><div class="ttdeci">static constexpr std::integral_constant&lt; unsigned, Version &gt; apiVersion</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00053">ApiVersion.h:53</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a48a28f18f24e91e6a1cb5b8a1aefdd01"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a48a28f18f24e91e6a1cb5b8a1aefdd01">ripple::RPC::isRelatedToAccount</a></div><div class="ttdeci">bool isRelatedToAccount(ReadView const &amp;ledger, std::shared_ptr&lt; SLE const &gt; const &amp;sle, AccountID const &amp;accountID)</div><div class="ttdoc">Tests if a SLE is owned by accountID.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00115">RPCHelpers.cpp:115</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4c04e509451d50d9449cff3d477ff4f2"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">ripple::RPC::LedgerShortcut</a></div><div class="ttdeci">LedgerShortcut</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00130">RPCHelpers.h:130</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4c04e509451d50d9449cff3d477ff4f2a1ccbdd5cbc00ad939048ccd47f9c6d8a"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2a1ccbdd5cbc00ad939048ccd47f9c6d8a">ripple::RPC::CURRENT</a></div><div class="ttdeci">@ CURRENT</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00130">RPCHelpers.h:130</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4c04e509451d50d9449cff3d477ff4f2a87e3e9655998bfcbbed2d92d3c4d42c9"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2a87e3e9655998bfcbbed2d92d3c4d42c9">ripple::RPC::CLOSED</a></div><div class="ttdeci">@ CLOSED</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00130">RPCHelpers.h:130</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4c04e509451d50d9449cff3d477ff4f2af275a9f97d64cc8d9bbec02e4a361755"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2af275a9f97d64cc8d9bbec02e4a361755">ripple::RPC::VALIDATED</a></div><div class="ttdeci">@ VALIDATED</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00130">RPCHelpers.h:130</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4ea6d08c0d50d738a6a55130a09ec238"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4ea6d08c0d50d738a6a55130a09ec238">ripple::RPC::injectSLE</a></div><div class="ttdeci">void injectSLE(Json::Value &amp;jv, SLE const &amp;sle)</div><div class="ttdoc">Inject JSON describing ledger entry.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00676">RPCHelpers.cpp:676</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4f4d5d12384c7c76f873c16166c8da43"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4f4d5d12384c7c76f873c16166c8da43">ripple::RPC::getAPIVersionNumber</a></div><div class="ttdeci">unsigned int getAPIVersionNumber(Json::Value const &amp;jv, bool betaEnabled)</div><div class="ttdoc">Retrieve the api version number from the json value.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l01009">RPCHelpers.cpp:1009</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5ca3ee8ffc28dc10f963ceefc50aaf39"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5ca3ee8ffc28dc10f963ceefc50aaf39">ripple::RPC::getLedger</a></div><div class="ttdeci">Status getLedger(T &amp;ledger, uint256 const &amp;ledgerHash, Context &amp;context)</div><div class="ttdoc">Get ledger by hash If there is no error in the return value, the ledger pointer will have been filled...</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00491">RPCHelpers.cpp:491</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a63c1a4ab8820cf80f6f0e49ca041e9a0"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a63c1a4ab8820cf80f6f0e49ca041e9a0">ripple::RPC::apiBetaVersion</a></div><div class="ttdeci">static constexpr auto apiBetaVersion</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00061">ApiVersion.h:61</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a75647cbae9e0bae5c52d8b8288d78028"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a75647cbae9e0bae5c52d8b8288d78028">ripple::RPC::chooseLedgerEntryType</a></div><div class="ttdeci">std::pair&lt; RPC::Status, LedgerEntryType &gt; chooseLedgerEntryType(Json::Value const &amp;params)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00934">RPCHelpers.cpp:934</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a8357793802bdb5dc41c19160d17943c1"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a8357793802bdb5dc41c19160d17943c1">ripple::RPC::getAccountObjects</a></div><div class="ttdeci">bool getAccountObjects(ReadView const &amp;ledger, AccountID const &amp;account, std::optional&lt; std::vector&lt; LedgerEntryType &gt; &gt; const &amp;typeFilter, uint256 dirIndex, uint256 entryIndex, std::uint32_t const limit, Json::Value &amp;jvResult)</div><div class="ttdoc">Gathers all objects for an account in a ledger.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00153">RPCHelpers.cpp:153</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a8ee18e94aa5290134fbc7f373ded485e"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a8ee18e94aa5290134fbc7f373ded485e">ripple::RPC::readLimitField</a></div><div class="ttdeci">std::optional&lt; Json::Value &gt; readLimitField(unsigned int &amp;limit, Tuning::LimitRange const &amp;range, JsonContext const &amp;context)</div><div class="ttdoc">Retrieve the limit value from a JsonContext, or set a default - then restrict the limit by max and mi...</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00701">RPCHelpers.cpp:701</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a914dcfec5209f33f2e6aacf690bd3abe"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a914dcfec5209f33f2e6aacf690bd3abe">ripple::RPC::goodVersion</a></div><div class="ttdeci">beast::SemanticVersion const goodVersion(&quot;1.0.0&quot;)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00208">RPCHelpers.h:208</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a952d28abf431af0330afa7db13e7253d"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a952d28abf431af0330afa7db13e7253d">ripple::RPC::setVersion</a></div><div class="ttdeci">void setVersion(Object &amp;parent, unsigned int apiVersion, bool betaEnabled)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8h_source.html#l00213">RPCHelpers.h:213</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a9dc259937a004b30e88f41a95756bee0"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a9dc259937a004b30e88f41a95756bee0">ripple::RPC::accountFromString</a></div><div class="ttdeci">Json::Value accountFromString(AccountID &amp;result, std::string const &amp;strIdent, bool bStrict)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00088">RPCHelpers.cpp:88</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_a9e992ce4d974403f94f4daf62aa18761"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a9e992ce4d974403f94f4daf62aa18761">ripple::RPC::apiVersionIfUnspecified</a></div><div class="ttdeci">static constexpr auto apiVersionIfUnspecified</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00058">ApiVersion.h:58</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_aaebfaaee35308269fab499f4e203a8c9"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aaebfaaee35308269fab499f4e203a8c9">ripple::RPC::lookupLedger</a></div><div class="ttdeci">Status lookupLedger(std::shared_ptr&lt; ReadView const &gt; &amp;ledger, JsonContext &amp;context, Json::Value &amp;result)</div><div class="ttdoc">Look up a ledger from a request and fill a Json::Result with the data representing a ledger.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00625">RPCHelpers.cpp:625</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_aaf2f3f7b2146f293d76f09249d86334f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#aaf2f3f7b2146f293d76f09249d86334f">ripple::RPC::ledgerFromSpecifier</a></div><div class="ttdeci">Status ledgerFromSpecifier(T &amp;ledger, org::xrpl::rpc::v1::LedgerSpecifier const &amp;specifier, Context &amp;context)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00437">RPCHelpers.cpp:437</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_ab296c114ef59099643a10df577e71a30"><div class="ttname"><a href="namespaceripple_1_1RPC.html#ab296c114ef59099643a10df577e71a30">ripple::RPC::accountFromStringStrict</a></div><div class="ttdeci">std::optional&lt; AccountID &gt; accountFromStringStrict(std::string const &amp;account)</div><div class="ttdoc">Get an AccountID from an account ID or public key.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00044">RPCHelpers.cpp:44</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_ab56a444079d769fd33fdd04aa0c8baf3"><div class="ttname"><a href="namespaceripple_1_1RPC.html#ab56a444079d769fd33fdd04aa0c8baf3">ripple::RPC::parseAccountIds</a></div><div class="ttdeci">hash_set&lt; AccountID &gt; parseAccountIds(Json::Value const &amp;jvArray)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00660">RPCHelpers.cpp:660</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_ac444ee3babf6fcf2604699ee4ae2e777"><div class="ttname"><a href="namespaceripple_1_1RPC.html#ac444ee3babf6fcf2604699ee4ae2e777">ripple::RPC::apiInvalidVersion</a></div><div class="ttdeci">static constexpr auto apiInvalidVersion</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00055">ApiVersion.h:55</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_ad7e2c5bdd160ac430d40ff151be3d329"><div class="ttname"><a href="namespaceripple_1_1RPC.html#ad7e2c5bdd160ac430d40ff151be3d329">ripple::RPC::getStartHint</a></div><div class="ttdeci">std::uint64_t getStartHint(std::shared_ptr&lt; SLE const &gt; const &amp;sle, AccountID const &amp;accountID)</div><div class="ttdoc">Gets the start hint for traversing account objects.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00098">RPCHelpers.cpp:98</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_ad9e8e104e82c67f071a254fa6849afe6"><div class="ttname"><a href="namespaceripple_1_1RPC.html#ad9e8e104e82c67f071a254fa6849afe6">ripple::RPC::apiMinimumSupportedVersion</a></div><div class="ttdeci">static constexpr auto apiMinimumSupportedVersion</div><div class="ttdef"><b>Definition</b> <a href="ApiVersion_8h_source.html#l00056">ApiVersion.h:56</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_af0d8f7023aadd4a6fd6a24af152f856f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#af0d8f7023aadd4a6fd6a24af152f856f">ripple::RPC::isHexTxID</a></div><div class="ttdeci">bool isHexTxID(std::string const &amp;txid)</div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_af8384f050c0cc9f8be2fae281035f85f"><div class="ttname"><a href="namespaceripple_1_1RPC.html#af8384f050c0cc9f8be2fae281035f85f">ripple::RPC::parseRippleLibSeed</a></div><div class="ttdeci">std::optional&lt; Seed &gt; parseRippleLibSeed(Json::Value const &amp;value)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00720">RPCHelpers.cpp:720</a></div></div>
<div class="ttc" id="anamespaceripple_1_1RPC_html_af894bdbf60a077993d884fd31cf6e694"><div class="ttname"><a href="namespaceripple_1_1RPC.html#af894bdbf60a077993d884fd31cf6e694">ripple::RPC::keypairForSignature</a></div><div class="ttdeci">std::optional&lt; std::pair&lt; PublicKey, SecretKey &gt; &gt; keypairForSignature(Json::Value const &amp;params, Json::Value &amp;error, unsigned int apiVersion)</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00798">RPCHelpers.cpp:798</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_a00ae0d729cb3e35b6bcac9a27ebb5284"><div class="ttname"><a href="namespaceripple.html#a00ae0d729cb3e35b6bcac9a27ebb5284">ripple::AccountID</a></div><div class="ttdeci">base_uint&lt; 160, detail::AccountIDTag &gt; AccountID</div><div class="ttdoc">A 160-bit unsigned that uniquely identifies an account.</div><div class="ttdef"><b>Definition</b> <a href="AccountID_8h_source.html#l00048">AccountID.h:48</a></div></div>
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">ripple::error_code_i</a></div><div class="ttdeci">error_code_i</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00040">ErrorCodes.h:40</a></div></div>
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint&lt; 256 &gt; uint256</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00558">base_uint.h:558</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139">ripple::LedgerEntryType</a></div><div class="ttdeci">LedgerEntryType</div><div class="ttdoc">Identifiers for on-ledger objects.</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00053">LedgerFormats.h:54</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">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="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
<div class="ttc" id="astructripple_1_1RPC_1_1JsonContext_html"><div class="ttname"><a href="structripple_1_1RPC_1_1JsonContext.html">ripple::RPC::JsonContext</a></div><div class="ttdef"><b>Definition</b> <a href="Context_8h_source.html#l00052">Context.h:53</a></div></div>
<div class="ttc" id="astructripple_1_1RPC_1_1Tuning_1_1LimitRange_html"><div class="ttname"><a href="structripple_1_1RPC_1_1Tuning_1_1LimitRange.html">ripple::RPC::Tuning::LimitRange</a></div><div class="ttdoc">Represents RPC limit parameter values that have a min, default and max.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2rpc_2detail_2Tuning_8h_source.html#l00031">src/xrpld/rpc/detail/Tuning.h:32</a></div></div>
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div></div>
<div class="ttc" id="avariant_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/variant.html">variant</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>