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

@@ -231,7 +231,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span>{</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">auto</span> validLedger = <a class="code hl_function" href="classripple_1_1LedgerMaster.html#a034d481160b41fb77abdf2d0b0dac8a2">getValidatedLedger</a>();</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="keywordflow">if</span> (validLedger &amp;&amp; !<a class="code hl_function" href="namespaceripple.html#aea4b4e6d49d60fe605d62242264dd41e">areCompatible</a>(*validLedger, view, s, reason))</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordflow">if</span> (validLedger &amp;&amp; !<a class="code hl_function" href="namespaceripple.html#a1d0d1700d8e3a9f2a17f8a82b88ec369">areCompatible</a>(*validLedger, view, s, reason))</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="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> }</div>
@@ -240,7 +240,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> sl(<a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a498847d43f1042eabbc26ce3e37c38c4">m_mutex</a>);</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">if</span> ((<a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7d864cf43509dbfd7bd892c9894969a5">mLastValidLedger</a>.second != 0) &amp;&amp;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> !<a class="code hl_function" href="namespaceripple.html#aea4b4e6d49d60fe605d62242264dd41e">areCompatible</a>(</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> !<a class="code hl_function" href="namespaceripple.html#a1d0d1700d8e3a9f2a17f8a82b88ec369">areCompatible</a>(</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7d864cf43509dbfd7bd892c9894969a5">mLastValidLedger</a>.first,</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7d864cf43509dbfd7bd892c9894969a5">mLastValidLedger</a>.second,</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> view,</div>
@@ -886,7 +886,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"> 757</span> {</div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"> 758</span> <span class="keywordflow">try</span></div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno"> 759</span> {</div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"> 760</span> hash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(ledger, lSeq, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"> 760</span> hash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(ledger, lSeq, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span> }</div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"> 762</span> <span class="keywordflow">catch</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/exception.html">std::exception</a> <span class="keyword">const</span>&amp; ex)</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span> {</div>
@@ -1330,7 +1330,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01193" name="l01193"></a><span class="lineno"> 1193</span> </div>
<div class="line"><a id="l01194" name="l01194"></a><span class="lineno"> 1194</span> <span class="keywordflow">if</span> (l &amp;&amp; l-&gt;info().seq &gt;= index)</div>
<div class="line"><a id="l01195" name="l01195"></a><span class="lineno"> 1195</span> {</div>
<div class="line"><a id="l01196" name="l01196"></a><span class="lineno"> 1196</span> ret = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*l, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01196" name="l01196"></a><span class="lineno"> 1196</span> ret = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*l, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01197" name="l01197"></a><span class="lineno"> 1197</span> <span class="keywordflow">if</span> (!ret)</div>
<div class="line"><a id="l01198" name="l01198"></a><span class="lineno"> 1198</span> ret = <a class="code hl_function" href="classripple_1_1LedgerMaster.html#a4c6df242c0ea3409a06e44436495235f">walkHashBySeq</a>(index, l, reason);</div>
<div class="line"><a id="l01199" name="l01199"></a><span class="lineno"> 1199</span> }</div>
@@ -1400,7 +1400,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01261" name="l01261"></a><span class="lineno"> 1261</span> </div>
<div class="line"><a id="l01262" name="l01262"></a><span class="lineno"> 1262</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a> ledger;</div>
<div class="line"><a id="l01263" name="l01263"></a><span class="lineno"> 1263</span> <span class="comment">// This can throw</span></div>
<div class="line"><a id="l01264" name="l01264"></a><span class="lineno"> 1264</span> <span class="keyword">auto</span> hash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*valLedger, seq, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01264" name="l01264"></a><span class="lineno"> 1264</span> <span class="keyword">auto</span> hash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*valLedger, seq, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01265" name="l01265"></a><span class="lineno"> 1265</span> <span class="comment">// VFALCO TODO Restructure this code so that zero is not</span></div>
<div class="line"><a id="l01266" name="l01266"></a><span class="lineno"> 1266</span> <span class="comment">// used.</span></div>
<div class="line"><a id="l01267" name="l01267"></a><span class="lineno"> 1267</span> <span class="keywordflow">if</span> (!hash)</div>
@@ -1830,14 +1830,14 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01659" name="l01659"></a><span class="lineno"> 1659</span> }</div>
<div class="line"><a id="l01660" name="l01660"></a><span class="lineno"> 1660</span> </div>
<div class="line"><a id="l01661" name="l01661"></a><span class="lineno"> 1661</span> <span class="comment">// See if the hash for the ledger we need is in the reference ledger</span></div>
<div class="line"><a id="l01662" name="l01662"></a><span class="lineno"> 1662</span> <span class="keyword">auto</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*referenceLedger, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01662" name="l01662"></a><span class="lineno"> 1662</span> <span class="keyword">auto</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*referenceLedger, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01663" name="l01663"></a><span class="lineno"> 1663</span> <span class="keywordflow">if</span> (ledgerHash)</div>
<div class="line"><a id="l01664" name="l01664"></a><span class="lineno"> 1664</span> <span class="keywordflow">return</span> ledgerHash;</div>
<div class="line"><a id="l01665" name="l01665"></a><span class="lineno"> 1665</span> </div>
<div class="line"><a id="l01666" name="l01666"></a><span class="lineno"> 1666</span> <span class="comment">// The hash is not in the reference ledger. Get another ledger which can</span></div>
<div class="line"><a id="l01667" name="l01667"></a><span class="lineno"> 1667</span> <span class="comment">// be located easily and should contain the hash.</span></div>
<div class="line"><a id="l01668" name="l01668"></a><span class="lineno"> 1668</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> refIndex = <a class="code hl_function" href="namespaceripple.html#a276b9076d790b69ea4d9e13720a12ec8">getCandidateLedger</a>(index);</div>
<div class="line"><a id="l01669" name="l01669"></a><span class="lineno"> 1669</span> <span class="keyword">auto</span> <span class="keyword">const</span> refHash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*referenceLedger, refIndex, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01669" name="l01669"></a><span class="lineno"> 1669</span> <span class="keyword">auto</span> <span class="keyword">const</span> refHash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*referenceLedger, refIndex, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01670" name="l01670"></a><span class="lineno"> 1670</span> XRPL_ASSERT(refHash, <span class="stringliteral">&quot;ripple::LedgerMaster::walkHashBySeq : found ledger&quot;</span>);</div>
<div class="line"><a id="l01671" name="l01671"></a><span class="lineno"> 1671</span> <span class="keywordflow">if</span> (refHash)</div>
<div class="line"><a id="l01672" name="l01672"></a><span class="lineno"> 1672</span> {</div>
@@ -1848,7 +1848,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01677" name="l01677"></a><span class="lineno"> 1677</span> {</div>
<div class="line"><a id="l01678" name="l01678"></a><span class="lineno"> 1678</span> <span class="keywordflow">try</span></div>
<div class="line"><a id="l01679" name="l01679"></a><span class="lineno"> 1679</span> {</div>
<div class="line"><a id="l01680" name="l01680"></a><span class="lineno"> 1680</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*ledger, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01680" name="l01680"></a><span class="lineno"> 1680</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*ledger, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01681" name="l01681"></a><span class="lineno"> 1681</span> }</div>
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"> 1682</span> <span class="keywordflow">catch</span> (<a class="code hl_class" href="classripple_1_1SHAMapMissingNode.html">SHAMapMissingNode</a> <span class="keyword">const</span>&amp;)</div>
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"> 1683</span> {</div>
@@ -1862,7 +1862,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01691" name="l01691"></a><span class="lineno"> 1691</span> <span class="keywordflow">if</span> (<span class="keyword">auto</span> <span class="keyword">const</span> l = <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a262ba48a2919950db79ae9434018b450">app_</a>.<a class="code hl_function" href="classripple_1_1Application.html#a915619bcedd33aaed53cf784a5863dab">getInboundLedgers</a>().<a class="code hl_function" href="classripple_1_1InboundLedgers.html#a504951d354fa8cbd7c0d41f90f776a4f">acquire</a>(</div>
<div class="line"><a id="l01692" name="l01692"></a><span class="lineno"> 1692</span> *refHash, refIndex, reason))</div>
<div class="line"><a id="l01693" name="l01693"></a><span class="lineno"> 1693</span> {</div>
<div class="line"><a id="l01694" name="l01694"></a><span class="lineno"> 1694</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*l, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01694" name="l01694"></a><span class="lineno"> 1694</span> ledgerHash = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*l, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01695" name="l01695"></a><span class="lineno"> 1695</span> XRPL_ASSERT(</div>
<div class="line"><a id="l01696" name="l01696"></a><span class="lineno"> 1696</span> ledgerHash,</div>
<div class="line"><a id="l01697" name="l01697"></a><span class="lineno"> 1697</span> <span class="stringliteral">&quot;ripple::LedgerMaster::walkHashBySeq : has complete &quot;</span></div>
@@ -1888,7 +1888,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01715" name="l01715"></a><span class="lineno"> 1715</span> </div>
<div class="line"><a id="l01716" name="l01716"></a><span class="lineno"> 1716</span> <span class="keywordflow">try</span></div>
<div class="line"><a id="l01717" name="l01717"></a><span class="lineno"> 1717</span> {</div>
<div class="line"><a id="l01718" name="l01718"></a><span class="lineno"> 1718</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a> = <a class="code hl_function" href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">hashOfSeq</a>(*<a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01718" name="l01718"></a><span class="lineno"> 1718</span> <span class="keyword">auto</span> <span class="keyword">const</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a> = <a class="code hl_function" href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">hashOfSeq</a>(*<a class="code hl_function" href="namespaceripple_1_1credentials.html#ab0cd6a3f76fa9f09c5f1c2d6fffc11e0">valid</a>, index, <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a7621d03781287445cfabcb91046f141d">m_journal</a>);</div>
<div class="line"><a id="l01719" name="l01719"></a><span class="lineno"> 1719</span> </div>
<div class="line"><a id="l01720" name="l01720"></a><span class="lineno"> 1720</span> <span class="keywordflow">if</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>)</div>
<div class="line"><a id="l01721" name="l01721"></a><span class="lineno"> 1721</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1LedgerMaster.html#a2dc054158ffca412c8d193abc60f9a41">mLedgerHistory</a>.<a class="code hl_function" href="classripple_1_1LedgerHistory.html#af1b5ae23538f3db1815018c0f185f19f">getLedgerByHash</a>(*<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>);</div>
@@ -2640,7 +2640,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassripple_1_1Overlay_html_a81a1499888369dfb338d45af35f09068"><div class="ttname"><a href="classripple_1_1Overlay.html#a81a1499888369dfb338d45af35f09068">ripple::Overlay::checkTracking</a></div><div class="ttdeci">virtual void checkTracking(std::uint32_t index)=0</div><div class="ttdoc">Calls the checkTracking function on each peer.</div></div>
<div class="ttc" id="aclassripple_1_1PathRequests_html_a7fb6b226a24ff19533dee037f10bf97c"><div class="ttname"><a href="classripple_1_1PathRequests.html#a7fb6b226a24ff19533dee037f10bf97c">ripple::PathRequests::requestsPending</a></div><div class="ttdeci">bool requestsPending() const</div><div class="ttdef"><b>Definition</b> <a href="PathRequests_8cpp_source.html#l00224">PathRequests.cpp:224</a></div></div>
<div class="ttc" id="aclassripple_1_1PendingSaves_html_a61b8487cdef1295fe96c135d10272212"><div class="ttname"><a href="classripple_1_1PendingSaves.html#a61b8487cdef1295fe96c135d10272212">ripple::PendingSaves::getSnapshot</a></div><div class="ttdeci">std::map&lt; LedgerIndex, bool &gt; getSnapshot() const</div><div class="ttdoc">Get a snapshot of the pending saves.</div><div class="ttdef"><b>Definition</b> <a href="PendingSaves_8h_source.html#l00138">PendingSaves.h:138</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition</b> <a href="ReadView_8h_source.html#l00051">ReadView.h:52</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition</b> <a href="ReadView_8h_source.html#l00050">ReadView.h:51</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_a8dc63ee1e4ae7b2f96823e146c53d03e"><div class="ttname"><a href="classripple_1_1ReadView.html#a8dc63ee1e4ae7b2f96823e146c53d03e">ripple::ReadView::open</a></div><div class="ttdeci">virtual bool open() const =0</div><div class="ttdoc">Returns true if this reflects an open ledger.</div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html_aca9d5e022d68fdd94bf3c8e36a294a96"><div class="ttname"><a href="classripple_1_1ReadView.html#aca9d5e022d68fdd94bf3c8e36a294a96">ripple::ReadView::info</a></div><div class="ttdeci">virtual LedgerInfo const &amp; info() const =0</div><div class="ttdoc">Returns information about the ledger.</div></div>
<div class="ttc" id="aclassripple_1_1RelationalDatabase_html_a9513642103dc26cb1b207e9a0a87074e"><div class="ttname"><a href="classripple_1_1RelationalDatabase.html#a9513642103dc26cb1b207e9a0a87074e">ripple::RelationalDatabase::getHashesByIndex</a></div><div class="ttdeci">virtual std::optional&lt; LedgerHashPair &gt; getHashesByIndex(LedgerIndex ledgerIndex)=0</div><div class="ttdoc">getHashesByIndex Returns the hashes of the ledger and its parent as specified by the ledgerIndex.</div></div>
@@ -2703,15 +2703,16 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_1_1BuildInfo_html_a78c52e19009a32c3d05a43c59f864bd3"><div class="ttname"><a href="namespaceripple_1_1BuildInfo.html#a78c52e19009a32c3d05a43c59f864bd3">ripple::BuildInfo::isRippledVersion</a></div><div class="ttdeci">bool isRippledVersion(std::uint64_t version)</div><div class="ttdoc">Check if the encoded software version is a rippled software version.</div><div class="ttdef"><b>Definition</b> <a href="BuildInfo_8cpp_source.html#l00165">BuildInfo.cpp:165</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0b2a0218d1e64ae67ac02712b613a936"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0b2a0218d1e64ae67ac02712b613a936">ripple::Resource::feeMalformedRequest</a></div><div class="ttdeci">Charge const feeMalformedRequest</div><div class="ttdoc">Schedule of fees charged for imposing load on the server.</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a79b0f414dccfcd34031b08b68b671d9e"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a79b0f414dccfcd34031b08b68b671d9e">ripple::Resource::feeRequestNoReply</a></div><div class="ttdeci">Charge const feeRequestNoReply</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_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#l00152">CredentialHelpers.cpp:152</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_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_a1b38e742ac7fe4c3a80a397e06b83dcba84e0eb5e4fbd74b1a9cafa3a2e072f64"><div class="ttname"><a href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcba84e0eb5e4fbd74b1a9cafa3a2e072f64">ripple::SizedItem::ledgerFetch</a></div><div class="ttdeci">@ ledgerFetch</div></div>
<div class="ttc" id="anamespaceripple_html_a276b9076d790b69ea4d9e13720a12ec8"><div class="ttname"><a href="namespaceripple.html#a276b9076d790b69ea4d9e13720a12ec8">ripple::getCandidateLedger</a></div><div class="ttdeci">LedgerIndex getCandidateLedger(LedgerIndex requested)</div><div class="ttdoc">Find a ledger index from which we could easily get the requested ledger.</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00430">View.h:430</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1d0d1700d8e3a9f2a17f8a82b88ec369"><div class="ttname"><a href="namespaceripple.html#a1d0d1700d8e3a9f2a17f8a82b88ec369">ripple::areCompatible</a></div><div class="ttdeci">bool areCompatible(ReadView const &amp;validLedger, ReadView const &amp;testLedger, beast::Journal::Stream &amp;s, char const *reason)</div><div class="ttdoc">Return false if the test ledger is provably incompatible with the valid ledger, that is,...</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00796">View.cpp:796</a></div></div>
<div class="ttc" id="anamespaceripple_html_a276b9076d790b69ea4d9e13720a12ec8"><div class="ttname"><a href="namespaceripple.html#a276b9076d790b69ea4d9e13720a12ec8">ripple::getCandidateLedger</a></div><div class="ttdeci">LedgerIndex getCandidateLedger(LedgerIndex requested)</div><div class="ttdoc">Find a ledger index from which we could easily get the requested ledger.</div><div class="ttdef"><b>Definition</b> <a href="View_8h_source.html#l00429">View.h:429</a></div></div>
<div class="ttc" id="anamespaceripple_html_a315a8436e8fd4fca03c22728a68d2261"><div class="ttname"><a href="namespaceripple.html#a315a8436e8fd4fca03c22728a68d2261">ripple::shouldAcquire</a></div><div class="ttdeci">static bool shouldAcquire(std::uint32_t const currentLedger, std::uint32_t const ledgerHistory, std::optional&lt; LedgerIndex &gt; const minimumOnline, std::uint32_t const candidateLedger, beast::Journal j)</div><div class="ttdef"><b>Definition</b> <a href="LedgerMaster_8cpp_source.html#l00073">LedgerMaster.cpp:73</a></div></div>
<div class="ttc" id="anamespaceripple_html_a32ba9fd762aad555e761c775d3bbaf6a"><div class="ttname"><a href="namespaceripple.html#a32ba9fd762aad555e761c775d3bbaf6a">ripple::prevMissing</a></div><div class="ttdeci">std::optional&lt; T &gt; prevMissing(RangeSet&lt; T &gt; const &amp;rs, T t, T minVal=0)</div><div class="ttdoc">Find the largest value not in the set that is less than a given value.</div><div class="ttdef"><b>Definition</b> <a href="RangeSet_8h_source.html#l00183">RangeSet.h:183</a></div></div>
<div class="ttc" id="anamespaceripple_html_a38d1749cd010f88da471b4183b2dfe52"><div class="ttname"><a href="namespaceripple.html#a38d1749cd010f88da471b4183b2dfe52">ripple::isCurrent</a></div><div class="ttdeci">bool isCurrent(ValidationParms const &amp;p, NetClock::time_point now, NetClock::time_point signTime, NetClock::time_point seenTime)</div><div class="ttdoc">Whether a validation is still current.</div><div class="ttdef"><b>Definition</b> <a href="Validations_8h_source.html#l00149">Validations.h:149</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4099618475b06c3fa5554a99178a8a59"><div class="ttname"><a href="namespaceripple.html#a4099618475b06c3fa5554a99178a8a59">ripple::hashOfSeq</a></div><div class="ttdeci">std::optional&lt; uint256 &gt; hashOfSeq(ReadView const &amp;ledger, LedgerIndex seq, beast::Journal journal)</div><div class="ttdoc">Return the hash of a ledger by sequence.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00959">View.cpp:959</a></div></div>
<div class="ttc" id="anamespaceripple_html_a47922bf40fdc616ab0522d09c58e13df"><div class="ttname"><a href="namespaceripple.html#a47922bf40fdc616ab0522d09c58e13df">ripple::hashOfSeq</a></div><div class="ttdeci">std::optional&lt; uint256 &gt; hashOfSeq(ReadView const &amp;ledger, LedgerIndex seq, beast::Journal journal)</div><div class="ttdoc">Return the hash of a ledger by sequence.</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00958">View.cpp:958</a></div></div>
<div class="ttc" id="anamespaceripple_html_a53f80df10254751781250aa20704e98f"><div class="ttname"><a href="namespaceripple.html#a53f80df10254751781250aa20704e98f">ripple::set</a></div><div class="ttdeci">bool set(T &amp;target, std::string const &amp;name, Section const &amp;section)</div><div class="ttdoc">Set a value from a configuration Section If the named value is not found or doesn't parse as a T,...</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00315">BasicConfig.h:315</a></div></div>
<div class="ttc" id="anamespaceripple_html_a7110df4f45a288d365fc8ccd9af92aba"><div class="ttname"><a href="namespaceripple.html#a7110df4f45a288d365fc8ccd9af92aba">ripple::MAX_LEDGER_GAP</a></div><div class="ttdeci">static constexpr int MAX_LEDGER_GAP</div><div class="ttdef"><b>Definition</b> <a href="LedgerMaster_8cpp_source.html#l00062">LedgerMaster.cpp:62</a></div></div>
<div class="ttc" id="anamespaceripple_html_a80033fe071280d537dbd79e19ba5b628"><div class="ttname"><a href="namespaceripple.html#a80033fe071280d537dbd79e19ba5b628">ripple::calculatePercent</a></div><div class="ttdeci">constexpr std::size_t calculatePercent(std::size_t count, std::size_t total)</div><div class="ttdoc">Calculate one number divided by another number in percentage.</div><div class="ttdef"><b>Definition</b> <a href="MathUtilities_8h_source.html#l00044">MathUtilities.h:44</a></div></div>
@@ -2729,7 +2730,6 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="anamespaceripple_html_ae0f54f8ce649d639bf3e2b295347e17aaa4e32e16425bc63db04ed98f3b3f4259"><div class="ttname"><a href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aaa4e32e16425bc63db04ed98f3b3f4259">ripple::jtPUBOLDLEDGER</a></div><div class="ttdeci">@ jtPUBOLDLEDGER</div><div class="ttdef"><b>Definition</b> <a href="Job_8h_source.html#l00044">Job.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae0f54f8ce649d639bf3e2b295347e17aac6876ad6800d8cd0a4c9a306baf35204"><div class="ttname"><a href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aac6876ad6800d8cd0a4c9a306baf35204">ripple::jtADVANCE</a></div><div class="ttdeci">@ jtADVANCE</div><div class="ttdef"><b>Definition</b> <a href="Job_8h_source.html#l00067">Job.h:67</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae3f5bc352766a1a8dbf5270eb7dbc2e7"><div class="ttname"><a href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">ripple::sha512Half</a></div><div class="ttdeci">sha512_half_hasher::result_type sha512Half(Args const &amp;... args)</div><div class="ttdoc">Returns the SHA512-Half of a series of objects.</div><div class="ttdef"><b>Definition</b> <a href="digest_8h_source.html#l00224">digest.h:224</a></div></div>
<div class="ttc" id="anamespaceripple_html_aea4b4e6d49d60fe605d62242264dd41e"><div class="ttname"><a href="namespaceripple.html#aea4b4e6d49d60fe605d62242264dd41e">ripple::areCompatible</a></div><div class="ttdeci">bool areCompatible(ReadView const &amp;validLedger, ReadView const &amp;testLedger, beast::Journal::Stream &amp;s, char const *reason)</div><div class="ttdoc">Return false if the test ledger is provably incompatible with the valid ledger, that is,...</div><div class="ttdef"><b>Definition</b> <a href="View_8cpp_source.html#l00797">View.cpp:797</a></div></div>
<div class="ttc" id="anamespaceripple_html_aefd2f77338ce3c9a2fffc4f0b289b483"><div class="ttname"><a href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">ripple::LogicError</a></div><div class="ttdeci">void LogicError(std::string const &amp;how) noexcept</div><div class="ttdoc">Called when faulty logic causes a broken invariant.</div><div class="ttdef"><b>Definition</b> <a href="libxrpl_2basics_2contract_8cpp_source.html#l00037">libxrpl/basics/contract.cpp:37</a></div></div>
<div class="ttc" id="anamespaceripple_html_afd9c0655540fb85bcc173ec81c7c7290"><div class="ttname"><a href="namespaceripple.html#afd9c0655540fb85bcc173ec81c7c7290">ripple::pendSaveValidated</a></div><div class="ttdeci">bool pendSaveValidated(Application &amp;app, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, bool isSynchronous, bool isCurrent)</div><div class="ttdoc">Save, or arrange to save, a fully-validated ledger Returns false on error.</div><div class="ttdef"><b>Definition</b> <a href="Ledger_8cpp_source.html#l00993">Ledger.cpp:993</a></div></div>
<div class="ttc" id="anamespacestd_1_1chrono_html"><div class="ttname"><a href="http://en.cppreference.com/w/namespacestd_1_1chrono.html">std::chrono</a></div></div>