This commit is contained in:
bthomee
2025-05-08 11:05:03 +00:00
parent 3c36d01be9
commit da1a1fe717
983 changed files with 15498 additions and 15479 deletions

View File

@@ -114,10 +114,10 @@ $(function() {
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment">*/</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> ApplyTxs&gt;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger&gt;</a></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple.html#a7063a6bf4c495d60cc3d2f5deb5c35b3"> 39</a></span><a class="code hl_function" href="namespaceripple.html#a7063a6bf4c495d60cc3d2f5deb5c35b3">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple.html#a247779f478ec521c40830fc6fe746fdb"> 39</a></span><a class="code hl_function" href="namespaceripple.html#a247779f478ec521c40830fc6fe746fdb">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</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> <span class="keyword">const</span>&amp; parent,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> closeTime,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> closeTimeCorrect,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="keywordtype">bool</span> <span class="keyword">const</span> closeTimeCorrect,</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a> closeResolution,</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j,</div>
@@ -247,10 +247,10 @@ $(function() {
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span><span class="comment">// Build a ledger from consensus transactions</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger&gt;</a></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="namespaceripple.html#a00a2aa0c3f2861ed15d2b9b8b71b03a3"> 182</a></span><a class="code hl_function" href="namespaceripple.html#a00a2aa0c3f2861ed15d2b9b8b71b03a3">buildLedger</a>(</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa07252133d75f88c31a9970df1c37e90"> 182</a></span><a class="code hl_function" href="namespaceripple.html#aa07252133d75f88c31a9970df1c37e90">buildLedger</a>(</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</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> <span class="keyword">const</span>&amp; parent,</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> closeTime,</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> closeTimeCorrect,</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">bool</span> <span class="keyword">const</span> closeTimeCorrect,</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a> closeResolution,</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <a class="code hl_class" href="classripple_1_1CanonicalTXSet.html">CanonicalTXSet</a>&amp; txns,</div>
@@ -261,7 +261,7 @@ $(function() {
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> &lt;&lt; closeTime.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count()</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> &lt;&lt; (closeTimeCorrect ? <span class="stringliteral">&quot;&quot;</span> : <span class="stringliteral">&quot; (incorrect)&quot;</span>);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a7063a6bf4c495d60cc3d2f5deb5c35b3">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a247779f478ec521c40830fc6fe746fdb">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> parent,</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> closeTime,</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> closeTimeCorrect,</div>
@@ -286,7 +286,7 @@ $(function() {
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="comment">// Build a ledger by replaying</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger&gt;</a></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="namespaceripple.html#a9befd02c76ff748f2b5432ec9b7fa217"> 221</a></span><a class="code hl_function" href="namespaceripple.html#a00a2aa0c3f2861ed15d2b9b8b71b03a3">buildLedger</a>(</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"><a class="line" href="namespaceripple.html#a9befd02c76ff748f2b5432ec9b7fa217"> 221</a></span><a class="code hl_function" href="namespaceripple.html#aa07252133d75f88c31a9970df1c37e90">buildLedger</a>(</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> <a class="code hl_class" href="classripple_1_1LedgerReplay.html">LedgerReplay</a> <span class="keyword">const</span>&amp; replayData,</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <a class="code hl_enumeration" href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ApplyFlags</a> applyFlags,</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
@@ -296,7 +296,7 @@ $(function() {
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> JLOG(j.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) &lt;&lt; <span class="stringliteral">&quot;Report: Replay Ledger &quot;</span> &lt;&lt; replayLedger-&gt;info().hash;</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a7063a6bf4c495d60cc3d2f5deb5c35b3">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a247779f478ec521c40830fc6fe746fdb">buildLedgerImpl</a>(</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> replayData.<a class="code hl_function" href="classripple_1_1LedgerReplay.html#a420112a9174dcde59c1bccf9d4203034">parent</a>(),</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> replayLedger-&gt;info().closeTime,</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> ((replayLedger-&gt;info().closeFlags &amp; <a class="code hl_variable" href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f">sLCF_NoConsensusTime</a>) == 0),</div>
@@ -333,16 +333,16 @@ $(function() {
<div class="ttc" id="ainsert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set/insert.html">std::set::insert</a></div><div class="ttdeci">T insert(T... args)</div></div>
<div class="ttc" id="anamespaceripple_1_1keylet_html_ac58ecac7b057504ea6c1706c0ee04623"><div class="ttname"><a href="namespaceripple_1_1keylet.html#ac58ecac7b057504ea6c1706c0ee04623">ripple::keylet::fees</a></div><div class="ttdeci">Keylet const &amp; fees() noexcept</div><div class="ttdoc">The (fixed) index of the object containing the ledger fees.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00214">Indexes.cpp:214</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_a00a2aa0c3f2861ed15d2b9b8b71b03a3"><div class="ttname"><a href="namespaceripple.html#a00a2aa0c3f2861ed15d2b9b8b71b03a3">ripple::buildLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; buildLedger(std::shared_ptr&lt; Ledger const &gt; const &amp;parent, NetClock::time_point closeTime, const bool closeTimeCorrect, NetClock::duration closeResolution, Application &amp;app, CanonicalTXSet &amp;txns, std::set&lt; TxID &gt; &amp;failedTxs, beast::Journal j)</div><div class="ttdoc">Build a new ledger by applying consensus transactions.</div><div class="ttdef"><b>Definition:</b> <a href="BuildLedger_8cpp_source.html#l00182">BuildLedger.cpp:182</a></div></div>
<div class="ttc" id="anamespaceripple_html_a18d8dde90d603d1c67c2aa616950dbd9"><div class="ttname"><a href="namespaceripple.html#a18d8dde90d603d1c67c2aa616950dbd9">ripple::applyTransactions</a></div><div class="ttdeci">std::size_t applyTransactions(Application &amp;app, std::shared_ptr&lt; Ledger const &gt; const &amp;built, CanonicalTXSet &amp;txns, std::set&lt; TxID &gt; &amp;failed, OpenView &amp;view, beast::Journal j)</div><div class="ttdoc">Apply a set of consensus transactions to a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="BuildLedger_8cpp_source.html#l00099">BuildLedger.cpp:99</a></div></div>
<div class="ttc" id="anamespaceripple_html_a247779f478ec521c40830fc6fe746fdb"><div class="ttname"><a href="namespaceripple.html#a247779f478ec521c40830fc6fe746fdb">ripple::buildLedgerImpl</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; buildLedgerImpl(std::shared_ptr&lt; Ledger const &gt; const &amp;parent, NetClock::time_point closeTime, bool const closeTimeCorrect, NetClock::duration closeResolution, Application &amp;app, beast::Journal j, ApplyTxs &amp;&amp;applyTxs)</div><div class="ttdef"><b>Definition:</b> <a href="BuildLedger_8cpp_source.html#l00039">BuildLedger.cpp:39</a></div></div>
<div class="ttc" id="anamespaceripple_html_a3352ead78ab1510016d3f728004acd63a505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespaceripple.html#a3352ead78ab1510016d3f728004acd63a505a83f220c02df2f85c3810cd9ceb38">ripple::ApplyTransactionResult::Success</a></div><div class="ttdeci">@ Success</div><div class="ttdoc">Applied to this ledger.</div></div>
<div class="ttc" id="anamespaceripple_html_a3352ead78ab1510016d3f728004acd63a6327b4e59f58137083214a1fec358855"><div class="ttname"><a href="namespaceripple.html#a3352ead78ab1510016d3f728004acd63a6327b4e59f58137083214a1fec358855">ripple::ApplyTransactionResult::Retry</a></div><div class="ttdeci">@ Retry</div><div class="ttdoc">Should be retried in this ledger.</div></div>
<div class="ttc" id="anamespaceripple_html_a3352ead78ab1510016d3f728004acd63aceaa0734f0b3c738120c67344d8f3ec1"><div class="ttname"><a href="namespaceripple.html#a3352ead78ab1510016d3f728004acd63aceaa0734f0b3c738120c67344d8f3ec1">ripple::ApplyTransactionResult::Fail</a></div><div class="ttdeci">@ Fail</div><div class="ttdoc">Should not be retried in this ledger.</div></div>
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3a65cfe147458030070724c8b3795e508f"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3a65cfe147458030070724c8b3795e508f">ripple::hotACCOUNT_NODE</a></div><div class="ttdeci">@ hotACCOUNT_NODE</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00035">NodeObject.h:35</a></div></div>
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3aad6a443f1fefba026adfb0c5a2d9a671"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aad6a443f1fefba026adfb0c5a2d9a671">ripple::hotTRANSACTION_NODE</a></div><div class="ttdeci">@ hotTRANSACTION_NODE</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00036">NodeObject.h:36</a></div></div>
<div class="ttc" id="anamespaceripple_html_a6fc7a232cc9b90d4b5846057977fcf63"><div class="ttname"><a href="namespaceripple.html#a6fc7a232cc9b90d4b5846057977fcf63">ripple::XRP_LEDGER_EARLIEST_FEES</a></div><div class="ttdeci">static constexpr std::uint32_t XRP_LEDGER_EARLIEST_FEES</div><div class="ttdoc">The XRP Ledger mainnet's earliest ledger with a FeeSettings object.</div><div class="ttdef"><b>Definition:</b> <a href="SystemParameters_8h_source.html#l00074">SystemParameters.h:74</a></div></div>
<div class="ttc" id="anamespaceripple_html_a7063a6bf4c495d60cc3d2f5deb5c35b3"><div class="ttname"><a href="namespaceripple.html#a7063a6bf4c495d60cc3d2f5deb5c35b3">ripple::buildLedgerImpl</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; buildLedgerImpl(std::shared_ptr&lt; Ledger const &gt; const &amp;parent, NetClock::time_point closeTime, const bool closeTimeCorrect, NetClock::duration closeResolution, Application &amp;app, beast::Journal j, ApplyTxs &amp;&amp;applyTxs)</div><div class="ttdef"><b>Definition:</b> <a href="BuildLedger_8cpp_source.html#l00039">BuildLedger.cpp:39</a></div></div>
<div class="ttc" id="anamespaceripple_html_a8b2f5b67f10875b32c833c88f3bbb07f"><div class="ttname"><a href="namespaceripple.html#a8b2f5b67f10875b32c833c88f3bbb07f">ripple::sLCF_NoConsensusTime</a></div><div class="ttdeci">static std::uint32_t const sLCF_NoConsensusTime</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00082">LedgerHeader.h:82</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa07252133d75f88c31a9970df1c37e90"><div class="ttname"><a href="namespaceripple.html#aa07252133d75f88c31a9970df1c37e90">ripple::buildLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; buildLedger(std::shared_ptr&lt; Ledger const &gt; const &amp;parent, NetClock::time_point closeTime, bool const closeTimeCorrect, NetClock::duration closeResolution, Application &amp;app, CanonicalTXSet &amp;txns, std::set&lt; TxID &gt; &amp;failedTxs, beast::Journal j)</div><div class="ttdoc">Build a new ledger by applying consensus transactions.</div><div class="ttdef"><b>Definition:</b> <a href="BuildLedger_8cpp_source.html#l00182">BuildLedger.cpp:182</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad2487abbcc1a5d6064b72144b461df6e"><div class="ttname"><a href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6e">ripple::ApplyFlags</a></div><div class="ttdeci">ApplyFlags</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8h_source.html#l00031">ApplyView.h:31</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad2487abbcc1a5d6064b72144b461df6eaf77cbea9706ce2ee7fdf5a85efbf70c5"><div class="ttname"><a href="namespaceripple.html#ad2487abbcc1a5d6064b72144b461df6eaf77cbea9706ce2ee7fdf5a85efbf70c5">ripple::tapNONE</a></div><div class="ttdeci">@ tapNONE</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8h_source.html#l00032">ApplyView.h:32</a></div></div>
<div class="ttc" id="anamespaceripple_html_adabbca732d5cb29c385300533c7236e9"><div class="ttname"><a href="namespaceripple.html#adabbca732d5cb29c385300533c7236e9">ripple::applyTransaction</a></div><div class="ttdeci">ApplyTransactionResult applyTransaction(Application &amp;app, OpenView &amp;view, STTx const &amp;tx, bool retryAssured, ApplyFlags flags, beast::Journal journal)</div><div class="ttdoc">Transaction application helper.</div><div class="ttdef"><b>Definition:</b> <a href="apply_8cpp_source.html#l00126">apply.cpp:126</a></div></div>