This commit is contained in:
bthomee
2025-09-18 08:15:26 -07:00
parent 566976e9d7
commit 099ba7da4d
500 changed files with 25758 additions and 25596 deletions

View File

@@ -100,10 +100,10 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;xrpld/app/misc/CredentialHelpers.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/PermissionedDomainSet.h&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;xrpld/ledger/View.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;xrpld/app/tx/detail/PermissionedDomainSet.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#include &lt;xrpl/ledger/CredentialHelpers.h&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpl/ledger/View.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpl/protocol/STObject.h&gt;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpl/protocol/TxFlags.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
@@ -229,7 +229,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> slePd-&gt;setFieldU64(sfOwnerNode, *page);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="comment">// If we succeeded, the new entry counts against the creator&#39;s reserve.</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_function" href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">adjustOwnerCount</a>(<a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>(), ownerSle, 1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_function" href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">adjustOwnerCount</a>(<a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>(), ownerSle, 1, <a class="code hl_variable" href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ctx_</a>.<a class="code hl_variable" href="classripple_1_1ApplyContext.html#a7b78c8e924babce4d14359970f55ba02">journal</a>);</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_function" href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">view</a>().<a class="code hl_function" href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">insert</a>(slePd);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> }</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
@@ -244,7 +244,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1ApplyContext_html_a8c8757b3b1f88baef47b31ed4e9682d0"><div class="ttname"><a href="classripple_1_1ApplyContext.html#a8c8757b3b1f88baef47b31ed4e9682d0">ripple::ApplyContext::tx</a></div><div class="ttdeci">STTx const &amp; tx</div><div class="ttdef"><b>Definition</b> <a href="ApplyContext_8h_source.html#l00072">ApplyContext.h:72</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_a542437b9b59a623e755979acdc075af5"><div class="ttname"><a href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">ripple::ApplyView::update</a></div><div class="ttdeci">virtual void update(std::shared_ptr&lt; SLE &gt; const &amp;sle)=0</div><div class="ttdoc">Indicate changes to a peeked SLE.</div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_aa3c5b5cd9dca5f906be4b36640706e3c"><div class="ttname"><a href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">ripple::ApplyView::insert</a></div><div class="ttdeci">virtual void insert(std::shared_ptr&lt; SLE &gt; const &amp;sle)=0</div><div class="ttdoc">Insert a new state SLE.</div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_ae21b78e549dc6188382bd49e7d77d473"><div class="ttname"><a href="classripple_1_1ApplyView.html#ae21b78e549dc6188382bd49e7d77d473">ripple::ApplyView::dirInsert</a></div><div class="ttdeci">std::optional&lt; std::uint64_t &gt; dirInsert(Keylet const &amp;directory, uint256 const &amp;key, std::function&lt; void(std::shared_ptr&lt; SLE &gt; const &amp;)&gt; const &amp;describe)</div><div class="ttdoc">Insert an entry to a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00318">ApplyView.h:318</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_ae21b78e549dc6188382bd49e7d77d473"><div class="ttname"><a href="classripple_1_1ApplyView.html#ae21b78e549dc6188382bd49e7d77d473">ripple::ApplyView::dirInsert</a></div><div class="ttdeci">std::optional&lt; std::uint64_t &gt; dirInsert(Keylet const &amp;directory, uint256 const &amp;key, std::function&lt; void(std::shared_ptr&lt; SLE &gt; const &amp;)&gt; const &amp;describe)</div><div class="ttdoc">Insert an entry to a directory.</div><div class="ttdef"><b>Definition</b> <a href="ApplyView_8h_source.html#l00317">ApplyView.h:317</a></div></div>
<div class="ttc" id="aclassripple_1_1ApplyView_html_afa666aaa8eb0080d96f910f8a719291d"><div class="ttname"><a href="classripple_1_1ApplyView.html#afa666aaa8eb0080d96f910f8a719291d">ripple::ApplyView::peek</a></div><div class="ttdeci">virtual std::shared_ptr&lt; SLE &gt; peek(Keylet const &amp;k)=0</div><div class="ttdoc">Prepare to modify the SLE associated with key.</div></div>
<div class="ttc" id="aclassripple_1_1PermissionedDomainSet_html_a131da629fffb2805b8443564b23f8f99"><div class="ttname"><a href="classripple_1_1PermissionedDomainSet.html#a131da629fffb2805b8443564b23f8f99">ripple::PermissionedDomainSet::preflight</a></div><div class="ttdeci">static NotTEC preflight(PreflightContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="PermissionedDomainSet_8cpp_source.html#l00032">PermissionedDomainSet.cpp:32</a></div></div>
<div class="ttc" id="aclassripple_1_1PermissionedDomainSet_html_a13268e9ddf5e22c2297de3eb132be53f"><div class="ttname"><a href="classripple_1_1PermissionedDomainSet.html#a13268e9ddf5e22c2297de3eb132be53f">ripple::PermissionedDomainSet::preclaim</a></div><div class="ttdeci">static TER preclaim(PreclaimContext const &amp;ctx)</div><div class="ttdef"><b>Definition</b> <a href="PermissionedDomainSet_8cpp_source.html#l00062">PermissionedDomainSet.cpp:62</a></div></div>
@@ -270,17 +270,17 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1Transactor_html_a9acc4edc9b8f2a11a27fbcf5e93e2fe2"><div class="ttname"><a href="classripple_1_1Transactor.html#a9acc4edc9b8f2a11a27fbcf5e93e2fe2">ripple::Transactor::view</a></div><div class="ttdeci">ApplyView &amp; view()</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00159">Transactor.h:159</a></div></div>
<div class="ttc" id="aclassripple_1_1Transactor_html_aef4ef0a89b5595b2a688b89e4ecef833"><div class="ttname"><a href="classripple_1_1Transactor.html#aef4ef0a89b5595b2a688b89e4ecef833">ripple::Transactor::ctx_</a></div><div class="ttdeci">ApplyContext &amp; ctx_</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8h_source.html#l00140">Transactor.h:140</a></div></div>
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ac04569bf71f636523ff8443c921be35f"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ac04569bf71f636523ff8443c921be35f">ripple::credentials::checkArray</a></div><div class="ttdeci">NotTEC checkArray(STArray const &amp;credentials, unsigned maxSize, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00274">CredentialHelpers.cpp:274</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ae65be8c497e1353bd10a43a73deb2ba8"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ae65be8c497e1353bd10a43a73deb2ba8">ripple::credentials::makeSorted</a></div><div class="ttdeci">std::set&lt; std::pair&lt; AccountID, Slice &gt; &gt; makeSorted(STArray const &amp;credentials)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00261">CredentialHelpers.cpp:261</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ac04569bf71f636523ff8443c921be35f"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ac04569bf71f636523ff8443c921be35f">ripple::credentials::checkArray</a></div><div class="ttdeci">NotTEC checkArray(STArray const &amp;credentials, unsigned maxSize, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00273">CredentialHelpers.cpp:273</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ae65be8c497e1353bd10a43a73deb2ba8"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ae65be8c497e1353bd10a43a73deb2ba8">ripple::credentials::makeSorted</a></div><div class="ttdeci">std::set&lt; std::pair&lt; AccountID, Slice &gt; &gt; makeSorted(STArray const &amp;credentials)</div><div class="ttdef"><b>Definition</b> <a href="CredentialHelpers_8cpp_source.html#l00260">CredentialHelpers.cpp:260</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_a51879ade5bc763231874ba4298bf17d3"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a51879ade5bc763231874ba4298bf17d3">ripple::keylet::permissionedDomain</a></div><div class="ttdeci">Keylet permissionedDomain(AccountID const &amp;account, std::uint32_t seq) noexcept</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00570">Indexes.cpp:570</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_aa756e0f59b26042ed00a4d0ba6e96951"><div class="ttname"><a href="namespaceripple_1_1keylet.html#aa756e0f59b26042ed00a4d0ba6e96951">ripple::keylet::account</a></div><div class="ttdeci">Keylet account(AccountID const &amp;id) noexcept</div><div class="ttdoc">AccountID root.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00184">Indexes.cpp:184</a></div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_acd4d51d467fc6e75745baf179a7965ef"><div class="ttname"><a href="namespaceripple_1_1keylet.html#acd4d51d467fc6e75745baf179a7965ef">ripple::keylet::ownerDir</a></div><div class="ttdeci">Keylet ownerDir(AccountID const &amp;id) noexcept</div><div class="ttdoc">The root page of an account's directory.</div><div class="ttdef"><b>Definition</b> <a href="Indexes_8cpp_source.html#l00374">Indexes.cpp:374</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_a3b7b0b8833993d53519f223aa4b637df"><div class="ttname"><a href="namespaceripple.html#a3b7b0b8833993d53519f223aa4b637df">ripple::maxPermissionedDomainCredentialsArraySize</a></div><div class="ttdeci">std::size_t constexpr maxPermissionedDomainCredentialsArraySize</div><div class="ttdoc">The maximum number of credentials can be passed in array for permissioned domain.</div><div class="ttdef"><b>Definition</b> <a href="Protocol_8h_source.html#l00111">Protocol.h:111</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function&lt; void(SLE::ref)&gt; describeOwnerDir(AccountID const &amp;account)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01048">View.cpp:1048</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4e760dff6bf16c74e7ffd43b240718b0"><div class="ttname"><a href="namespaceripple.html#a4e760dff6bf16c74e7ffd43b240718b0">ripple::adjustOwnerCount</a></div><div class="ttdeci">void adjustOwnerCount(ApplyView &amp;view, std::shared_ptr&lt; SLE &gt; const &amp;sle, std::int32_t amount, beast::Journal j)</div><div class="ttdoc">Adjust the owner count up or down.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01029">View.cpp:1029</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5b498122d9b8c1acbeb9fe459faac22b"><div class="ttname"><a href="namespaceripple.html#a5b498122d9b8c1acbeb9fe459faac22b">ripple::describeOwnerDir</a></div><div class="ttdeci">std::function&lt; void(SLE::ref)&gt; describeOwnerDir(AccountID const &amp;account)</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l01047">View.cpp:1047</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5dfb437ade69624474bbe4125ceb791a"><div class="ttname"><a href="namespaceripple.html#a5dfb437ade69624474bbe4125ceb791a">ripple::preflight1</a></div><div class="ttdeci">NotTEC preflight1(PreflightContext const &amp;ctx)</div><div class="ttdoc">Performs early sanity checks on the account and fee fields.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8cpp_source.html#l00091">Transactor.cpp:91</a></div></div>
<div class="ttc" id="anamespaceripple_html_a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c"><div class="ttname"><a href="namespaceripple.html#a75cb21d7f1df42f2fdc8efddb79b63f4ad035d214edc31c72362d7efbdaba234c">ripple::tefINTERNAL</a></div><div class="ttdeci">@ tefINTERNAL</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00173">TER.h:173</a></div></div>
<div class="ttc" id="anamespaceripple_html_a868a93d3fbb97e3ba20ba054df1db3ca"><div class="ttname"><a href="namespaceripple.html#a868a93d3fbb97e3ba20ba054df1db3ca">ripple::adjustOwnerCount</a></div><div class="ttdeci">static bool adjustOwnerCount(ApplyContext &amp;ctx, int count)</div><div class="ttdef"><b>Definition</b> <a href="SetOracle_8cpp_source.html#l00186">SetOracle.cpp:186</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8b257ff89d14ac75ce240946f32d3773"><div class="ttname"><a href="namespaceripple.html#a8b257ff89d14ac75ce240946f32d3773">ripple::preflight2</a></div><div class="ttdeci">NotTEC preflight2(PreflightContext const &amp;ctx)</div><div class="ttdoc">Checks whether the signature appears valid.</div><div class="ttdef"><b>Definition</b> <a href="Transactor_8cpp_source.html#l00160">Transactor.cpp:160</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca02ea20c787300a40fe375ba3d6405258"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca02ea20c787300a40fe375ba3d6405258">ripple::tecNO_ENTRY</a></div><div class="ttdeci">@ tecNO_ENTRY</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00306">TER.h:306</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa298e929e02f59c2b05a30ee8805b38ca33d363e51ee15c8bd4f5d7c4e4518def"><div class="ttname"><a href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38ca33d363e51ee15c8bd4f5d7c4e4518def">ripple::tecNO_ISSUER</a></div><div class="ttdeci">@ tecNO_ISSUER</div><div class="ttdef"><b>Definition</b> <a href="TER_8h_source.html#l00299">TER.h:299</a></div></div>