This commit is contained in:
bthomee
2025-12-15 10:43:10 -08:00
parent 9ed6abb502
commit 6a9dda2ee7
3185 changed files with 18757 additions and 25844 deletions

View File

@@ -114,7 +114,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">auto</span> <span class="keywordtype">id</span> = parseBase58&lt;AccountID&gt;(params[jss::account].asString());</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordflow">if</span> (!<span class="keywordtype">id</span>)</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> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#a7a2757753d0ad2a65951d78ad6ed408b">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">rpcACT_MALFORMED</a>);</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</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#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">rpcACT_MALFORMED</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> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;ReadView const&gt;</a> ledger;</div>
@@ -124,7 +124,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">auto</span> <span class="keyword">const</span> accountID{<span class="keywordtype">id</span>.value()};</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">if</span> (!ledger-&gt;exists(<a class="code hl_function" href="namespacexrpl_1_1keylet.html#ac5d7a88f7cef6ac1ddf06020da8ded16">keylet::account</a>(accountID)))</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</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#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">rpcACT_NOT_FOUND</a>);</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</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#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">rpcACT_NOT_FOUND</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"> 56</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> limit;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> err = readLimitField(limit, <a class="code hl_variable" href="namespacexrpl_1_1RPC_1_1Tuning.html#a14473cb79065aeba62702e88bf533973">RPC::Tuning::accountNFTokens</a>, context))</div>
@@ -446,13 +446,13 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> <span class="keyword">auto</span> <span class="keyword">const</span> <span class="keywordtype">id</span> = parseBase58&lt;AccountID&gt;(params[jss::account].asString());</div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <span class="keywordflow">if</span> (!<span class="keywordtype">id</span>)</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> {</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#a16e59c99f18306eef00b3e8a9c6a6167">RPC::inject_error</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">rpcACT_MALFORMED</a>, result);</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> <a class="code hl_function" href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">RPC::inject_error</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faf3ec9e73ea8f94c21f06d0613514ec38">rpcACT_MALFORMED</a>, result);</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> <span class="keywordflow">return</span> result;</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> }</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <span class="keyword">auto</span> <span class="keyword">const</span> accountID{<span class="keywordtype">id</span>.value()};</div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> </div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> <span class="keywordflow">if</span> (!ledger-&gt;exists(<a class="code hl_function" href="namespacexrpl_1_1keylet.html#ac5d7a88f7cef6ac1ddf06020da8ded16">keylet::account</a>(accountID)))</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</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#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">rpcACT_NOT_FOUND</a>);</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</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#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">rpcACT_NOT_FOUND</a>);</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> </div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::vector&lt;LedgerEntryType&gt;</a>&gt; typeFilter;</div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> </div>
@@ -572,12 +572,12 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceJson_html_a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4"><div class="ttname"><a href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eadc8f264f36b55b063c78126b335415f4">Json::arrayValue</a></div><div class="ttdeci">@ arrayValue</div><div class="ttdoc">array value (ordered list)</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00026">json_value.h:26</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1Tuning_html_a14473cb79065aeba62702e88bf533973"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1Tuning.html#a14473cb79065aeba62702e88bf533973">xrpl::RPC::Tuning::accountNFTokens</a></div><div class="ttdeci">static LimitRange constexpr accountNFTokens</div><div class="ttdoc">Limits for the account_nftokens command, in pages.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2rpc_2detail_2Tuning_8h_source.html#l00039">src/xrpld/rpc/detail/Tuning.h:39</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_1_1Tuning_html_ae6d4f63aa55d9c46c45c023151947f51"><div class="ttname"><a href="namespacexrpl_1_1RPC_1_1Tuning.html#ae6d4f63aa55d9c46c45c023151947f51">xrpl::RPC::Tuning::accountObjects</a></div><div class="ttdeci">static LimitRange constexpr accountObjects</div><div class="ttdoc">Limits for the account_objects command.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2rpc_2detail_2Tuning_8h_source.html#l00024">src/xrpld/rpc/detail/Tuning.h:24</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a03bb6b0107f36a290e78920a5ec6c7de"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a03bb6b0107f36a290e78920a5ec6c7de">xrpl::RPC::invalid_field_error</a></div><div class="ttdeci">Json::Value invalid_field_error(std::string const &amp;name)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00306">ErrorCodes.h:306</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a16e59c99f18306eef00b3e8a9c6a6167"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a16e59c99f18306eef00b3e8a9c6a6167">xrpl::RPC::inject_error</a></div><div class="ttdeci">void inject_error(error_code_i code, JsonValue &amp;json)</div><div class="ttdoc">Add or update the json update to reflect the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00214">ErrorCodes.h:214</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a03bb6b0107f36a290e78920a5ec6c7de"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a03bb6b0107f36a290e78920a5ec6c7de">xrpl::RPC::invalid_field_error</a></div><div class="ttdeci">Json::Value invalid_field_error(std::string const &amp;name)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00284">ErrorCodes.h:284</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a24e967923435625282b43bb176055b39"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a24e967923435625282b43bb176055b39">xrpl::RPC::chooseLedgerEntryType</a></div><div class="ttdeci">std::pair&lt; RPC::Status, LedgerEntryType &gt; chooseLedgerEntryType(Json::Value const &amp;params)</div><div class="ttdoc">Chooses the ledger entry type based on RPC parameters.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00332">RPCHelpers.cpp:332</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a36bca4b1434a80154f86fcac20359ce3"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a36bca4b1434a80154f86fcac20359ce3">xrpl::RPC::isAccountObjectsValidType</a></div><div class="ttdeci">bool isAccountObjectsValidType(LedgerEntryType const &amp;type)</div><div class="ttdoc">Checks if the type is a valid filtering type for the account_objects method.</div><div class="ttdef"><b>Definition</b> <a href="RPCHelpers_8cpp_source.html#l00387">RPCHelpers.cpp:387</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a595ce83a32abb8f253e7419a9b11d01f"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a595ce83a32abb8f253e7419a9b11d01f">xrpl::RPC::expected_field_error</a></div><div class="ttdeci">Json::Value expected_field_error(std::string const &amp;name, std::string const &amp;type)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00330">ErrorCodes.h:330</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a674f16f7613c9b58f17e00c4c7123ac1"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a674f16f7613c9b58f17e00c4c7123ac1">xrpl::RPC::missing_field_error</a></div><div class="ttdeci">Json::Value missing_field_error(std::string const &amp;name)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00264">ErrorCodes.h:264</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a595ce83a32abb8f253e7419a9b11d01f"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a595ce83a32abb8f253e7419a9b11d01f">xrpl::RPC::expected_field_error</a></div><div class="ttdeci">Json::Value expected_field_error(std::string const &amp;name, std::string const &amp;type)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00308">ErrorCodes.h:308</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_a674f16f7613c9b58f17e00c4c7123ac1"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#a674f16f7613c9b58f17e00c4c7123ac1">xrpl::RPC::missing_field_error</a></div><div class="ttdeci">Json::Value missing_field_error(std::string const &amp;name)</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00242">ErrorCodes.h:242</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_ab38ba029a2ca4a73976be8418028b4b5"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#ab38ba029a2ca4a73976be8418028b4b5">xrpl::RPC::inject_error</a></div><div class="ttdeci">void inject_error(error_code_i code, Json::Value &amp;json)</div><div class="ttdoc">Add or update the json update to reflect the error code.</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8cpp_source.html#l00164">ErrorCodes.cpp:164</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1RPC_html_ad2e38924289124233ca731bb06f68345"><div class="ttname"><a href="namespacexrpl_1_1RPC.html#ad2e38924289124233ca731bb06f68345">xrpl::RPC::lookupLedger</a></div><div class="ttdeci">Status lookupLedger(std::shared_ptr&lt; ReadView const &gt; &amp;ledger, JsonContext const &amp;context, Json::Value &amp;result)</div><div class="ttdoc">Looks up a ledger from a request and fills a Json::Value with ledger data.</div><div class="ttdef"><b>Definition</b> <a href="RPCLedgerHelpers_8cpp_source.html#l00355">RPCLedgerHelpers.cpp:355</a></div></div>
<div class="ttc" id="anamespacexrpl_1_1Resource_html_a2327b587a0ade83d408b553631fe4776"><div class="ttname"><a href="namespacexrpl_1_1Resource.html#a2327b587a0ade83d408b553631fe4776">xrpl::Resource::feeMediumBurdenRPC</a></div><div class="ttdeci">Charge const feeMediumBurdenRPC</div></div>
<div class="ttc" id="anamespacexrpl_1_1keylet_html_a3480fc8370b659e1194805c4920b03db"><div class="ttname"><a href="namespacexrpl_1_1keylet.html#a3480fc8370b659e1194805c4920b03db">xrpl::keylet::nftpage_max</a></div><div class="ttdeci">Keylet nftpage_max(AccountID const &amp;owner)</div><div class="ttdoc">A keylet for the owner's last possible NFT page.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00393">Indexes.cpp:393</a></div></div>
@@ -599,9 +599,9 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespacexrpl_html_a4e17e8237bc800415c303501c667baeb"><div class="ttname"><a href="namespacexrpl.html#a4e17e8237bc800415c303501c667baeb">xrpl::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition</b> <a href="AccountID_8cpp_source.html#l00095">AccountID.cpp:95</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a5644625ed03ba021f3bb9deda2038dd5"><div class="ttname"><a href="namespacexrpl.html#a5644625ed03ba021f3bb9deda2038dd5">xrpl::doAccountNFTs</a></div><div class="ttdeci">Json::Value doAccountNFTs(RPC::JsonContext &amp;context)</div><div class="ttdoc">General RPC command that can retrieve objects in the account root.</div><div class="ttdef"><b>Definition</b> <a href="AccountObjects_8cpp_source.html#l00032">AccountObjects.cpp:32</a></div></div>
<div class="ttc" id="anamespacexrpl_html_a5a08adf1bad37c44d2ada7ae983dd12f"><div class="ttname"><a href="namespacexrpl.html#a5a08adf1bad37c44d2ada7ae983dd12f">xrpl::root</a></div><div class="ttdeci">Number root(Number f, unsigned d)</div><div class="ttdef"><b>Definition</b> <a href="Number_8cpp_source.html#l00644">Number.cpp:644</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_aa528db1bd76a50fbd12967c3a92e403d"><div class="ttname"><a href="namespacexrpl.html#aa528db1bd76a50fbd12967c3a92e403d">xrpl::getAccountObjects</a></div><div class="ttdeci">bool getAccountObjects(ReadView const &amp;ledger, AccountID const &amp;account, std::optional&lt; std::vector&lt; LedgerEntryType &gt; &gt; const &amp;typeFilter, uint256 dirIndex, uint256 entryIndex, std::uint32_t const limit, Json::Value &amp;jvResult)</div><div class="ttdoc">Gathers all objects for an account in a ledger.</div><div class="ttdef"><b>Definition</b> <a href="AccountObjects_8cpp_source.html#l00172">AccountObjects.cpp:172</a></div></div>
<div class="ttc" id="anamespacexrpl_html_aa95a359ac828f9d29ce1880e05964e4b"><div class="ttname"><a href="namespacexrpl.html#aa95a359ac828f9d29ce1880e05964e4b">xrpl::doAccountObjects</a></div><div class="ttdeci">Json::Value doAccountObjects(RPC::JsonContext &amp;context)</div><div class="ttdef"><b>Definition</b> <a href="AccountObjects_8cpp_source.html#l00364">AccountObjects.cpp:364</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_ad63abb872188c86948b8ba1b51c10367"><div class="ttname"><a href="namespacexrpl.html#ad63abb872188c86948b8ba1b51c10367">xrpl::LedgerEntryType</a></div><div class="ttdeci">LedgerEntryType</div><div class="ttdoc">Identifiers for on-ledger objects.</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00034">LedgerFormats.h:35</a></div></div>
<div class="ttc" id="anamespacexrpl_html_ad63abb872188c86948b8ba1b51c10367a40dbaec76072f791687cbbe24c630ccc"><div class="ttname"><a href="namespacexrpl.html#ad63abb872188c86948b8ba1b51c10367a40dbaec76072f791687cbbe24c630ccc">xrpl::ltANY</a></div><div class="ttdeci">@ ltANY</div><div class="ttdoc">A special type, matching any ledger entry type.</div><div class="ttdef"><b>Definition</b> <a href="LedgerFormats_8h_source.html#l00059">LedgerFormats.h:59</a></div></div>
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76fab3a4d5102306b0e3320b41c3a4bc71aa">xrpl::rpcACT_NOT_FOUND</a></div><div class="ttdeci">@ rpcACT_NOT_FOUND</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00051">ErrorCodes.h:51</a></div></div>