mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
267 lines
44 KiB
HTML
267 lines
44 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.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: Handler.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.5 -->
|
|
<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>
|
|
<!-- 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">Handler.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, 2013 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 "AS IS" 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_HANDLER_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_RPC_HANDLER_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 <xrpld/app/ledger/LedgerMaster.h></span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/app/misc/NetworkOPs.h></span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpld/rpc/RPCHandler.h></span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpld/rpc/Status.h></span></div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpld/rpc/detail/RPCHelpers.h></span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpld/rpc/detail/Tuning.h></span></div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceJson.html">Json</a> {</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">class </span>Object;</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</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="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">namespace </span>RPC {</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="comment">// Under what condition can we call this RPC?</span></div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782"> 38</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782">Condition</a> {</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041"> 39</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a> = 0,</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507"> 40</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507">NEEDS_NETWORK_CONNECTION</a> = 1,</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782a846308226fc9899c593d4634172bbd08"> 41</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782a846308226fc9899c593d4634172bbd08">NEEDS_CURRENT_LEDGER</a> = 1 << 1,</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782acc08746617bab8b8e4a52c4b1ceab5a0"> 42</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782acc08746617bab8b8e4a52c4b1ceab5a0">NEEDS_CLOSED_LEDGER</a> = 1 << 2,</div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>};</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html"> 45</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1RPC_1_1Handler.html">Handler</a></div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span>{</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">template</span> <<span class="keyword">class</span> JsonValue></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ae4654d5b78aa373850325913a8dd6369"> 48</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">Method</a> = <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a><<a class="code hl_struct" href="structripple_1_1RPC_1_1Status.html">Status</a>(<a class="code hl_struct" href="structripple_1_1RPC_1_1JsonContext.html">JsonContext</a>&, JsonValue&)>;</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#a8a34bec561b75429790b75a180d76dd2"> 50</a></span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#a8a34bec561b75429790b75a180d76dd2">name_</a>;</div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ab7ceaea57b7a15fb683925a5e9ee7222"> 51</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">Method<Json::Value></a> <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#ab7ceaea57b7a15fb683925a5e9ee7222">valueMethod_</a>;</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ac4d52f0713b55ef7417f3e53335efcf1"> 52</a></span> <a class="code hl_enumeration" href="namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c">Role</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#ac4d52f0713b55ef7417f3e53335efcf1">role_</a>;</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#a62bebddbaceedb3a0c554d2883cef2d7"> 53</a></span> <a class="code hl_enumeration" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782">RPC::Condition</a> <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#a62bebddbaceedb3a0c554d2883cef2d7">condition_</a>;</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#aff38a4cccbcb2ba16bd1a36bc8a2b196"> 55</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#aff38a4cccbcb2ba16bd1a36bc8a2b196">minApiVer_</a> = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#ad9e8e104e82c67f071a254fa6849afe6">apiMinimumSupportedVersion</a>;</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ad978b4c819a44164f5f382cb5ee626b8"> 56</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="structripple_1_1RPC_1_1Handler.html#ad978b4c819a44164f5f382cb5ee626b8">maxApiVer_</a> = <a class="code hl_variable" href="namespaceripple_1_1RPC.html#a5cef6660176a48dd32d433358f579f09">apiMaximumValidVersion</a>;</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>};</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><a class="code hl_struct" href="structripple_1_1RPC_1_1Handler.html">Handler</a> <span class="keyword">const</span>*</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3285d41bc01f0001bceeeb0ff461ce5a"> 60</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a8fffb57bba343e569e4d862888e843a4">getHandler</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> version, <span class="keywordtype">bool</span> betaEnabled, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&);</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="keyword">template</span> <<span class="keyword">class</span> Value></div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165"> 65</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165">makeObjectValue</a>(</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> Value <span class="keyword">const</span>& value,</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <span class="keyword">const</span>& field = jss::message)</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>{</div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> result(<a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>);</div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> result[field] = value;</div>
|
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordflow">return</span> result;</div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>}</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<char const*></a></div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a35ffc918d128ebb582ba3ff85fdbb546">getHandlerNames</a>();</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="keyword">template</span> <<span class="keyword">class</span> T></div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a></div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9dc6b1d16d19772be88eb560060de97c"> 80</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a9dc6b1d16d19772be88eb560060de97c">conditionMet</a>(<a class="code hl_enumeration" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782">Condition</a> condition_required, T& context)</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>{</div>
|
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordflow">if</span> (context.app.getOPs().isAmendmentBlocked() &&</div>
|
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> (condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>))</div>
|
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> {</div>
|
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea">rpcAMENDMENT_BLOCKED</a>;</div>
|
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">if</span> (context.app.getOPs().isUNLBlocked() &&</div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> (condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>))</div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> {</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5">rpcEXPIRED_VALIDATOR_LIST</a>;</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> }</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordflow">if</span> ((condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>) &&</div>
|
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> (context.netOps.getOperatingMode() < <a class="code hl_enumvalue" href="namespaceripple.html#a597325d7385ff9c19686e14e5bead510af0be1f77b2d12fe3d6424fbf9eecc109">OperatingMode::SYNCING</a>))</div>
|
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> {</div>
|
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> JLOG(context.j.info()) << <span class="stringliteral">"Insufficient network mode for RPC: "</span></div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> << context.netOps.strOperatingMode();</div>
|
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
|
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</div>
|
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28">rpcNO_NETWORK</a>;</div>
|
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</div>
|
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> }</div>
|
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">if</span> (!context.app.config().standalone() &&</div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>)</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> {</div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordflow">if</span> (context.ledgerMaster.getValidatedLedgerAge() ></div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_variable" href="namespaceripple_1_1RPC_1_1Tuning.html#a0895924fd22fdc999cfa976cf6b83dc5">Tuning::maxValidatedLedgerAge</a>)</div>
|
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> {</div>
|
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</div>
|
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">rpcNO_CURRENT</a>;</div>
|
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</div>
|
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keyword">auto</span> <span class="keyword">const</span> cID = context.ledgerMaster.getCurrentLedgerIndex();</div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">auto</span> <span class="keyword">const</span> vID = context.ledgerMaster.getValidLedgerIndex();</div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">if</span> (cID + 10 < vID)</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> {</div>
|
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> JLOG(context.j.debug())</div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> << <span class="stringliteral">"Current ledger ID("</span> << cID</div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> << <span class="stringliteral">") is less than validated ledger ID("</span> << vID << <span class="stringliteral">")"</span>;</div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">rpcNO_CURRENT</a>;</div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> }</div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> }</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"> 130</span> <span class="keywordflow">if</span> ((condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>) &&</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> !context.ledgerMaster.getClosedLedger())</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> {</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773">rpcNO_CLOSED</a>;</div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173">rpcSUCCESS</a>;</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span>}</div>
|
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
|
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span>} <span class="comment">// namespace RPC</span></div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>} <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</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_1StaticString_html"><div class="ttname"><a href="classJson_1_1StaticString.html">Json::StaticString</a></div><div class="ttdoc">Lightweight wrapper to tag static string.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00062">json_value.h:63</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="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</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="anamespaceJson_html_a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"><div class="ttname"><a href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a></div><div class="ttdeci">@ objectValue</div><div class="ttdoc">object value (collection of name/value pairs).</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00046">json_value.h:45</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_1_1Tuning_html_a0895924fd22fdc999cfa976cf6b83dc5"><div class="ttname"><a href="namespaceripple_1_1RPC_1_1Tuning.html#a0895924fd22fdc999cfa976cf6b83dc5">ripple::RPC::Tuning::maxValidatedLedgerAge</a></div><div class="ttdeci">auto constexpr maxValidatedLedgerAge</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2rpc_2detail_2Tuning_8h_source.html#l00065">src/xrpld/rpc/detail/Tuning.h:65</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1ea15d2823ab0dfcdedc8fbc31c6a782"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782">ripple::RPC::Condition</a></div><div class="ttdeci">Condition</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00038">Handler.h:38</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1ea15d2823ab0dfcdedc8fbc31c6a782a846308226fc9899c593d4634172bbd08"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782a846308226fc9899c593d4634172bbd08">ripple::RPC::NEEDS_CURRENT_LEDGER</a></div><div class="ttdeci">@ NEEDS_CURRENT_LEDGER</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00041">Handler.h:41</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507">ripple::RPC::NEEDS_NETWORK_CONNECTION</a></div><div class="ttdeci">@ NEEDS_NETWORK_CONNECTION</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00040">Handler.h:40</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">ripple::RPC::NO_CONDITION</a></div><div class="ttdeci">@ NO_CONDITION</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00039">Handler.h:39</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a1ea15d2823ab0dfcdedc8fbc31c6a782acc08746617bab8b8e4a52c4b1ceab5a0"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782acc08746617bab8b8e4a52c4b1ceab5a0">ripple::RPC::NEEDS_CLOSED_LEDGER</a></div><div class="ttdeci">@ NEEDS_CLOSED_LEDGER</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00042">Handler.h:42</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a35ffc918d128ebb582ba3ff85fdbb546"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a35ffc918d128ebb582ba3ff85fdbb546">ripple::RPC::getHandlerNames</a></div><div class="ttdeci">std::set< char const * > getHandlerNames()</div><div class="ttdoc">Return names of all methods.</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8cpp_source.html#l00318">Handler.cpp:318</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a4e628867fe5111cabdf253dc2ed8f165"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165">ripple::RPC::makeObjectValue</a></div><div class="ttdeci">Json::Value makeObjectValue(Value const &value, Json::StaticString const &field=jss::message)</div><div class="ttdoc">Return a Json::objectValue with a single entry.</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00065">Handler.h:65</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a5cef6660176a48dd32d433358f579f09"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a5cef6660176a48dd32d433358f579f09">ripple::RPC::apiMaximumValidVersion</a></div><div class="ttdeci">static constexpr auto apiMaximumValidVersion</div><div class="ttdef"><b>Definition:</b> <a href="ApiVersion_8h_source.html#l00062">ApiVersion.h:62</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a8fffb57bba343e569e4d862888e843a4"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a8fffb57bba343e569e4d862888e843a4">ripple::RPC::getHandler</a></div><div class="ttdeci">Handler const * getHandler(unsigned version, bool betaEnabled, std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8cpp_source.html#l00312">Handler.cpp:312</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a9dc6b1d16d19772be88eb560060de97c"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a9dc6b1d16d19772be88eb560060de97c">ripple::RPC::conditionMet</a></div><div class="ttdeci">error_code_i conditionMet(Condition condition_required, T &context)</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00080">Handler.h:80</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_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_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_a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28">ripple::rpcNO_NETWORK</a></div><div class="ttdeci">@ rpcNO_NETWORK</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00066">ErrorCodes.h:66</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea">ripple::rpcAMENDMENT_BLOCKED</a></div><div class="ttdeci">@ rpcAMENDMENT_BLOCKED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00061">ErrorCodes.h:61</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173">ripple::rpcSUCCESS</a></div><div class="ttdeci">@ rpcSUCCESS</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00044">ErrorCodes.h:44</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">ripple::rpcNO_CURRENT</a></div><div class="ttdeci">@ rpcNO_CURRENT</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00065">ErrorCodes.h:65</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a7a140417a251408888375e3b6c0cfcd5">ripple::rpcEXPIRED_VALIDATOR_LIST</a></div><div class="ttdeci">@ rpcEXPIRED_VALIDATOR_LIST</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00137">ErrorCodes.h:137</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773">ripple::rpcNO_CLOSED</a></div><div class="ttdeci">@ rpcNO_CLOSED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00064">ErrorCodes.h:64</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">ripple::rpcNOT_SYNCED</a></div><div class="ttdeci">@ rpcNOT_SYNCED</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00067">ErrorCodes.h:67</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a597325d7385ff9c19686e14e5bead510af0be1f77b2d12fe3d6424fbf9eecc109"><div class="ttname"><a href="namespaceripple.html#a597325d7385ff9c19686e14e5bead510af0be1f77b2d12fe3d6424fbf9eecc109">ripple::OperatingMode::SYNCING</a></div><div class="ttdeci">@ SYNCING</div><div class="ttdoc">fallen slightly behind</div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ae08fe18f17b24699ce41d3898fbb8c2c"><div class="ttname"><a href="namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c">ripple::Role</a></div><div class="ttdeci">Role</div><div class="ttdoc">Indicates the level of administrative permission to grant.</div><div class="ttdef"><b>Definition:</b> <a href="Role_8h_source.html#l00044">Role.h:44</a></div></div>
|
|
<div class="ttc" id="aset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html">ripple::RPC::Handler</a></div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00045">Handler.h:46</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_a62bebddbaceedb3a0c554d2883cef2d7"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#a62bebddbaceedb3a0c554d2883cef2d7">ripple::RPC::Handler::condition_</a></div><div class="ttdeci">RPC::Condition condition_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00053">Handler.h:53</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_a8a34bec561b75429790b75a180d76dd2"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#a8a34bec561b75429790b75a180d76dd2">ripple::RPC::Handler::name_</a></div><div class="ttdeci">char const * name_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00050">Handler.h:50</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_ab7ceaea57b7a15fb683925a5e9ee7222"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#ab7ceaea57b7a15fb683925a5e9ee7222">ripple::RPC::Handler::valueMethod_</a></div><div class="ttdeci">Method< Json::Value > valueMethod_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00051">Handler.h:51</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_ac4d52f0713b55ef7417f3e53335efcf1"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#ac4d52f0713b55ef7417f3e53335efcf1">ripple::RPC::Handler::role_</a></div><div class="ttdeci">Role role_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00052">Handler.h:52</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_ad978b4c819a44164f5f382cb5ee626b8"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#ad978b4c819a44164f5f382cb5ee626b8">ripple::RPC::Handler::maxApiVer_</a></div><div class="ttdeci">unsigned maxApiVer_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00056">Handler.h:56</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1RPC_1_1Handler_html_aff38a4cccbcb2ba16bd1a36bc8a2b196"><div class="ttname"><a href="structripple_1_1RPC_1_1Handler.html#aff38a4cccbcb2ba16bd1a36bc8a2b196">ripple::RPC::Handler::minApiVer_</a></div><div class="ttdeci">unsigned minApiVer_</div><div class="ttdef"><b>Definition:</b> <a href="Handler_8h_source.html#l00055">Handler.h:55</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_1Status_html"><div class="ttname"><a href="structripple_1_1RPC_1_1Status.html">ripple::RPC::Status</a></div><div class="ttdoc">Status represents the results of an operation that might fail.</div><div class="ttdef"><b>Definition:</b> <a href="Status_8h_source.html#l00039">Status.h:40</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.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|