mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
deploy: 8eb233c2ea
This commit is contained in:
@@ -107,124 +107,125 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/app/ledger/Ledger.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpld/app/ledger/detail/TimeoutCounter.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpld/app/main/Application.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpld/shamap/SHAMap.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="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">class </span>InboundLedgers;</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">class </span>PeerSet;</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span>test {</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">class </span>LedgerReplayClient;</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>} <span class="comment">// namespace test</span></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="foldopen" id="foldopen00040" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html"> 40</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SkipListAcquire.html">SkipListAcquire</a> final</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</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><SkipListAcquire>,</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1CountedObject.html">CountedObject</a><SkipListAcquire></div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span>{</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916"> 51</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">OnSkipListDataCB</a> =</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/utility/functional/function.html">std::function</a><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>& hash)>;</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
|
||||
<div class="foldopen" id="foldopen00054" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html"> 54</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1SkipListAcquire_1_1SkipListData.html">SkipListData</a></div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> {</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45"> 56</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="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982"> 57</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<ripple::uint256></a> <span class="keyword">const</span> <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
<div class="foldopen" id="foldopen00059" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a"> 59</a></span> <a class="code hl_function" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a">SkipListData</a>(</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</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="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>,</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<ripple::uint256></a> <span class="keyword">const</span>& <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>)</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> : <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>(<a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>), <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>(<a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>)</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> {</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> }</div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpl/shamap/SHAMap.h></span></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">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">class </span>InboundLedgers;</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">class </span>PeerSet;</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span>test {</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">class </span>LedgerReplayClient;</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>} <span class="comment">// namespace test</span></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
||||
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html"> 41</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SkipListAcquire.html">SkipListAcquire</a> final</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</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><SkipListAcquire>,</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1CountedObject.html">CountedObject</a><SkipListAcquire></div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>{</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916"> 52</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">OnSkipListDataCB</a> =</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a><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>& hash)>;</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
||||
<div class="foldopen" id="foldopen00055" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html"> 55</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1SkipListAcquire_1_1SkipListData.html">SkipListData</a></div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> {</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45"> 57</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="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982"> 58</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<ripple::uint256></a> <span class="keyword">const</span> <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>;</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
||||
<div class="foldopen" id="foldopen00060" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a"> 60</a></span> <a class="code hl_function" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a">SkipListData</a>(</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</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="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>,</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<ripple::uint256></a> <span class="keyword">const</span>& <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>)</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> : <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>(<a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ledgerSeq</a>), <a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>(<a class="code hl_variable" href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">skipList</a>)</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> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> };</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> };</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <a class="code hl_class" href="classripple_1_1SkipListAcquire.html">SkipListAcquire</a>(</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>& app,</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>& inboundLedgers,</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& ledgerHash,</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<PeerSet></a> peerSet);</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_1SkipListAcquire.html#ae89c746b47c20ed0a36144ffa0cfbdae">~SkipListAcquire</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a07b11e154a7e3f29610fc23e62665488">init</a>(<span class="keywordtype">int</span> numPeers);</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a9ce62079d9f0b6ed450f5735f9e706a7">processData</a>(</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</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="l00098" name="l00098"></a><span class="lineno"> 98</span> boost::intrusive_ptr<SHAMapItem const> <span class="keyword">const</span>& item);</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</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_1SkipListAcquire.html#a1f67eddc5690cc860abb3857f62e4d0c">addDataCallback</a>(<a class="code hl_typedef" href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916">OnSkipListDataCB</a>&& cb);</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SkipListData const></a></div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a46b5d4d900aebf1a1f339573ceb2773a">getData</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a665179db2689dc0e8c253448f62165c6">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& peerSetLock) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<TimeoutCounter></a></div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a62004ef0f3574cf66760178e3960e9be">pmDowncast</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a81a1aecc007102c565ae95363abdfd7a">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_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a74a17b2059151e8452f68a1fefce5a31">retrieveSkipList</a>(</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& ledger,</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#aa0abcf2f392ef9c6d4f9b404a09f9375">onSkipListAcquired</a>(</div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a> <span class="keyword">const</span>& skipList,</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/types/integer.html">std::uint32_t</a> ledgerSeq,</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> </div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a6fe2371527f7122342f043691ff2cdff">notify</a>(<a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</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_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267"> 155</a></span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>& <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267">inboundLedgers_</a>;</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543"> 156</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSet></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543">peerSet_</a>;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf"> 157</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<OnSkipListDataCB></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf">dataReadyCallbacks_</a>;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65"> 158</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SkipListData const></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65">data_</a>;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f"> 159</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_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f">noFeaturePeerCount_</a> = 0;</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc"> 160</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc">fallBack_</a> = <span class="keyword">false</span>;</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"><a class="line" href="classripple_1_1SkipListAcquire.html#a4156475fb02014076bb365159cbd1810"> 162</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="l00163" name="l00163"></a><span class="lineno"> 163</span>};</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <a class="code hl_class" href="classripple_1_1SkipListAcquire.html">SkipListAcquire</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_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& ledgerHash,</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSet></a> peerSet);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#ae89c746b47c20ed0a36144ffa0cfbdae">~SkipListAcquire</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a07b11e154a7e3f29610fc23e62665488">init</a>(<span class="keywordtype">int</span> numPeers);</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</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_1SkipListAcquire.html#a9ce62079d9f0b6ed450f5735f9e706a7">processData</a>(</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</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="l00099" name="l00099"></a><span class="lineno"> 99</span> boost::intrusive_ptr<SHAMapItem const> <span class="keyword">const</span>& item);</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a1f67eddc5690cc860abb3857f62e4d0c">addDataCallback</a>(<a class="code hl_typedef" href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916">OnSkipListDataCB</a>&& cb);</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SkipListData const></a></div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a46b5d4d900aebf1a1f339573ceb2773a">getData</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a665179db2689dc0e8c253448f62165c6">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& peerSetLock) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<TimeoutCounter></a></div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a62004ef0f3574cf66760178e3960e9be">pmDowncast</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a81a1aecc007102c565ae95363abdfd7a">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_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a74a17b2059151e8452f68a1fefce5a31">retrieveSkipList</a>(</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& ledger,</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#aa0abcf2f392ef9c6d4f9b404a09f9375">onSkipListAcquired</a>(</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/container/vector.html">std::vector<uint256></a> <span class="keyword">const</span>& skipList,</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</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="l00147" name="l00147"></a><span class="lineno"> 147</span> <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_function" href="classripple_1_1SkipListAcquire.html#a6fe2371527f7122342f043691ff2cdff">notify</a>(<a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& sl);</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267"> 156</a></span> <a class="code hl_class" href="classripple_1_1InboundLedgers.html">InboundLedgers</a>& <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267">inboundLedgers_</a>;</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543"> 157</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSet></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543">peerSet_</a>;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf"> 158</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<OnSkipListDataCB></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf">dataReadyCallbacks_</a>;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65"> 159</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SkipListData const></a> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65">data_</a>;</div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f"> 160</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_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f">noFeaturePeerCount_</a> = 0;</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc"> 161</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc">fallBack_</a> = <span class="keyword">false</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"><a class="line" href="classripple_1_1SkipListAcquire.html#a4156475fb02014076bb365159cbd1810"> 163</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="l00164" name="l00164"></a><span class="lineno"> 164</span>};</div>
|
||||
</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="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</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#l00113">Application.h:114</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#l00125">CountedObject.h:126</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_1SkipListAcquire_html"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html">ripple::SkipListAcquire</a></div><div class="ttdoc">Manage the retrieval of a skip list in a ledger from the network.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00040">SkipListAcquire.h:44</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html">ripple::SkipListAcquire</a></div><div class="ttdoc">Manage the retrieval of a skip list in a ledger from the network.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00041">SkipListAcquire.h:45</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a07b11e154a7e3f29610fc23e62665488"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a07b11e154a7e3f29610fc23e62665488">ripple::SkipListAcquire::init</a></div><div class="ttdeci">void init(int numPeers)</div><div class="ttdoc">Start the SkipListAcquire task.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00053">SkipListAcquire.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a1f67eddc5690cc860abb3857f62e4d0c"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a1f67eddc5690cc860abb3857f62e4d0c">ripple::SkipListAcquire::addDataCallback</a></div><div class="ttdeci">void addDataCallback(OnSkipListDataCB &&cb)</div><div class="ttdoc">Add a callback that will be called when the skipList is ready or failed.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00172">SkipListAcquire.cpp:172</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a3cc854033d5c399898997a16e222f916"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916">ripple::SkipListAcquire::OnSkipListDataCB</a></div><div class="ttdeci">std::function< void(bool successful, uint256 const &hash)> OnSkipListDataCB</div><div class="ttdoc">A callback used to notify that the SkipList is ready or failed.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00051">SkipListAcquire.h:52</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a438880c6a2d018cb59f6225eeeeca267"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267">ripple::SkipListAcquire::inboundLedgers_</a></div><div class="ttdeci">InboundLedgers & inboundLedgers_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00155">SkipListAcquire.h:155</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a3cc854033d5c399898997a16e222f916"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a3cc854033d5c399898997a16e222f916">ripple::SkipListAcquire::OnSkipListDataCB</a></div><div class="ttdeci">std::function< void(bool successful, uint256 const &hash)> OnSkipListDataCB</div><div class="ttdoc">A callback used to notify that the SkipList is ready or failed.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00052">SkipListAcquire.h:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a438880c6a2d018cb59f6225eeeeca267"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a438880c6a2d018cb59f6225eeeeca267">ripple::SkipListAcquire::inboundLedgers_</a></div><div class="ttdeci">InboundLedgers & inboundLedgers_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00156">SkipListAcquire.h:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a46b5d4d900aebf1a1f339573ceb2773a"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a46b5d4d900aebf1a1f339573ceb2773a">ripple::SkipListAcquire::getData</a></div><div class="ttdeci">std::shared_ptr< SkipListData const > getData() const</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00185">SkipListAcquire.cpp:185</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a62004ef0f3574cf66760178e3960e9be"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a62004ef0f3574cf66760178e3960e9be">ripple::SkipListAcquire::pmDowncast</a></div><div class="ttdeci">std::weak_ptr< TimeoutCounter > pmDowncast() override</div><div class="ttdoc">Return a weak pointer to this.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00131">SkipListAcquire.cpp:131</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a665179db2689dc0e8c253448f62165c6"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a665179db2689dc0e8c253448f62165c6">ripple::SkipListAcquire::onTimer</a></div><div class="ttdeci">void onTimer(bool progress, ScopedLockType &peerSetLock) override</div><div class="ttdoc">Hook called from invokeOnTimer().</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00115">SkipListAcquire.cpp:115</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a6fe2371527f7122342f043691ff2cdff"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a6fe2371527f7122342f043691ff2cdff">ripple::SkipListAcquire::notify</a></div><div class="ttdeci">void notify(ScopedLockType &sl)</div><div class="ttdoc">Call the OnSkipListDataCB callbacks.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00226">SkipListAcquire.cpp:226</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a74a17b2059151e8452f68a1fefce5a31"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a74a17b2059151e8452f68a1fefce5a31">ripple::SkipListAcquire::retrieveSkipList</a></div><div class="ttdeci">void retrieveSkipList(std::shared_ptr< Ledger const > const &ledger, ScopedLockType &sl)</div><div class="ttdoc">Retrieve the skip list from the ledger.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00192">SkipListAcquire.cpp:192</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a7f632638f92111a092deb4d1cca0eccc"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc">ripple::SkipListAcquire::fallBack_</a></div><div class="ttdeci">bool fallBack_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00160">SkipListAcquire.h:160</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a7f632638f92111a092deb4d1cca0eccc"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a7f632638f92111a092deb4d1cca0eccc">ripple::SkipListAcquire::fallBack_</a></div><div class="ttdeci">bool fallBack_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00161">SkipListAcquire.h:161</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a81a1aecc007102c565ae95363abdfd7a"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a81a1aecc007102c565ae95363abdfd7a">ripple::SkipListAcquire::trigger</a></div><div class="ttdeci">void trigger(std::size_t limit, ScopedLockType &sl)</div><div class="ttdoc">Trigger another round.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00064">SkipListAcquire.cpp:64</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a852f3487183f6836ef5e1f667dd68d65"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65">ripple::SkipListAcquire::data_</a></div><div class="ttdeci">std::shared_ptr< SkipListData const > data_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00158">SkipListAcquire.h:158</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a852f3487183f6836ef5e1f667dd68d65"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a852f3487183f6836ef5e1f667dd68d65">ripple::SkipListAcquire::data_</a></div><div class="ttdeci">std::shared_ptr< SkipListData const > data_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00159">SkipListAcquire.h:159</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_a9ce62079d9f0b6ed450f5735f9e706a7"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#a9ce62079d9f0b6ed450f5735f9e706a7">ripple::SkipListAcquire::processData</a></div><div class="ttdeci">void processData(std::uint32_t ledgerSeq, boost::intrusive_ptr< SHAMapItem const > const &item)</div><div class="ttdoc">Process the data extracted from a peer's reply.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00137">SkipListAcquire.cpp:137</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_aa0abcf2f392ef9c6d4f9b404a09f9375"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#aa0abcf2f392ef9c6d4f9b404a09f9375">ripple::SkipListAcquire::onSkipListAcquired</a></div><div class="ttdeci">void onSkipListAcquired(std::vector< uint256 > const &skipList, std::uint32_t ledgerSeq, ScopedLockType &sl)</div><div class="ttdoc">Process the skip list.</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00214">SkipListAcquire.cpp:214</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_abcbd0aca7554bb3220e6cda24735bbcf"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf">ripple::SkipListAcquire::dataReadyCallbacks_</a></div><div class="ttdeci">std::vector< OnSkipListDataCB > dataReadyCallbacks_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00157">SkipListAcquire.h:157</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_ac3674f8f47cc8dc71e6fd7d08ebd5543"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543">ripple::SkipListAcquire::peerSet_</a></div><div class="ttdeci">std::unique_ptr< PeerSet > peerSet_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00156">SkipListAcquire.h:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_abcbd0aca7554bb3220e6cda24735bbcf"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#abcbd0aca7554bb3220e6cda24735bbcf">ripple::SkipListAcquire::dataReadyCallbacks_</a></div><div class="ttdeci">std::vector< OnSkipListDataCB > dataReadyCallbacks_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00158">SkipListAcquire.h:158</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_ac3674f8f47cc8dc71e6fd7d08ebd5543"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#ac3674f8f47cc8dc71e6fd7d08ebd5543">ripple::SkipListAcquire::peerSet_</a></div><div class="ttdeci">std::unique_ptr< PeerSet > peerSet_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00157">SkipListAcquire.h:157</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_ae89c746b47c20ed0a36144ffa0cfbdae"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#ae89c746b47c20ed0a36144ffa0cfbdae">ripple::SkipListAcquire::~SkipListAcquire</a></div><div class="ttdeci">~SkipListAcquire() override</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8cpp_source.html#l00047">SkipListAcquire.cpp:47</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_af229867c7a063f7d7a18f1b48419e87f"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f">ripple::SkipListAcquire::noFeaturePeerCount_</a></div><div class="ttdeci">std::uint32_t noFeaturePeerCount_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00159">SkipListAcquire.h:159</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SkipListAcquire_html_af229867c7a063f7d7a18f1b48419e87f"><div class="ttname"><a href="classripple_1_1SkipListAcquire.html#af229867c7a063f7d7a18f1b48419e87f">ripple::SkipListAcquire::noFeaturePeerCount_</a></div><div class="ttdeci">std::uint32_t noFeaturePeerCount_</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00160">SkipListAcquire.h:160</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 "active" object.</div><div class="ttdef"><b>Definition</b> <a href="TimeoutCounter_8h_source.html#l00068">TimeoutCounter.h:69</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< std::recursive_mutex > ScopedLockType</div><div class="ttdef"><b>Definition</b> <a href="TimeoutCounter_8h_source.html#l00083">TimeoutCounter.h:83</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>
|
||||
@@ -235,10 +236,10 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
|
||||
<div class="ttc" id="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_1SkipListAcquire_1_1SkipListData_html"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html">ripple::SkipListAcquire::SkipListData</a></div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00054">SkipListAcquire.h:55</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_a1c35ad1fff8b5989a43c5116921a011a"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a">ripple::SkipListAcquire::SkipListData::SkipListData</a></div><div class="ttdeci">SkipListData(std::uint32_t const ledgerSeq, std::vector< ripple::uint256 > const &skipList)</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00059">SkipListAcquire.h:59</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_a207020c52d8c2d4f61a3309588121b45"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ripple::SkipListAcquire::SkipListData::ledgerSeq</a></div><div class="ttdeci">std::uint32_t const ledgerSeq</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00056">SkipListAcquire.h:56</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_ada9a6b3fb917eca46bb095be7a108982"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">ripple::SkipListAcquire::SkipListData::skipList</a></div><div class="ttdeci">std::vector< ripple::uint256 > const skipList</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00057">SkipListAcquire.h:57</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html">ripple::SkipListAcquire::SkipListData</a></div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00055">SkipListAcquire.h:56</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_a1c35ad1fff8b5989a43c5116921a011a"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a1c35ad1fff8b5989a43c5116921a011a">ripple::SkipListAcquire::SkipListData::SkipListData</a></div><div class="ttdeci">SkipListData(std::uint32_t const ledgerSeq, std::vector< ripple::uint256 > const &skipList)</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00060">SkipListAcquire.h:60</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_a207020c52d8c2d4f61a3309588121b45"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#a207020c52d8c2d4f61a3309588121b45">ripple::SkipListAcquire::SkipListData::ledgerSeq</a></div><div class="ttdeci">std::uint32_t const ledgerSeq</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00057">SkipListAcquire.h:57</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1SkipListAcquire_1_1SkipListData_html_ada9a6b3fb917eca46bb095be7a108982"><div class="ttname"><a href="structripple_1_1SkipListAcquire_1_1SkipListData.html#ada9a6b3fb917eca46bb095be7a108982">ripple::SkipListAcquire::SkipListData::skipList</a></div><div class="ttdeci">std::vector< ripple::uint256 > const skipList</div><div class="ttdef"><b>Definition</b> <a href="SkipListAcquire_8h_source.html#l00058">SkipListAcquire.h:58</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>
|
||||
|
||||
Reference in New Issue
Block a user