mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
274 lines
49 KiB
HTML
274 lines
49 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.5"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: LedgerReplayer.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.5 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&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&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">LedgerReplayer.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="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012, 2020 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_APP_LEDGER_LEDGERREPLAYER_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_APP_LEDGER_LEDGERREPLAYER_H_INCLUDED</span></div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/app/ledger/LedgerMaster.h></span></div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/app/ledger/LedgerReplayTask.h></span></div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpld/app/main/Application.h></span></div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/vector.html">vector</a>></span></div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">namespace </span>test {</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">class </span>LedgerReplayClient;</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>} <span class="comment">// namespace test</span></div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html"> 38</a></span><span class="keyword">namespace </span>LedgerReplayParameters {</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment">// timeout value for LedgerReplayTask</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#a910b7da9eb9991e6acfa45457dd5774b"> 40</a></span><span class="keyword">auto</span> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#a910b7da9eb9991e6acfa45457dd5774b">TASK_TIMEOUT</a> = <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>{500};</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment">// for LedgerReplayTask to calculate max allowed timeouts</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment">// = max( TASK_MAX_TIMEOUTS_MINIMUM,</span></div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="comment">// (# of ledger to replay) * TASK_MAX_TIMEOUTS_MULTIPLIER)</span></div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#aeae764cd54fa134bb99d8d559a8a3771"> 45</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#aeae764cd54fa134bb99d8d559a8a3771">TASK_MAX_TIMEOUTS_MULTIPLIER</a> = 2;</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#a1fedff047f05b861fc34ae3f6ff278c0"> 46</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#a1fedff047f05b861fc34ae3f6ff278c0">TASK_MAX_TIMEOUTS_MINIMUM</a> = 10;</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="comment">// timeout value for subtasks: LedgerDeltaAcquire and SkipListAcquire</span></div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#ae34b1b7ee3a76e84b2a58598d7320fff"> 49</a></span><span class="keyword">auto</span> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#ae34b1b7ee3a76e84b2a58598d7320fff">SUB_TASK_TIMEOUT</a> = <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>{250};</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="comment">// max of allowed subtask timeouts</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#a9511a099d5836fc2d03f5c1e101e1ad4"> 51</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#a9511a099d5836fc2d03f5c1e101e1ad4">SUB_TASK_MAX_TIMEOUTS</a> = 10;</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment">// max number of peers that do not support the ledger replay feature</span></div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">// returned by the PeerSet before switch to fallback</span></div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#ab219acc75d6bb9f6ca3c9bd7d11e2ffd"> 55</a></span><span class="keyword">auto</span> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#ab219acc75d6bb9f6ca3c9bd7d11e2ffd">MAX_NO_FEATURE_PEER_COUNT</a> = 2;</div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">// subtask timeout value after fallback</span></div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#a78535854de358beed368752d2f2a3d18"> 57</a></span><span class="keyword">auto</span> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#a78535854de358beed368752d2f2a3d18">SUB_TASK_FALLBACK_TIMEOUT</a> = <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>{1000};</div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment">// for LedgerReplayer to limit the number of LedgerReplayTask</span></div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#ae520c72e348e342aadab14dad52e18e6"> 60</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#ae520c72e348e342aadab14dad52e18e6">MAX_TASKS</a> = 10;</div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="comment">// for LedgerReplayer to limit the number of ledgers to replay in one task</span></div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#acb5f0aadc77678d28b48e37c5fe120e4"> 63</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#acb5f0aadc77678d28b48e37c5fe120e4">MAX_TASK_SIZE</a> = 256;</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><span class="comment">// to limit the number of LedgerReplay related jobs in JobQueue</span></div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple_1_1LedgerReplayParameters.html#a864c8285b6f532c5fd851a30c5edc65a"> 66</a></span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">constexpr</span> <a class="code hl_variable" href="namespaceripple_1_1LedgerReplayParameters.html#a864c8285b6f532c5fd851a30c5edc65a">MAX_QUEUED_TASKS</a> = 100;</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>} <span class="comment">// namespace LedgerReplayParameters</span></div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html"> 72</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1LedgerReplayer.html">LedgerReplayer</a> final</div>
|
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>{</div>
|
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <a class="code hl_class" href="classripple_1_1LedgerReplayer.html">LedgerReplayer</a>(</div>
|
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>& inboundLedgers,</div>
|
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSetBuilder></a> peerSetBuilder);</div>
|
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#ab627d07265d6b06c75788bfa6919b610">~LedgerReplayer</a>();</div>
|
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a889210425eeef3f27953527a5f21520a">replay</a>(</div>
|
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">InboundLedger::Reason</a> r,</div>
|
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& finishLedgerHash,</div>
|
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> totalNumLedgers);</div>
|
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</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_1LedgerReplayer.html#a117a8fd4c54900b486116583ff8466ca">createDeltas</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<LedgerReplayTask></a> task);</div>
|
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a759cf78a2dd1b613d9e1caccfe7be1e8">gotSkipList</a>(</div>
|
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> <span class="keyword">const</span>& info,</div>
|
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> boost::intrusive_ptr<SHAMapItem const> <span class="keyword">const</span>& data);</div>
|
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
|
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a0cc3cb9cb12aae2d556a49866659ddd9">gotReplayDelta</a>(</div>
|
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <a class="code hl_struct" href="structripple_1_1LedgerHeader.html">LedgerInfo</a> <span class="keyword">const</span>& info,</div>
|
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a><<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<STTx const></a>>&& txns);</div>
|
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
|
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a14d52623cda41f42570ca30239eae356">sweep</a>();</div>
|
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordtype">void</span></div>
|
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a5ddb27e3488d9a8546b7d897d25dc4f1">stop</a>();</div>
|
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a4ff1e42fafabcd9f5dae6f08b54965fb"> 129</a></span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a4ff1e42fafabcd9f5dae6f08b54965fb">tasksSize</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> lock(<a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>);</div>
|
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a1b3a65f4362211b322e949f6b5f2b9f1">tasks_</a>.size();</div>
|
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> }</div>
|
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a1440cd35748dc51ecc12b04fbd7d00f5"> 136</a></span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#a1440cd35748dc51ecc12b04fbd7d00f5">deltasSize</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> lock(<a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>);</div>
|
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">deltas_</a>.size();</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"> 141</span> </div>
|
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#acb124d9f2c4b5f693be561d800e1dfb6"> 143</a></span> <a class="code hl_function" href="classripple_1_1LedgerReplayer.html#acb124d9f2c4b5f693be561d800e1dfb6">skipListsSize</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> lock(<a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>);</div>
|
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">skipLists_</a>.size();</div>
|
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> }</div>
|
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="keyword">private</span>:</div>
|
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e"> 150</a></span> <span class="keyword">mutable</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">mtx_</a>;</div>
|
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a1b3a65f4362211b322e949f6b5f2b9f1"> 151</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::shared_ptr<LedgerReplayTask></a>> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a1b3a65f4362211b322e949f6b5f2b9f1">tasks_</a>;</div>
|
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f"> 152</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<uint256, std::weak_ptr<LedgerDeltaAcquire></a>> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#ad379e998b9ed9b7639191b52a04cee9f">deltas_</a>;</div>
|
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc"> 153</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<uint256, std::weak_ptr<SkipListAcquire></a>> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">skipLists_</a>;</div>
|
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
|
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a7942a1a23bb630dce2c7784fa2ac52c1"> 155</a></span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>& <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a7942a1a23bb630dce2c7784fa2ac52c1">app_</a>;</div>
|
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a98b23a6e5cbfb1820778a5c1132ac25b"> 156</a></span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>& <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a98b23a6e5cbfb1820778a5c1132ac25b">inboundLedgers_</a>;</div>
|
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a1cb3a180ec947e7c8c89cf41182c69b8"> 157</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSetBuilder></a> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a1cb3a180ec947e7c8c89cf41182c69b8">peerSetBuilder_</a>;</div>
|
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a387edc65f66abef7dca3c076fb271090"> 158</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="code hl_variable" href="classripple_1_1LedgerReplayer.html#a387edc65f66abef7dca3c076fb271090">j_</a>;</div>
|
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1LedgerReplayer.html#a4156475fb02014076bb365159cbd1810"> 160</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="l00161" name="l00161"></a><span class="lineno"> 161</span>};</div>
|
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span>} <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> </div>
|
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><span class="preprocessor">#endif</span></div>
|
|
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></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#l00113">Application.h:114</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#l00045">InboundLedger.h:45</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#l00033">InboundLedgers.h:34</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html">ripple::LedgerReplayer</a></div><div class="ttdoc">Manages the lifetime of ledger replay tasks.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00072">LedgerReplayer.h:73</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a0cc3cb9cb12aae2d556a49866659ddd9"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a0cc3cb9cb12aae2d556a49866659ddd9">ripple::LedgerReplayer::gotReplayDelta</a></div><div class="ttdeci">void gotReplayDelta(LedgerInfo const &info, std::map< std::uint32_t, std::shared_ptr< STTx const > > &&txns)</div><div class="ttdoc">Process a ledger delta (extracted from a TMReplayDeltaResponse message)</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00196">LedgerReplayer.cpp:196</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< LedgerReplayTask > 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_1LedgerReplayer_html_a1440cd35748dc51ecc12b04fbd7d00f5"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a1440cd35748dc51ecc12b04fbd7d00f5">ripple::LedgerReplayer::deltasSize</a></div><div class="ttdeci">std::size_t deltasSize() const</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00136">LedgerReplayer.h:136</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>
|
|
<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< std::shared_ptr< LedgerReplayTask > > tasks_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00151">LedgerReplayer.h:151</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< PeerSetBuilder > peerSetBuilder_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00157">LedgerReplayer.h:157</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a387edc65f66abef7dca3c076fb271090"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a387edc65f66abef7dca3c076fb271090">ripple::LedgerReplayer::j_</a></div><div class="ttdeci">beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00158">LedgerReplayer.h:158</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a4ff1e42fafabcd9f5dae6f08b54965fb"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a4ff1e42fafabcd9f5dae6f08b54965fb">ripple::LedgerReplayer::tasksSize</a></div><div class="ttdeci">std::size_t tasksSize() const</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00129">LedgerReplayer.h:129</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a5ddb27e3488d9a8546b7d897d25dc4f1"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a5ddb27e3488d9a8546b7d897d25dc4f1">ripple::LedgerReplayer::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00265">LedgerReplayer.cpp:265</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 &info, boost::intrusive_ptr< SHAMapItem const > const &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="aclassripple_1_1LedgerReplayer_html_a7942a1a23bb630dce2c7784fa2ac52c1"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a7942a1a23bb630dce2c7784fa2ac52c1">ripple::LedgerReplayer::app_</a></div><div class="ttdeci">Application & app_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00155">LedgerReplayer.h:155</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a8773a97fe87b7f61f2c90f1c89f982fc"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a8773a97fe87b7f61f2c90f1c89f982fc">ripple::LedgerReplayer::skipLists_</a></div><div class="ttdeci">hash_map< uint256, std::weak_ptr< SkipListAcquire > > skipLists_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00153">LedgerReplayer.h:153</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_a889210425eeef3f27953527a5f21520a"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#a889210425eeef3f27953527a5f21520a">ripple::LedgerReplayer::replay</a></div><div class="ttdeci">void replay(InboundLedger::Reason r, uint256 const &finishLedgerHash, std::uint32_t totalNumLedgers)</div><div class="ttdoc">Replay a range of ledgers.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00044">LedgerReplayer.cpp:44</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 & inboundLedgers_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00156">LedgerReplayer.h:156</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_ab627d07265d6b06c75788bfa6919b610"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#ab627d07265d6b06c75788bfa6919b610">ripple::LedgerReplayer::~LedgerReplayer</a></div><div class="ttdeci">~LedgerReplayer()</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8cpp_source.html#l00037">LedgerReplayer.cpp:37</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_ac0bcab237e804acef639e21822204a3e"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#ac0bcab237e804acef639e21822204a3e">ripple::LedgerReplayer::mtx_</a></div><div class="ttdeci">std::mutex mtx_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00150">LedgerReplayer.h:150</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1LedgerReplayer_html_acb124d9f2c4b5f693be561d800e1dfb6"><div class="ttname"><a href="classripple_1_1LedgerReplayer.html#acb124d9f2c4b5f693be561d800e1dfb6">ripple::LedgerReplayer::skipListsSize</a></div><div class="ttdeci">std::size_t skipListsSize() const</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00143">LedgerReplayer.h:143</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< uint256, std::weak_ptr< LedgerDeltaAcquire > > deltas_</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00152">LedgerReplayer.h:152</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< 256 ></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#l00580">LedgerReplay_test.cpp:581</a></div></div>
|
|
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</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="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></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>
|
|
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a1fedff047f05b861fc34ae3f6ff278c0"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a1fedff047f05b861fc34ae3f6ff278c0">ripple::LedgerReplayParameters::TASK_MAX_TIMEOUTS_MINIMUM</a></div><div class="ttdeci">std::uint32_t constexpr TASK_MAX_TIMEOUTS_MINIMUM</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00046">LedgerReplayer.h:46</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a78535854de358beed368752d2f2a3d18"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a78535854de358beed368752d2f2a3d18">ripple::LedgerReplayParameters::SUB_TASK_FALLBACK_TIMEOUT</a></div><div class="ttdeci">auto constexpr SUB_TASK_FALLBACK_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00057">LedgerReplayer.h:57</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a864c8285b6f532c5fd851a30c5edc65a"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a864c8285b6f532c5fd851a30c5edc65a">ripple::LedgerReplayParameters::MAX_QUEUED_TASKS</a></div><div class="ttdeci">std::uint32_t constexpr MAX_QUEUED_TASKS</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00066">LedgerReplayer.h:66</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a910b7da9eb9991e6acfa45457dd5774b"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a910b7da9eb9991e6acfa45457dd5774b">ripple::LedgerReplayParameters::TASK_TIMEOUT</a></div><div class="ttdeci">auto constexpr TASK_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00040">LedgerReplayer.h:40</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_a9511a099d5836fc2d03f5c1e101e1ad4"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#a9511a099d5836fc2d03f5c1e101e1ad4">ripple::LedgerReplayParameters::SUB_TASK_MAX_TIMEOUTS</a></div><div class="ttdeci">std::uint32_t constexpr SUB_TASK_MAX_TIMEOUTS</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00051">LedgerReplayer.h:51</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_ab219acc75d6bb9f6ca3c9bd7d11e2ffd"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#ab219acc75d6bb9f6ca3c9bd7d11e2ffd">ripple::LedgerReplayParameters::MAX_NO_FEATURE_PEER_COUNT</a></div><div class="ttdeci">auto constexpr MAX_NO_FEATURE_PEER_COUNT</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00055">LedgerReplayer.h:55</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_acb5f0aadc77678d28b48e37c5fe120e4"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#acb5f0aadc77678d28b48e37c5fe120e4">ripple::LedgerReplayParameters::MAX_TASK_SIZE</a></div><div class="ttdeci">std::uint32_t constexpr 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="anamespaceripple_1_1LedgerReplayParameters_html_ae34b1b7ee3a76e84b2a58598d7320fff"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#ae34b1b7ee3a76e84b2a58598d7320fff">ripple::LedgerReplayParameters::SUB_TASK_TIMEOUT</a></div><div class="ttdeci">auto constexpr SUB_TASK_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00049">LedgerReplayer.h:49</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_1_1LedgerReplayParameters_html_ae520c72e348e342aadab14dad52e18e6"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#ae520c72e348e342aadab14dad52e18e6">ripple::LedgerReplayParameters::MAX_TASKS</a></div><div class="ttdeci">std::uint32_t constexpr 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="anamespaceripple_1_1LedgerReplayParameters_html_aeae764cd54fa134bb99d8d559a8a3771"><div class="ttname"><a href="namespaceripple_1_1LedgerReplayParameters.html#aeae764cd54fa134bb99d8d559a8a3771">ripple::LedgerReplayParameters::TASK_MAX_TIMEOUTS_MULTIPLIER</a></div><div class="ttdeci">std::uint32_t constexpr TASK_MAX_TIMEOUTS_MULTIPLIER</div><div class="ttdef"><b>Definition:</b> <a href="LedgerReplayer_8h_source.html#l00045">LedgerReplayer.h:45</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="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#l00033">LedgerHeader.h:34</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="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a></div></div>
|
|
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/vector.html">vector</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
|
</small></address>
|
|
</body>
|
|
</html>
|