This commit is contained in:
intelliot
2023-08-21 23:24:10 +00:00
parent 6f1ca2cba3
commit 2082d336dc
2389 changed files with 122140 additions and 114310 deletions

View File

@@ -242,13 +242,13 @@ $(function() {
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a759cf78a2dd1b613d9e1caccfe7be1e8"> 173</a></span>&#160;<a class="code" href="classripple_1_1LedgerReplayer.html#a759cf78a2dd1b613d9e1caccfe7be1e8">LedgerReplayer::gotSkipList</a>(</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> <span class="keyword">const</span>&amp; info,</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> <span class="keyword">const</span>&amp; info,</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; boost::intrusive_ptr&lt;SHAMapItem const&gt; <span class="keyword">const</span>&amp; item)</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;{</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;SkipListAcquire&gt;</a> skipList = {};</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; {</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard&lt;std::mutex&gt;</a> lock(<a class="code" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">auto</span> i = <a class="code" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">skipLists_</a>.find(info.<a class="code" href="structripple_1_1LedgerInfo.html#aab2ff724e7c4b0ccdea55d62cdab8bbc">hash</a>);</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">auto</span> i = <a class="code" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">skipLists_</a>.find(info.<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a>);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordflow">if</span> (i == <a class="code" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">skipLists_</a>.end())</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; skipList = i-&gt;second.lock();</div>
@@ -260,18 +260,18 @@ $(function() {
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; }</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keywordflow">if</span> (skipList)</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; skipList-&gt;processData(info.<a class="code" href="structripple_1_1LedgerInfo.html#a06608577034840a474361d55624ce9a0">seq</a>, item);</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; skipList-&gt;processData(info.<a class="code" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a>, item);</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;}</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a8652a285d05995ff346e6ae2944bef97"> 196</a></span>&#160;<a class="code" href="classripple_1_1LedgerReplayer.html#a8652a285d05995ff346e6ae2944bef97">LedgerReplayer::gotReplayDelta</a>(</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> <span class="keyword">const</span>&amp; info,</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <a class="code" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> <span class="keyword">const</span>&amp; info,</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;STTx const&gt;</a>&gt;&amp;&amp; txns)</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;{</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;LedgerDeltaAcquire&gt;</a> delta = {};</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; {</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard&lt;std::mutex&gt;</a> lock(<a class="code" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keyword">auto</span> i = <a class="code" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">deltas_</a>.find(info.<a class="code" href="structripple_1_1LedgerInfo.html#aab2ff724e7c4b0ccdea55d62cdab8bbc">hash</a>);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keyword">auto</span> i = <a class="code" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">deltas_</a>.find(info.<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a>);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">if</span> (i == <a class="code" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">deltas_</a>.end())</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; delta = i-&gt;second.lock();</div>
@@ -365,14 +365,14 @@ $(function() {
<div class="ttc" id="aclassripple_1_1base__uint_html_ad2bffc75e554b89befbb9388e07392c0"><div class="ttname"><a href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">ripple::base_uint::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00537">base_uint.h:537</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html_abbe082bd27ca0f1d1365af2824e4f85b"><div class="ttname"><a href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">beast::Journal::trace</a></div><div class="ttdeci">Stream trace() const</div><div class="ttdoc">Severity stream access functions.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00309">Journal.h:309</a></div></div>
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a3daf995cbc0b1f63268b027bc25b4338"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a3daf995cbc0b1f63268b027bc25b4338">ripple::LedgerReplayParameters::MAX_TASKS</a></div><div class="ttdeci">constexpr std::uint32_t MAX_TASKS</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00060">LedgerReplayer.h:60</a></div></div>
<div class="ttc" id="astructripple_1_1LedgerInfo_html_aab2ff724e7c4b0ccdea55d62cdab8bbc"><div class="ttname"><a href="structripple_1_1LedgerInfo.html#aab2ff724e7c4b0ccdea55d62cdab8bbc">ripple::LedgerInfo::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00091">ReadView.h:91</a></div></div>
<div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/find.html">std::find</a></div><div class="ttdeci">T find(T... args)</div></div>
<div class="ttc" id="astructripple_1_1LedgerHeader_html_a233e04cfeb4d879ab8517d8aabb7e38b"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">ripple::LedgerHeader::seq</a></div><div class="ttdeci">LedgerIndex seq</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00041">LedgerHeader.h:41</a></div></div>
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1Application_html_a2e6e1d3e6568b3cce07e0d09803cb231"><div class="ttname"><a href="classripple_1_1Application.html#a2e6e1d3e6568b3cce07e0d09803cb231">ripple::Application::isStopping</a></div><div class="ttdeci">virtual bool isStopping() const =0</div></div>
<div class="ttc" id="astructripple_1_1LedgerInfo_html_a06608577034840a474361d55624ce9a0"><div class="ttname"><a href="structripple_1_1LedgerInfo.html#a06608577034840a474361d55624ce9a0">ripple::LedgerInfo::seq</a></div><div class="ttdeci">LedgerIndex seq</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00083">ReadView.h:83</a></div></div>
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_ae6f106cba934c55d12b420e8b40acc36"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#ae6f106cba934c55d12b420e8b40acc36">ripple::LedgerReplayParameters::MAX_TASK_SIZE</a></div><div class="ttdeci">constexpr std::uint32_t MAX_TASK_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00063">LedgerReplayer.h:63</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_ad379e998b9ed9b7639191b52a04cee9f"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">ripple::LedgerReplayer::deltas_</a></div><div class="ttdeci">hash_map&lt; uint256, std::weak_ptr&lt; LedgerDeltaAcquire &gt; &gt; deltas_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00131">LedgerReplayer.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a759cf78a2dd1b613d9e1caccfe7be1e8"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a759cf78a2dd1b613d9e1caccfe7be1e8">ripple::LedgerReplayer::gotSkipList</a></div><div class="ttdeci">void gotSkipList(LedgerInfo const &amp;info, boost::intrusive_ptr&lt; SHAMapItem const &gt; const &amp;data)</div><div class="ttdoc">Process a skip list (extracted from a TMProofPathResponse message)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00173">LedgerReplayer.cpp:173</a></div></div>
<div class="ttc" id="astructripple_1_1LedgerHeader_html_aed3c6b7c8a2f7b4815507ff942f94fa8"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">ripple::LedgerHeader::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00049">LedgerHeader.h:49</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a117a8fd4c54900b486116583ff8466ca"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a117a8fd4c54900b486116583ff8466ca">ripple::LedgerReplayer::createDeltas</a></div><div class="ttdeci">void createDeltas(std::shared_ptr&lt; LedgerReplayTask &gt; task)</div><div class="ttdoc">Create LedgerDeltaAcquire subtasks for the LedgerReplayTask task.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00112">LedgerReplayer.cpp:112</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a98b23a6e5cbfb1820778a5c1132ac25b"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a98b23a6e5cbfb1820778a5c1132ac25b">ripple::LedgerReplayer::inboundLedgers_</a></div><div class="ttdeci">InboundLedgers &amp; inboundLedgers_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00135">LedgerReplayer.h:135</a></div></div>
@@ -385,6 +385,7 @@ $(function() {
<div class="ttc" id="aremove_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/remove.html">std::remove_if</a></div><div class="ttdeci">T remove_if(T... args)</div></div>
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedgers_html"><div class="ttname"><a href="classripple_1_1InboundLedgers.html">ripple::InboundLedgers</a></div><div class="ttdoc">Manages the lifetime of inbound ledgers.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedgers_8h_source.html#l00033">InboundLedgers.h:33</a></div></div>
<div class="ttc" id="astructripple_1_1LedgerHeader_html"><div class="ttname"><a href="structripple_1_1LedgerHeader.html">ripple::LedgerHeader</a></div><div class="ttdoc">Information about the notional ledger backing the view.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00033">LedgerHeader.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayTask_1_1TaskParameter_html"><div class="ttname"><a href="classripple_1_1LedgerReplayTask_1_1TaskParameter.html">ripple::LedgerReplayTask::TaskParameter</a></div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayTask_8h_source.html#l00046">LedgerReplayTask.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a1b3a65f4362211b322e949f6b5f2b9f1"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a1b3a65f4362211b322e949f6b5f2b9f1">ripple::LedgerReplayer::tasks_</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; LedgerReplayTask &gt; &gt; tasks_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00130">LedgerReplayer.h:130</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a14d52623cda41f42570ca30239eae356"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a14d52623cda41f42570ca30239eae356">ripple::LedgerReplayer::sweep</a></div><div class="ttdeci">void sweep()</div><div class="ttdoc">Remove completed tasks.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00219">LedgerReplayer.cpp:219</a></div></div>
@@ -395,7 +396,6 @@ $(function() {
<div class="ttc" id="aclassripple_1_1LedgerReplayTask_1_1TaskParameter_html_a2923e3a3d4fbc1254441247e9db86bd6"><div class="ttname"><a href="classripple_1_1LedgerReplayTask_1_1TaskParameter.html#a2923e3a3d4fbc1254441247e9db86bd6">ripple::LedgerReplayTask::TaskParameter::finishHash_</a></div><div class="ttdeci">uint256 finishHash_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayTask_8h_source.html#l00051">LedgerReplayTask.h:51</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html_a556228cb60bcf405c225d3f64b7b01ae"><div class="ttname"><a href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">beast::Journal::debug</a></div><div class="ttdeci">Stream debug() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00315">Journal.h:315</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a7942a1a23bb630dce2c7784fa2ac52c1"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a7942a1a23bb630dce2c7784fa2ac52c1">ripple::LedgerReplayer::app_</a></div><div class="ttdeci">Application &amp; app_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00134">LedgerReplayer.h:134</a></div></div>
<div class="ttc" id="astructripple_1_1LedgerInfo_html"><div class="ttname"><a href="structripple_1_1LedgerInfo.html">ripple::LedgerInfo</a></div><div class="ttdoc">Information about the notional ledger backing the view.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00075">ReadView.h:75</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">ripple::InboundLedger::Reason</a></div><div class="ttdeci">Reason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00043">InboundLedger.h:43</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a1cb3a180ec947e7c8c89cf41182c69b8"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a1cb3a180ec947e7c8c89cf41182c69b8">ripple::LedgerReplayer::peerSetBuilder_</a></div><div class="ttdeci">std::unique_ptr&lt; PeerSetBuilder &gt; peerSetBuilder_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00136">LedgerReplayer.h:136</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>