mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
deploy: b18dece145
This commit is contained in:
@@ -107,130 +107,131 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<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="foldopen" id="foldopen00038" data-start="{" data-end="};">
|
||||
<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="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpld/rpc/detail/Tuning.h></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 <xrpl/protocol/ApiVersion.h></span></div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceJson.html">Json</a> {</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">class </span>Object;</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> </div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">namespace </span>RPC {</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">// Under what condition can we call this RPC?</span></div>
|
||||
<div class="foldopen" id="foldopen00039" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782"> 39</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="l00040" name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041"> 40</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a> = 0,</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507"> 41</a></span> <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aa4548aff4d9b5f8a789f6c3c999b5507">NEEDS_NETWORK_CONNECTION</a> = 1,</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782a846308226fc9899c593d4634172bbd08"> 42</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="l00043" name="l00043"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782acc08746617bab8b8e4a52c4b1ceab5a0"> 43</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="l00044" name="l00044"></a><span class="lineno"> 44</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||
<div class="foldopen" id="foldopen00045" data-start="{" data-end="};">
|
||||
<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="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="foldopen" id="foldopen00046" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html"> 46</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="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">template</span> <<span class="keyword">class</span> JsonValue></div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ae4654d5b78aa373850325913a8dd6369"> 49</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="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#a8a34bec561b75429790b75a180d76dd2"> 51</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="l00052" name="l00052"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ab7ceaea57b7a15fb683925a5e9ee7222"> 52</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="l00053" name="l00053"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ac4d52f0713b55ef7417f3e53335efcf1"> 53</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="l00054" name="l00054"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#a62bebddbaceedb3a0c554d2883cef2d7"> 54</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="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#aff38a4cccbcb2ba16bd1a36bc8a2b196"> 56</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="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structripple_1_1RPC_1_1Handler.html#ad978b4c819a44164f5f382cb5ee626b8"> 57</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="l00058" name="l00058"></a><span class="lineno"> 58</span>};</div>
|
||||
</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="foldopen" id="foldopen00065" data-start="{" data-end="}">
|
||||
<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="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</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="l00061" name="l00061"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a3285d41bc01f0001bceeeb0ff461ce5a"> 61</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="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keyword">template</span> <<span class="keyword">class</span> Value></div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="foldopen" id="foldopen00066" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165"> 66</a></span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a4e628867fe5111cabdf253dc2ed8f165">makeObjectValue</a>(</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> Value <span class="keyword">const</span>& value,</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</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="l00069" name="l00069"></a><span class="lineno"> 69</span>{</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</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="l00071" name="l00071"></a><span class="lineno"> 71</span> result[field] = value;</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">return</span> result;</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>}</div>
|
||||
</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="foldopen" id="foldopen00080" data-start="{" data-end="}">
|
||||
<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="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<char const*></a></div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><a class="code hl_function" href="namespaceripple_1_1RPC.html#a35ffc918d128ebb582ba3ff85fdbb546">getHandlerNames</a>();</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword">template</span> <<span class="keyword">class</span> T></div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><a class="code hl_enumeration" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a></div>
|
||||
<div class="foldopen" id="foldopen00081" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="namespaceripple_1_1RPC.html#a9dc6b1d16d19772be88eb560060de97c"> 81</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="l00082" name="l00082"></a><span class="lineno"> 82</span>{</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">if</span> (context.app.getOPs().isAmendmentBlocked() &&</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> (condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>))</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a1c4319d23e52800c6dc951ed7d343cea">rpcAMENDMENT_BLOCKED</a>;</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> </div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">if</span> (context.app.getOPs().isUNLBlocked() &&</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> (condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>))</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> {</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</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="l00093" name="l00093"></a><span class="lineno"> 93</span> }</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</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="l00096" name="l00096"></a><span class="lineno"> 96</span> (context.netOps.getOperatingMode() < <a class="code hl_enumvalue" href="namespaceripple.html#a597325d7385ff9c19686e14e5bead510af0be1f77b2d12fe3d6424fbf9eecc109">OperatingMode::SYNCING</a>))</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> {</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> JLOG(context.j.info()) << <span class="stringliteral">"Insufficient network mode for RPC: "</span></div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> << context.netOps.strOperatingMode();</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</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#a32d6d3ce1a48272b677d2c88b1d30932a128bdc6241c00a1d4486399d304c2d28">rpcNO_NETWORK</a>;</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</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> </div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">if</span> (!context.app.config().standalone() &&</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> condition_required != <a class="code hl_enumvalue" href="namespaceripple_1_1RPC.html#a1ea15d2823ab0dfcdedc8fbc31c6a782aad9e51b9527da26b5ab60319afc7d041">NO_CONDITION</a>)</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> {</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordflow">if</span> (context.ledgerMaster.getValidatedLedgerAge() ></div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_variable" href="namespaceripple_1_1RPC_1_1Tuning.html#a0895924fd22fdc999cfa976cf6b83dc5">Tuning::maxValidatedLedgerAge</a>)</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> {</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</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#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">rpcNO_CURRENT</a>;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</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> </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> cID = context.ledgerMaster.getCurrentLedgerIndex();</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">auto</span> <span class="keyword">const</span> vID = context.ledgerMaster.getValidLedgerIndex();</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">if</span> (cID + 10 < vID)</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> {</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> JLOG(context.j.debug())</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> << <span class="stringliteral">"Current ledger ID("</span> << cID</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> << <span class="stringliteral">") is less than validated ledger ID("</span> << vID << <span class="stringliteral">")"</span>;</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</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#a32d6d3ce1a48272b677d2c88b1d30932a74511028d6a24bc8826f5fc70ca61ef5">rpcNO_CURRENT</a>;</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</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> </div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</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="l00132" name="l00132"></a><span class="lineno"> 132</span> !context.ledgerMaster.getClosedLedger())</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> {</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">if</span> (context.apiVersion == 1)</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#a32d6d3ce1a48272b677d2c88b1d30932abc5ca87666d140c5f56880e7a7448773">rpcNO_CLOSED</a>;</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932af301bbeaf5fcfb44db08132e6eae4ac2">rpcNOT_SYNCED</a>;</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> </div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a6f69b339743d28bbc421fa3b31437173">rpcSUCCESS</a>;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span>}</div>
|
||||
</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="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>} <span class="comment">// namespace RPC</span></div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span><span class="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>
|
||||
@@ -238,17 +239,17 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<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#l00068">src/xrpld/rpc/detail/Tuning.h:68</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#l00320">Handler.cpp:320</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#l00314">Handler.cpp:314</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_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#l00039">Handler.h:39</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#l00042">Handler.h:42</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#l00041">Handler.h:41</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#l00040">Handler.h:40</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#l00043">Handler.h:43</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#l00319">Handler.cpp:319</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#l00066">Handler.h:66</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#l00067">ApiVersion.h:67</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#l00313">Handler.cpp:313</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#l00081">Handler.h:81</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#l00061">ApiVersion.h:61</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>
|
||||
@@ -261,13 +262,13 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<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_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#l00046">Handler.h:47</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#l00054">Handler.h:54</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#l00051">Handler.h:51</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#l00052">Handler.h:52</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#l00053">Handler.h:53</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#l00057">Handler.h:57</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#l00056">Handler.h:56</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 -->
|
||||
|
||||
Reference in New Issue
Block a user