Files
rippled/LedgerDeltaAcquire_8h_source.html
2025-11-04 00:36:48 -08:00

224 lines
38 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: LedgerDeltaAcquire.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_c69db3203fa08a9ff994909ba6ee9783.html">app</a></li><li class="navelem"><a class="el" href="dir_7899ad0c658a3b97a951171682eee0fc.html">ledger</a></li><li class="navelem"><a class="el" href="dir_33905d6b0bac037e3317dfcb3fc24fbf.html">detail</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">LedgerDeltaAcquire.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef XRPL_APP_LEDGER_LEDGERDELTAACQUIRE_H_INCLUDED</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_APP_LEDGER_LEDGERDELTAACQUIRE_H_INCLUDED</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;xrpld/app/ledger/InboundLedger.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &lt;xrpld/app/ledger/Ledger.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;xrpld/app/ledger/detail/TimeoutCounter.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &lt;xrpl/basics/CountedObject.h&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;xrpl/basics/base_uint.h&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/map.html">map</a>&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">class </span>InboundLedgers;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="keyword">class </span>PeerSet;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">namespace </span>test {</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">class </span>LedgerReplayClient;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="foldopen" id="foldopen00025" data-start="{" data-end="};">
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html"> 25</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1LedgerDeltaAcquire.html">LedgerDeltaAcquire</a> final</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">public</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a>&lt;LedgerDeltaAcquire&gt;,</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1CountedObject.html">CountedObject</a>&lt;LedgerDeltaAcquire&gt;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>{</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a43b5301b63ad043115f5cb3b76c9be8f"> 36</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">OnDeltaDataCB</a> =</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;void(<span class="keywordtype">bool</span> successful, <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash)&gt;;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_class" href="classripple_1_1LedgerDeltaAcquire.html">LedgerDeltaAcquire</a>(</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>&amp; inboundLedgers,</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; ledgerHash,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ledgerSeq,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> peerSet);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#aad7dfad9abb2456cd784adf93e6eb082">~LedgerDeltaAcquire</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#aa0cb457dac46b0135606af37f05b8e79">init</a>(<span class="keywordtype">int</span> numPeers);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#a5b441e8fc4adb06a83b7722355d8109c">processData</a>(</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> <span class="keyword">const</span>&amp; info,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt;<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;STTx const&gt;</a>&gt;&amp;&amp; orderedTxns);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</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></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#a6be2d4716328cebd2fb36e5e120f6cd5">tryBuild</a>(<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="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#ad2e598351677e94036ad2e43c6a74d79">addDataCallback</a>(<a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">InboundLedger::Reason</a> reason, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">OnDeltaDataCB</a>&amp;&amp; cb);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#ab04a0083e02ede0c132e87e50ba72004">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/unique_lock.html">ScopedLockType</a>&amp; peerSetLock) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr&lt;TimeoutCounter&gt;</a></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#ac91d92a517554c6ae05ebc1e41c0c0c3">pmDowncast</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#a32a57fbaf04e000c530515511f83d89c">trigger</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> limit, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/unique_lock.html">ScopedLockType</a>&amp; sl);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#afed8a303815f3cdfbdd02a0435fe2ace">onLedgerBuilt</a>(</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/unique_lock.html">ScopedLockType</a>&amp; sl,</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;InboundLedger::Reason&gt;</a> reason = {});</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_function" href="classripple_1_1LedgerDeltaAcquire.html#ac8755f9bffa193205e9ade38fc77c1f7">notify</a>(<a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>&amp; sl);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a898bde8a88d046b020b5ef627077431a"> 130</a></span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>&amp; <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a898bde8a88d046b020b5ef627077431a">inboundLedgers_</a>;</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#aa0595288a799d1a117945f1b169e7723"> 131</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#aa0595288a799d1a117945f1b169e7723">ledgerSeq_</a>;</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#abbf61f8aea2026ff924dbc0cb2aac2fb"> 132</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#abbf61f8aea2026ff924dbc0cb2aac2fb">peerSet_</a>;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a8186221221517f998a0e56c5eba7fe7b"> 133</a></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> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a8186221221517f998a0e56c5eba7fe7b">replayTemp_</a> = {};</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a12d9a5427b4ab51e50c9b8a856bff0ea"> 134</a></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> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a12d9a5427b4ab51e50c9b8a856bff0ea">fullLedger_</a> = {};</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a646d3f6e657b9c95b3b0fc86c9c7e1ea"> 135</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map&lt;std::uint32_t, std::shared_ptr&lt;STTx const&gt;</a>&gt; <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a646d3f6e657b9c95b3b0fc86c9c7e1ea">orderedTxns_</a>;</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#aa8b3fe0bac937fac0005f231caa324b6"> 136</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;OnDeltaDataCB&gt;</a> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#aa8b3fe0bac937fac0005f231caa324b6">dataReadyCallbacks_</a>;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a56a3cc22cf6dc7410409c50f1a327060"> 137</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set&lt;InboundLedger::Reason&gt;</a> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a56a3cc22cf6dc7410409c50f1a327060">reasons_</a>;</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a5f3b44c7e19372fa9bde37a92b535d4c"> 138</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#a5f3b44c7e19372fa9bde37a92b535d4c">noFeaturePeerCount</a> = 0;</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#ae3bb10a39c443b4e43dbec407e2f94aa"> 139</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1LedgerDeltaAcquire.html#ae3bb10a39c443b4e43dbec407e2f94aa">fallBack_</a> = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a9cac8dd1d44aebf7d2fc897b3b28e953"> 141</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1LedgerReplayTask.html">LedgerReplayTask</a>; <span class="comment">// for asserts only</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerDeltaAcquire.html#a4156475fb02014076bb365159cbd1810"> 142</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1LedgerReplayClient.html">test::LedgerReplayClient</a>;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span>};</div>
</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00094">Application.h:95</a></div></div>
<div class="ttc" id="aclassripple_1_1CountedObject_html"><div class="ttname"><a href="classripple_1_1CountedObject.html">ripple::CountedObject</a></div><div class="ttdoc">Tracks the number of instances of an object.</div><div class="ttdef"><b>Definition</b> <a href="CountedObject_8h_source.html#l00106">CountedObject.h:107</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#l00026">InboundLedger.h:26</a></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#l00014">InboundLedgers.h:15</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html">ripple::LedgerDeltaAcquire</a></div><div class="ttdoc">Manage the retrieval of a ledger delta (header and transactions) from the network.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00025">LedgerDeltaAcquire.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a12d9a5427b4ab51e50c9b8a856bff0ea"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a12d9a5427b4ab51e50c9b8a856bff0ea">ripple::LedgerDeltaAcquire::fullLedger_</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger const &gt; fullLedger_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00134">LedgerDeltaAcquire.h:134</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a32a57fbaf04e000c530515511f83d89c"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a32a57fbaf04e000c530515511f83d89c">ripple::LedgerDeltaAcquire::trigger</a></div><div class="ttdeci">void trigger(std::size_t limit, ScopedLockType &amp;sl)</div><div class="ttdoc">Trigger another round.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00050">LedgerDeltaAcquire.cpp:50</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a56a3cc22cf6dc7410409c50f1a327060"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a56a3cc22cf6dc7410409c50f1a327060">ripple::LedgerDeltaAcquire::reasons_</a></div><div class="ttdeci">std::set&lt; InboundLedger::Reason &gt; reasons_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00137">LedgerDeltaAcquire.h:137</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a5b441e8fc4adb06a83b7722355d8109c"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a5b441e8fc4adb06a83b7722355d8109c">ripple::LedgerDeltaAcquire::processData</a></div><div class="ttdeci">void processData(LedgerInfo const &amp;info, std::map&lt; std::uint32_t, std::shared_ptr&lt; STTx const &gt; &gt; &amp;&amp;orderedTxns)</div><div class="ttdoc">Process the data extracted from a peer's reply.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00120">LedgerDeltaAcquire.cpp:120</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a5f3b44c7e19372fa9bde37a92b535d4c"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a5f3b44c7e19372fa9bde37a92b535d4c">ripple::LedgerDeltaAcquire::noFeaturePeerCount</a></div><div class="ttdeci">std::uint32_t noFeaturePeerCount</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00138">LedgerDeltaAcquire.h:138</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a646d3f6e657b9c95b3b0fc86c9c7e1ea"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a646d3f6e657b9c95b3b0fc86c9c7e1ea">ripple::LedgerDeltaAcquire::orderedTxns_</a></div><div class="ttdeci">std::map&lt; std::uint32_t, std::shared_ptr&lt; STTx const &gt; &gt; orderedTxns_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00135">LedgerDeltaAcquire.h:135</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a6be2d4716328cebd2fb36e5e120f6cd5"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a6be2d4716328cebd2fb36e5e120f6cd5">ripple::LedgerDeltaAcquire::tryBuild</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger const &gt; tryBuild(std::shared_ptr&lt; Ledger const &gt; const &amp;parent)</div><div class="ttdoc">Try to build the ledger if not already.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00173">LedgerDeltaAcquire.cpp:173</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a8186221221517f998a0e56c5eba7fe7b"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a8186221221517f998a0e56c5eba7fe7b">ripple::LedgerDeltaAcquire::replayTemp_</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger const &gt; replayTemp_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00133">LedgerDeltaAcquire.h:133</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_a898bde8a88d046b020b5ef627077431a"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#a898bde8a88d046b020b5ef627077431a">ripple::LedgerDeltaAcquire::inboundLedgers_</a></div><div class="ttdeci">InboundLedgers &amp; inboundLedgers_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00130">LedgerDeltaAcquire.h:130</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_aa0595288a799d1a117945f1b169e7723"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#aa0595288a799d1a117945f1b169e7723">ripple::LedgerDeltaAcquire::ledgerSeq_</a></div><div class="ttdeci">std::uint32_t const ledgerSeq_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00131">LedgerDeltaAcquire.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_aa0cb457dac46b0135606af37f05b8e79"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#aa0cb457dac46b0135606af37f05b8e79">ripple::LedgerDeltaAcquire::init</a></div><div class="ttdeci">void init(int numPeers)</div><div class="ttdoc">Start the LedgerDeltaAcquire task.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00039">LedgerDeltaAcquire.cpp:39</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_aa8b3fe0bac937fac0005f231caa324b6"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#aa8b3fe0bac937fac0005f231caa324b6">ripple::LedgerDeltaAcquire::dataReadyCallbacks_</a></div><div class="ttdeci">std::vector&lt; OnDeltaDataCB &gt; dataReadyCallbacks_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00136">LedgerDeltaAcquire.h:136</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_aad7dfad9abb2456cd784adf93e6eb082"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#aad7dfad9abb2456cd784adf93e6eb082">ripple::LedgerDeltaAcquire::~LedgerDeltaAcquire</a></div><div class="ttdeci">~LedgerDeltaAcquire() override</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00033">LedgerDeltaAcquire.cpp:33</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_ab04a0083e02ede0c132e87e50ba72004"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#ab04a0083e02ede0c132e87e50ba72004">ripple::LedgerDeltaAcquire::onTimer</a></div><div class="ttdeci">void onTimer(bool progress, ScopedLockType &amp;peerSetLock) override</div><div class="ttdoc">Hook called from invokeOnTimer().</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00098">LedgerDeltaAcquire.cpp:98</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_abbf61f8aea2026ff924dbc0cb2aac2fb"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#abbf61f8aea2026ff924dbc0cb2aac2fb">ripple::LedgerDeltaAcquire::peerSet_</a></div><div class="ttdeci">std::unique_ptr&lt; PeerSet &gt; peerSet_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00132">LedgerDeltaAcquire.h:132</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_ac8755f9bffa193205e9ade38fc77c1f7"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#ac8755f9bffa193205e9ade38fc77c1f7">ripple::LedgerDeltaAcquire::notify</a></div><div class="ttdeci">void notify(ScopedLockType &amp;sl)</div><div class="ttdoc">Call the OnDeltaDataCB callbacks.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00248">LedgerDeltaAcquire.cpp:248</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_ac91d92a517554c6ae05ebc1e41c0c0c3"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#ac91d92a517554c6ae05ebc1e41c0c0c3">ripple::LedgerDeltaAcquire::pmDowncast</a></div><div class="ttdeci">std::weak_ptr&lt; TimeoutCounter &gt; pmDowncast() override</div><div class="ttdoc">Return a weak pointer to this.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00114">LedgerDeltaAcquire.cpp:114</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_ad2e598351677e94036ad2e43c6a74d79"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#ad2e598351677e94036ad2e43c6a74d79">ripple::LedgerDeltaAcquire::addDataCallback</a></div><div class="ttdeci">void addDataCallback(InboundLedger::Reason reason, OnDeltaDataCB &amp;&amp;cb)</div><div class="ttdoc">Add a reason and a callback to the LedgerDeltaAcquire subtask.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00151">LedgerDeltaAcquire.cpp:151</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_ae3bb10a39c443b4e43dbec407e2f94aa"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#ae3bb10a39c443b4e43dbec407e2f94aa">ripple::LedgerDeltaAcquire::fallBack_</a></div><div class="ttdeci">bool fallBack_</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8h_source.html#l00139">LedgerDeltaAcquire.h:139</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerDeltaAcquire_html_afed8a303815f3cdfbdd02a0435fe2ace"><div class="ttname"><a href="classripple_1_1LedgerDeltaAcquire.html#afed8a303815f3cdfbdd02a0435fe2ace">ripple::LedgerDeltaAcquire::onLedgerBuilt</a></div><div class="ttdeci">void onLedgerBuilt(ScopedLockType &amp;sl, std::optional&lt; InboundLedger::Reason &gt; reason={})</div><div class="ttdoc">Process a newly built ledger, such as store it.</div><div class="ttdef"><b>Definition</b> <a href="LedgerDeltaAcquire_8cpp_source.html#l00209">LedgerDeltaAcquire.cpp:209</a></div></div>
<div class="ttc" id="aclassripple_1_1LedgerReplayTask_html"><div class="ttname"><a href="classripple_1_1LedgerReplayTask.html">ripple::LedgerReplayTask</a></div><div class="ttdef"><b>Definition</b> <a href="LedgerReplayTask_8h_source.html#l00020">LedgerReplayTask.h:24</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html">ripple::TimeoutCounter</a></div><div class="ttdoc">This class is an &quot;active&quot; object.</div><div class="ttdef"><b>Definition</b> <a href="TimeoutCounter_8h_source.html#l00049">TimeoutCounter.h:50</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_acc58d4a18742a417a8b290df4b58072d"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ripple::TimeoutCounter::ScopedLockType</a></div><div class="ttdeci">std::unique_lock&lt; std::recursive_mutex &gt; ScopedLockType</div><div class="ttdef"><b>Definition</b> <a href="TimeoutCounter_8h_source.html#l00064">TimeoutCounter.h:64</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_1test_1_1LedgerReplayClient_html"><div class="ttname"><a href="classripple_1_1test_1_1LedgerReplayClient.html">ripple::test::LedgerReplayClient</a></div><div class="ttdoc">Ledger replay client side.</div><div class="ttdef"><b>Definition</b> <a href="LedgerReplay__test_8cpp_source.html#l00568">LedgerReplay_test.cpp:569</a></div></div>
<div class="ttc" id="aenable_shared_from_this_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a></div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></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="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/map.html">map</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#l00006">algorithm.h:6</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="aset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a></div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</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#l00014">LedgerHeader.h:15</a></div></div>
<div class="ttc" id="aunique_lock_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/unique_lock.html">std::unique_lock&lt; std::recursive_mutex &gt;</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>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
<div class="ttc" id="aweak_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>