This commit is contained in:
bthomee
2025-07-03 14:31:52 +00:00
parent 41fda84d73
commit 448267f6f0
46 changed files with 2243 additions and 2171 deletions

View File

@@ -416,24 +416,24 @@ $(function() {
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><span class="keywordtype">void</span></div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerHistory.html#a8a5ccffa6c8b9c83d07f608b37a20899"> 339</a></span><a class="code hl_function" href="classripple_1_1LedgerHistory.html#a8a5ccffa6c8b9c83d07f608b37a20899">LedgerHistory::handleMismatch</a>(</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_class" href="classripple_1_1base__uint.html">LedgerHash</a> <span class="keyword">const</span>&amp; built,</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <a class="code hl_class" href="classripple_1_1base__uint.html">LedgerHash</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a>,</div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <a class="code hl_class" href="classripple_1_1base__uint.html">LedgerHash</a> <span class="keyword">const</span>&amp; <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>,</div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;uint256&gt;</a> <span class="keyword">const</span>&amp; builtConsensusHash,</div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;uint256&gt;</a> <span class="keyword">const</span>&amp; validatedConsensusHash,</div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>&amp; consensus)</div>
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span>{</div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> XRPL_ASSERT(</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> built != <a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a>,</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> built != <a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>,</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> <span class="stringliteral">&quot;ripple::LedgerHistory::handleMismatch : unequal hashes&quot;</span>);</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> ++<a class="code hl_variable" href="classripple_1_1LedgerHistory.html#ada81f3494202a6c8473ba4f17c12d91f">mismatch_counter_</a>;</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> </div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> <span class="keyword">auto</span> <a class="code hl_function" href="classripple_1_1LedgerHistory.html#a5b22f0c89730a59843fa1840d9225d27">builtLedger</a> = <a class="code hl_function" href="classripple_1_1LedgerHistory.html#af1b5ae23538f3db1815018c0f185f19f">getLedgerByHash</a>(built);</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <span class="keyword">auto</span> validLedger = <a class="code hl_function" href="classripple_1_1LedgerHistory.html#af1b5ae23538f3db1815018c0f185f19f">getLedgerByHash</a>(<a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a>);</div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <span class="keyword">auto</span> validLedger = <a class="code hl_function" href="classripple_1_1LedgerHistory.html#af1b5ae23538f3db1815018c0f185f19f">getLedgerByHash</a>(<a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>);</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> </div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> <span class="keywordflow">if</span> (!<a class="code hl_function" href="classripple_1_1LedgerHistory.html#a5b22f0c89730a59843fa1840d9225d27">builtLedger</a> || !validLedger)</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> {</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> JLOG(<a class="code hl_variable" href="classripple_1_1LedgerHistory.html#a8413110326cba685ff8cdb908ff310e9">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">error</a>()) &lt;&lt; <span class="stringliteral">&quot;MISMATCH cannot be analyzed:&quot;</span></div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> &lt;&lt; <span class="stringliteral">&quot; builtLedger: &quot;</span> &lt;&lt; <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(built) &lt;&lt; <span class="stringliteral">&quot; -&gt; &quot;</span></div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> &lt;&lt; <a class="code hl_function" href="classripple_1_1LedgerHistory.html#a5b22f0c89730a59843fa1840d9225d27">builtLedger</a> &lt;&lt; <span class="stringliteral">&quot; validLedger: &quot;</span> &lt;&lt; <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(<a class="code hl_function" href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">valid</a>)</div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> &lt;&lt; <a class="code hl_function" href="classripple_1_1LedgerHistory.html#a5b22f0c89730a59843fa1840d9225d27">builtLedger</a> &lt;&lt; <span class="stringliteral">&quot; validLedger: &quot;</span> &lt;&lt; <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(<a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>)</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> &lt;&lt; <span class="stringliteral">&quot; -&gt; &quot;</span> &lt;&lt; validLedger;</div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> }</div>
@@ -673,7 +673,7 @@ $(function() {
<div class="ttc" id="aemplace_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional/emplace.html">std::optional::emplace</a></div><div class="ttdeci">T emplace(T... args)</div></div>
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/end.html">std::vector::end</a></div><div class="ttdeci">T end(T... args)</div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_abd2ed437891b9bd542d2afc3f5f4bc58"><div class="ttname"><a href="namespaceripple_1_1credentials.html#abd2ed437891b9bd542d2afc3f5f4bc58">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(PreclaimContext const &amp;ctx, AccountID const &amp;src)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00153">CredentialHelpers.cpp:153</a></div></div>
<div class="ttc" id="anamespaceripple_1_1credentials_html_ab0cd6a3f76fa9f09c5f1c2d6fffc11e0"><div class="ttname"><a href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">ripple::credentials::valid</a></div><div class="ttdeci">TER valid(STTx const &amp;tx, ReadView const &amp;view, AccountID const &amp;src, beast::Journal j)</div><div class="ttdef"><b>Definition:</b> <a href="CredentialHelpers_8cpp_source.html#l00153">CredentialHelpers.cpp:153</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#l00026">algorithm.h:26</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1b38e742ac7fe4c3a80a397e06b83dcb"><div class="ttname"><a href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcb">ripple::SizedItem</a></div><div class="ttdeci">SizedItem</div><div class="ttdef"><b>Definition:</b> <a href="Config_8h_source.html#l00044">Config.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1b38e742ac7fe4c3a80a397e06b83dcbacdae4987d98b9ac3e09734d700c51514"><div class="ttname"><a href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbacdae4987d98b9ac3e09734d700c51514">ripple::SizedItem::ledgerSize</a></div><div class="ttdeci">@ ledgerSize</div></div>