mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-01 12:35:22 +00:00
deploy: 41c1be2bac
This commit is contained in:
@@ -98,18 +98,18 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a6fcb25485a8252a1cd9279de57489687"> 14</a></span><a class="code hl_function" href="namespacexrpl.html#a6fcb25485a8252a1cd9279de57489687">doPathFind</a>(<a class="code hl_struct" href="structxrpl_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>& context)</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>{</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <span class="keywordflow">if</span> (context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#a31c486ede7ae3b9c56c4c57bc696e3bf">config</a>().<a class="code hl_variable" href="classxrpl_1_1Config.html#a3297c874a7a644039997a4cf41a4034d">PATH_SEARCH_MAX</a> == 0)</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc">rpcNOT_SUPPORTED</a>);</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc">rpcNOT_SUPPORTED</a>);</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">auto</span> lpLedger = context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#ac2b68abc7374eacb59cd93164ccdbc77">ledgerMaster</a>.<a class="code hl_function" href="classxrpl_1_1LedgerMaster.html#a7267651f4dace3c533af49861c19c757">getClosedLedger</a>();</div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordflow">if</span> (!context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>.<a class="code hl_function" href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">isMember</a>(jss::subcommand) ||</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> !context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>[jss::subcommand].<a class="code hl_function" href="classJson_1_1Value.html#a71e1f82cf1c3eaf969d400dcffb163a6">isString</a>())</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> {</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> }</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keywordflow">if</span> (!context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a4d43a1e92269d46dbf79135586a706a4">infoSub</a>)</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc">rpcNO_EVENTS</a>);</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc">rpcNO_EVENTS</a>);</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> context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a4d43a1e92269d46dbf79135586a706a4">infoSub</a>-><a class="code hl_function" href="classxrpl_1_1InfoSub.html#a53cf339ed575d0c17ce615992246bf7d">setApiVersion</a>(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#aa8b6cd5d5b9eb13f4a82b16979cbd3f0">apiVersion</a>);</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
@@ -128,7 +128,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">InfoSubRequest::pointer</a> request = context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a4d43a1e92269d46dbf79135586a706a4">infoSub</a>-><a class="code hl_function" href="classxrpl_1_1InfoSub.html#afab688e5b0898514ca25a24a2bc76954">getRequest</a>();</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">if</span> (!request)</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">rpcNO_PF_REQUEST</a>);</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">rpcNO_PF_REQUEST</a>);</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a4d43a1e92269d46dbf79135586a706a4">infoSub</a>-><a class="code hl_function" href="classxrpl_1_1InfoSub.html#a22e9fca567af8d69c917dc053809e7a6">clearRequest</a>();</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordflow">return</span> request->doClose();</div>
|
||||
@@ -139,12 +139,12 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">InfoSubRequest::pointer</a> request = context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a4d43a1e92269d46dbf79135586a706a4">infoSub</a>-><a class="code hl_function" href="classxrpl_1_1InfoSub.html#afab688e5b0898514ca25a24a2bc76954">getRequest</a>();</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">if</span> (!request)</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">rpcNO_PF_REQUEST</a>);</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">rpcNO_PF_REQUEST</a>);</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> <span class="keywordflow">return</span> request->doStatus(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>);</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> }</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
@@ -164,7 +164,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespacexrpl_1_1Resource_html_a356cf47ca4ba93250c9da2e4877fe7c9"><div class="ttname"><a href="namespacexrpl_1_1Resource.html#a356cf47ca4ba93250c9da2e4877fe7c9">xrpl::Resource::feeHeavyBurdenRPC</a></div><div class="ttdeci">Charge const feeHeavyBurdenRPC</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a6fcb25485a8252a1cd9279de57489687"><div class="ttname"><a href="namespacexrpl.html#a6fcb25485a8252a1cd9279de57489687">xrpl::doPathFind</a></div><div class="ttdeci">Json::Value doPathFind(RPC::JsonContext &)</div><div class="ttdef"><b>Definition</b> <a href="PathFind_8cpp_source.html#l00014">PathFind.cpp:14</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a7a2757753d0ad2a65951d78ad6ed408b"><div class="ttname"><a href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">xrpl::rpcError</a></div><div class="ttdeci">Json::Value rpcError(int iError)</div><div class="ttdef"><b>Definition</b> <a href="RPCErr_8cpp_source.html#l00012">RPCErr.cpp:12</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab2aea6659695e209e9affb77e421f43e"><div class="ttname"><a href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">xrpl::rpcError</a></div><div class="ttdeci">Json::Value rpcError(error_code_i iError)</div><div class="ttdef"><b>Definition</b> <a href="RPCErr_8cpp_source.html#l00012">RPCErr.cpp:12</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa48724357f53f901034fe697a872b5ccd">xrpl::rpcNO_PF_REQUEST</a></div><div class="ttdeci">@ rpcNO_PF_REQUEST</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00067">ErrorCodes.h:67</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa69afa8fb0a16399433992c4c5abbb6bc">xrpl::rpcNO_EVENTS</a></div><div class="ttdeci">@ rpcNO_EVENTS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00035">ErrorCodes.h:35</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fa97873cc741794780ea5eef604550badc">xrpl::rpcNOT_SUPPORTED</a></div><div class="ttdeci">@ rpcNOT_SUPPORTED</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00113">ErrorCodes.h:113</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user