This commit is contained in:
bthomee
2025-03-11 18:21:06 +00:00
parent 95e4a9d650
commit 4ba075f689
2527 changed files with 275798 additions and 275583 deletions

View File

@@ -103,247 +103,248 @@ $(function() {
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include &lt;xrpld/app/main/Application.h&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include &lt;xrpld/overlay/PeerSet.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include &lt;xrpl/basics/CountedObject.h&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/set.html">set</a>&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>&gt;</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="comment">// A ledger we are trying to acquire</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html"> 35</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1InboundLedger.html">InboundLedger</a> final : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a>&lt;InboundLedger&gt;,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1CountedObject.html">CountedObject</a>&lt;InboundLedger&gt;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>{</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77"> 40</a></span> <span class="keyword">using </span><a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a> = <a class="code hl_class" href="classbeast_1_1abstract__clock.html">beast::abstract_clock&lt;std::chrono::steady_clock&gt;</a>;</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">// These are the reasons we might acquire a ledger</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7"> 43</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4">HISTORY</a>, <span class="comment">// Acquiring past ledger</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7ac942dc2a9f958acddc67e11472d3ca0b">GENERIC</a>, <span class="comment">// Generic other reasons</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a6ea28b46407abd2931a73c789ecdd944">CONSENSUS</a> <span class="comment">// We believe the consensus round requires this ledger</span></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> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_class" href="classripple_1_1InboundLedger.html">InboundLedger</a>(</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash,</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/types/integer.html">std::uint32_t</a> seq,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> reason,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_typedef" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">clock_type</a>&amp;,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> peerSet);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">~InboundLedger</a>();</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">// Called when another attempt is made to fetch this same ledger</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af35ec9e2ff1776eba1202e3786b4e421">update</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814"> 65</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814">isComplete</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1TimeoutCounter.html#a7136bc55557a72b6fe16984b9afd0ace">complete_</a>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> }</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661"> 72</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661">isFailed</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1TimeoutCounter.html#ae8d27d1e5f6f3d5a6cb59545b2ee7433">failed_</a>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> }</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441"> 78</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441">getLedger</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> }</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636"> 84</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636">getSeq</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> }</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">checkLocal</a>();</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">init</a>(<a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>&amp; collectionLock);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">gotData</a>(</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr&lt;Peer&gt;</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/memory/shared_ptr.html">std::shared_ptr&lt;protocol::TMLedgerData&gt;</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9"> 99</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">neededHash_t</a> =</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;protocol::TMGetObjectByHash::ObjectType, uint256&gt;</a>;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">getJson</a>(<span class="keywordtype">int</span>);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</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_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">runData</a>();</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> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3"> 110</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">touch</a>()</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> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a> = <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>.<a class="code hl_function" href="classbeast_1_1abstract__clock.html#ac9a577663353bfea66a096f12cb85293">now</a>();</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</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_typedef" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231"> 116</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231">getLastAction</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c"> 122</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> { <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">added</a>, <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773">reply</a>, <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc">timeout</a> };</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</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_1InboundLedger.html#aca05302cd89a91a888b0ec963f9824cd">filterNodes</a>(</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;SHAMapNodeID, uint256&gt;</a>&gt;&amp; nodes,</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> reason);</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">trigger</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Peer&gt;</a> <span class="keyword">const</span>&amp;, <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a>);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;neededHash_t&gt;</a></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">getNeededHashes</a>();</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> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">addPeers</a>();</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ab32aa3e9b48fe810668c4d09fde2d369">tryDB</a>(<a class="code hl_class" href="classripple_1_1NodeStore_1_1Database.html">NodeStore::Database</a>&amp; srcDB);</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> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">done</a>();</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>&amp; peerSetLock) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <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="l00148" name="l00148"></a><span class="lineno"> 148</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a16e175c43a207a208b6dcd8bf1e0f2c0">getPeerCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr&lt;TimeoutCounter&gt;</a></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">pmDowncast</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keywordtype">int</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">processData</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Peer&gt;</a> peer, protocol::TMLedgerData&amp; data);</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"> 156</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a4e0aeebcfdf9b62947ba9b7388749257">takeHeader</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; data);</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a427de2950231fea5dbc847c67fdcb64a">receiveNode</a>(protocol::TMLedgerData&amp; packet, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</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> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ae0732eada133ab96152376c95a30fefa">takeTxRootNode</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>&amp; data, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</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="keywordtype">bool</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">takeAsRootNode</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>&amp; data, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</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> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256&gt;</a></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">neededTxHashes</a>(<span class="keywordtype">int</span> max, <a class="code hl_class" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256&gt;</a></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">neededStateHashes</a>(<span class="keywordtype">int</span> max, <a class="code hl_class" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa"> 174</a></span> <a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a>&amp; <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2"> 175</a></span> <a class="code hl_typedef" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da"> 177</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030"> 178</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">mHaveHeader</a>;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5"> 179</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">mHaveState</a>;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57"> 180</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">mHaveTransactions</a>;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b"> 181</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">mSignaled</a>;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be"> 182</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">mByHash</a>;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85"> 183</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_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db"> 184</a></span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db">mReason</a>;</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6"> 186</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set&lt;uint256&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6">mRecentNodes</a>;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569"> 188</a></span> <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569">mStats</a>;</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <span class="comment">// Data we have received from peers</span></div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a"> 191</a></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_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a">mReceivedDataLock</a>;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;std::weak_ptr&lt;Peer&gt;</a>, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;protocol::TMLedgerData&gt;</a>&gt;&gt;</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3"> 194</a></span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">mReceivedData</a>;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b"> 195</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">mReceiveDispatched</a>;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c"> 196</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c">mPeerSet</a>;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span>};</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="preprocessor">#endif</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 &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>&gt;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/set.html">set</a>&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="comment">// A ledger we are trying to acquire</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html"> 36</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1InboundLedger.html">InboundLedger</a> final : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a>&lt;InboundLedger&gt;,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1CountedObject.html">CountedObject</a>&lt;InboundLedger&gt;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>{</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77"> 41</a></span> <span class="keyword">using </span><a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a> = <a class="code hl_class" href="classbeast_1_1abstract__clock.html">beast::abstract_clock&lt;std::chrono::steady_clock&gt;</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// These are the reasons we might acquire a ledger</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7"> 44</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4">HISTORY</a>, <span class="comment">// Acquiring past ledger</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7ac942dc2a9f958acddc67e11472d3ca0b">GENERIC</a>, <span class="comment">// Generic other reasons</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a6ea28b46407abd2931a73c789ecdd944">CONSENSUS</a> <span class="comment">// We believe the consensus round requires this ledger</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> };</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_class" href="classripple_1_1InboundLedger.html">InboundLedger</a>(</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash,</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/types/integer.html">std::uint32_t</a> seq,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> reason,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_typedef" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">clock_type</a>&amp;,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> peerSet);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">~InboundLedger</a>();</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// Called when another attempt is made to fetch this same ledger</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af35ec9e2ff1776eba1202e3786b4e421">update</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814"> 66</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814">isComplete</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1TimeoutCounter.html#a7136bc55557a72b6fe16984b9afd0ace">complete_</a>;</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> }</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661"> 73</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661">isFailed</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1TimeoutCounter.html#ae8d27d1e5f6f3d5a6cb59545b2ee7433">failed_</a>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> }</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </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/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441"> 79</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441">getLedger</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> }</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636"> 85</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636">getSeq</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">checkLocal</a>();</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">init</a>(<a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>&amp; collectionLock);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">gotData</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/memory/weak_ptr.html">std::weak_ptr&lt;Peer&gt;</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/memory/shared_ptr.html">std::shared_ptr&lt;protocol::TMLedgerData&gt;</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9"> 100</a></span> <span class="keyword">using </span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">neededHash_t</a> =</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;protocol::TMGetObjectByHash::ObjectType, uint256&gt;</a>;</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">getJson</a>(<span class="keywordtype">int</span>);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">runData</a>();</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3"> 111</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">touch</a>()</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> {</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a> = <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>.<a class="code hl_function" href="classbeast_1_1abstract__clock.html#ac9a577663353bfea66a096f12cb85293">now</a>();</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> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> <a class="code hl_typedef" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231"> 117</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231">getLastAction</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> }</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c"> 123</a></span> <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> { <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">added</a>, <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773">reply</a>, <a class="code hl_enumvalue" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc">timeout</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_1InboundLedger.html#aca05302cd89a91a888b0ec963f9824cd">filterNodes</a>(</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;SHAMapNodeID, uint256&gt;</a>&gt;&amp; nodes,</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> reason);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">trigger</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Peer&gt;</a> <span class="keyword">const</span>&amp;, <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a>);</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </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/container/vector.html">std::vector&lt;neededHash_t&gt;</a></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">getNeededHashes</a>();</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">addPeers</a>();</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ab32aa3e9b48fe810668c4d09fde2d369">tryDB</a>(<a class="code hl_class" href="classripple_1_1NodeStore_1_1Database.html">NodeStore::Database</a>&amp; srcDB);</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> <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_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">done</a>();</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code hl_typedef" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>&amp; peerSetLock) <span class="keyword">override</span>;</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> <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="l00149" name="l00149"></a><span class="lineno"> 149</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a16e175c43a207a208b6dcd8bf1e0f2c0">getPeerCount</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr&lt;TimeoutCounter&gt;</a></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">pmDowncast</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <span class="keywordtype">int</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">processData</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Peer&gt;</a> peer, protocol::TMLedgerData&amp; data);</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a4e0aeebcfdf9b62947ba9b7388749257">takeHeader</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; data);</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"> 160</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a427de2950231fea5dbc847c67fdcb64a">receiveNode</a>(protocol::TMLedgerData&amp; packet, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</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="keywordtype">bool</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ae0732eada133ab96152376c95a30fefa">takeTxRootNode</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>&amp; data, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</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="keywordtype">bool</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">takeAsRootNode</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>&amp; data, <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&amp;);</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256&gt;</a></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">neededTxHashes</a>(<span class="keywordtype">int</span> max, <a class="code hl_class" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256&gt;</a></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">neededStateHashes</a>(<span class="keywordtype">int</span> max, <a class="code hl_class" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> </div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa"> 175</a></span> <a class="code hl_class" href="classbeast_1_1abstract__clock.html">clock_type</a>&amp; <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>;</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2"> 176</a></span> <a class="code hl_typedef" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da"> 178</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030"> 179</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">mHaveHeader</a>;</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5"> 180</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">mHaveState</a>;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57"> 181</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">mHaveTransactions</a>;</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b"> 182</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">mSignaled</a>;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be"> 183</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">mByHash</a>;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85"> 184</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_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db"> 185</a></span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db">mReason</a>;</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6"> 187</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set&lt;uint256&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6">mRecentNodes</a>;</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569"> 189</a></span> <a class="code hl_class" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569">mStats</a>;</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="comment">// Data we have received from peers</span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a"> 192</a></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_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a">mReceivedDataLock</a>;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;std::weak_ptr&lt;Peer&gt;</a>, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;protocol::TMLedgerData&gt;</a>&gt;&gt;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3"> 195</a></span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">mReceivedData</a>;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b"> 196</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">mReceiveDispatched</a>;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c"> 197</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;PeerSet&gt;</a> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c">mPeerSet</a>;</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span>};</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00146">json_value.h:147</a></div></div>
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00147">json_value.h:148</a></div></div>
<div class="ttc" id="aclassbeast_1_1abstract__clock_html"><div class="ttname"><a href="classbeast_1_1abstract__clock.html">beast::abstract_clock&lt; std::chrono::steady_clock &gt;</a></div></div>
<div class="ttc" id="aclassbeast_1_1abstract__clock_html_a4e16832b0bdf9392c5138bbbde024d8e"><div class="ttname"><a href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">beast::abstract_clock&lt; std::chrono::steady_clock &gt;::time_point</a></div><div class="ttdeci">typename Clock::time_point time_point</div><div class="ttdef"><b>Definition:</b> <a href="abstract__clock_8h_source.html#l00063">abstract_clock.h:63</a></div></div>
<div class="ttc" id="aclassbeast_1_1abstract__clock_html_ac9a577663353bfea66a096f12cb85293"><div class="ttname"><a href="classbeast_1_1abstract__clock.html#ac9a577663353bfea66a096f12cb85293">beast::abstract_clock::now</a></div><div class="ttdeci">virtual time_point now() const =0</div><div class="ttdoc">Returns the current time.</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#l00110">Application.h:111</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#l00124">CountedObject.h:125</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html"><div class="ttname"><a href="classripple_1_1InboundLedger.html">ripple::InboundLedger</a></div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00035">InboundLedger.h:38</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a069c3ef1adae2c6d17c67e71071ca962"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">ripple::InboundLedger::getJson</a></div><div class="ttdeci">Json::Value getJson(int)</div><div class="ttdoc">Return a Json::objectValue.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01300">InboundLedger.cpp:1300</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a0fcb919dd1a3c7f0e37525aee124ee7d"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">ripple::InboundLedger::runData</a></div><div class="ttdeci">void runData()</div><div class="ttdoc">Process pending TMLedgerData Query the a random sample of the 'best' peers.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01253">InboundLedger.cpp:1253</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a16e175c43a207a208b6dcd8bf1e0f2c0"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a16e175c43a207a208b6dcd8bf1e0f2c0">ripple::InboundLedger::getPeerCount</a></div><div class="ttdeci">std::size_t getPeerCount() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00140">InboundLedger.cpp:140</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a20ff87d55f0ce1bec9f613749631f743"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">ripple::InboundLedger::trigger</a></div><div class="ttdeci">void trigger(std::shared_ptr&lt; Peer &gt; const &amp;, TriggerReason)</div><div class="ttdoc">Request more nodes, perhaps from a specific peer.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00491">InboundLedger.cpp:491</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a291eb601240f81e131f7a232f3eeeb71"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">ripple::InboundLedger::init</a></div><div class="ttdeci">void init(ScopedLockType &amp;collectionLock)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00105">InboundLedger.cpp:105</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a2a13ec6bfca73fd260589fb12c2f7dd2"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">ripple::InboundLedger::mLastAction</a></div><div class="ttdeci">clock_type::time_point mLastAction</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00175">InboundLedger.h:175</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e4b6760e9cce86ce6b95148f38b78be"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">ripple::InboundLedger::mByHash</a></div><div class="ttdeci">bool mByHash</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00182">InboundLedger.h:182</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">ripple::InboundLedger::Reason</a></div><div class="ttdeci">Reason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00043">InboundLedger.h:43</a></div></div>
<div class="ttc" id="aclassripple_1_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_1InboundLedger_html"><div class="ttname"><a href="classripple_1_1InboundLedger.html">ripple::InboundLedger</a></div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00036">InboundLedger.h:39</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a069c3ef1adae2c6d17c67e71071ca962"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">ripple::InboundLedger::getJson</a></div><div class="ttdeci">Json::Value getJson(int)</div><div class="ttdoc">Return a Json::objectValue.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01299">InboundLedger.cpp:1299</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a0fcb919dd1a3c7f0e37525aee124ee7d"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">ripple::InboundLedger::runData</a></div><div class="ttdeci">void runData()</div><div class="ttdoc">Process pending TMLedgerData Query the a random sample of the 'best' peers.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01252">InboundLedger.cpp:1252</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a16e175c43a207a208b6dcd8bf1e0f2c0"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a16e175c43a207a208b6dcd8bf1e0f2c0">ripple::InboundLedger::getPeerCount</a></div><div class="ttdeci">std::size_t getPeerCount() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00139">InboundLedger.cpp:139</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a20ff87d55f0ce1bec9f613749631f743"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">ripple::InboundLedger::trigger</a></div><div class="ttdeci">void trigger(std::shared_ptr&lt; Peer &gt; const &amp;, TriggerReason)</div><div class="ttdoc">Request more nodes, perhaps from a specific peer.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00490">InboundLedger.cpp:490</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a291eb601240f81e131f7a232f3eeeb71"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">ripple::InboundLedger::init</a></div><div class="ttdeci">void init(ScopedLockType &amp;collectionLock)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00104">InboundLedger.cpp:104</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a2a13ec6bfca73fd260589fb12c2f7dd2"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">ripple::InboundLedger::mLastAction</a></div><div class="ttdeci">clock_type::time_point mLastAction</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00176">InboundLedger.h:176</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e4b6760e9cce86ce6b95148f38b78be"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">ripple::InboundLedger::mByHash</a></div><div class="ttdeci">bool mByHash</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00183">InboundLedger.h:183</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#l00044">InboundLedger.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4">ripple::InboundLedger::Reason::HISTORY</a></div><div class="ttdeci">@ HISTORY</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7a6ea28b46407abd2931a73c789ecdd944"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a6ea28b46407abd2931a73c789ecdd944">ripple::InboundLedger::Reason::CONSENSUS</a></div><div class="ttdeci">@ CONSENSUS</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7ac942dc2a9f958acddc67e11472d3ca0b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7ac942dc2a9f958acddc67e11472d3ca0b">ripple::InboundLedger::Reason::GENERIC</a></div><div class="ttdeci">@ GENERIC</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a41d0600d8e996763c915ef7f3b48dbf6"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6">ripple::InboundLedger::mRecentNodes</a></div><div class="ttdeci">std::set&lt; uint256 &gt; mRecentNodes</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00186">InboundLedger.h:186</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a427de2950231fea5dbc847c67fdcb64a"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a427de2950231fea5dbc847c67fdcb64a">ripple::InboundLedger::receiveNode</a></div><div class="ttdeci">void receiveNode(protocol::TMLedgerData &amp;packet, SHAMapAddNode &amp;)</div><div class="ttdoc">Process node data received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00864">InboundLedger.cpp:864</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4855f9c04470b69be6097022c6bdde5b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">ripple::InboundLedger::mReceiveDispatched</a></div><div class="ttdeci">bool mReceiveDispatched</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00195">InboundLedger.h:195</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a48da57e1b1e803fcfa2179041b785814"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814">ripple::InboundLedger::isComplete</a></div><div class="ttdeci">bool isComplete() const</div><div class="ttdoc">Returns true if we got all the data.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00065">InboundLedger.h:65</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4a694446650bc8ed8271618b5c5ce030"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">ripple::InboundLedger::mHaveHeader</a></div><div class="ttdeci">bool mHaveHeader</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00178">InboundLedger.h:178</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4e0aeebcfdf9b62947ba9b7388749257"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4e0aeebcfdf9b62947ba9b7388749257">ripple::InboundLedger::takeHeader</a></div><div class="ttdeci">bool takeHeader(std::string const &amp;data)</div><div class="ttdoc">Take ledger header data Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00817">InboundLedger.cpp:817</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a5108a46d0fc5c949956d9616d14a5f57"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">ripple::InboundLedger::addPeers</a></div><div class="ttdeci">void addPeers()</div><div class="ttdoc">Add more peers to the set, if possible.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00417">InboundLedger.cpp:417</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a5ca98f6cc26efd7953d522c714ba0441"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441">ripple::InboundLedger::getLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger const &gt; getLedger() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00078">InboundLedger.h:78</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a61ad111ca63d997473cb3e50f49de9eb"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">ripple::InboundLedger::done</a></div><div class="ttdeci">void done()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00437">InboundLedger.cpp:437</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a679a7b5d794f6aca531f421da54c1eb5"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">ripple::InboundLedger::processData</a></div><div class="ttdeci">int processData(std::shared_ptr&lt; Peer &gt; peer, protocol::TMLedgerData &amp;data)</div><div class="ttdoc">Process one TMLedgerData Returns the number of useful nodes.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01068">InboundLedger.cpp:1068</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6dbf6ff57c3af943706fc5d4ccac2d77"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">ripple::InboundLedger::clock_type</a></div><div class="ttdeci">beast::abstract_clock&lt; std::chrono::steady_clock &gt; clock_type</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00040">InboundLedger.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e5e040f5f6f3c159b3bf6fe46e58636"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636">ripple::InboundLedger::getSeq</a></div><div class="ttdeci">std::uint32_t getSeq() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00084">InboundLedger.h:84</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e9a443c8f271522e38916b0f673f07c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">ripple::InboundLedger::TriggerReason</a></div><div class="ttdeci">TriggerReason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00122">InboundLedger.h:122</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a41d0600d8e996763c915ef7f3b48dbf6"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6">ripple::InboundLedger::mRecentNodes</a></div><div class="ttdeci">std::set&lt; uint256 &gt; mRecentNodes</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00187">InboundLedger.h:187</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a427de2950231fea5dbc847c67fdcb64a"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a427de2950231fea5dbc847c67fdcb64a">ripple::InboundLedger::receiveNode</a></div><div class="ttdeci">void receiveNode(protocol::TMLedgerData &amp;packet, SHAMapAddNode &amp;)</div><div class="ttdoc">Process node data received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00863">InboundLedger.cpp:863</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4855f9c04470b69be6097022c6bdde5b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">ripple::InboundLedger::mReceiveDispatched</a></div><div class="ttdeci">bool mReceiveDispatched</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00196">InboundLedger.h:196</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a48da57e1b1e803fcfa2179041b785814"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814">ripple::InboundLedger::isComplete</a></div><div class="ttdeci">bool isComplete() const</div><div class="ttdoc">Returns true if we got all the data.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00066">InboundLedger.h:66</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4a694446650bc8ed8271618b5c5ce030"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">ripple::InboundLedger::mHaveHeader</a></div><div class="ttdeci">bool mHaveHeader</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00179">InboundLedger.h:179</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4e0aeebcfdf9b62947ba9b7388749257"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4e0aeebcfdf9b62947ba9b7388749257">ripple::InboundLedger::takeHeader</a></div><div class="ttdeci">bool takeHeader(std::string const &amp;data)</div><div class="ttdoc">Take ledger header data Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00816">InboundLedger.cpp:816</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a5108a46d0fc5c949956d9616d14a5f57"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">ripple::InboundLedger::addPeers</a></div><div class="ttdeci">void addPeers()</div><div class="ttdoc">Add more peers to the set, if possible.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00416">InboundLedger.cpp:416</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a5ca98f6cc26efd7953d522c714ba0441"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441">ripple::InboundLedger::getLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger const &gt; getLedger() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00079">InboundLedger.h:79</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a61ad111ca63d997473cb3e50f49de9eb"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">ripple::InboundLedger::done</a></div><div class="ttdeci">void done()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00436">InboundLedger.cpp:436</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a679a7b5d794f6aca531f421da54c1eb5"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">ripple::InboundLedger::processData</a></div><div class="ttdeci">int processData(std::shared_ptr&lt; Peer &gt; peer, protocol::TMLedgerData &amp;data)</div><div class="ttdoc">Process one TMLedgerData Returns the number of useful nodes.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01067">InboundLedger.cpp:1067</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6dbf6ff57c3af943706fc5d4ccac2d77"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">ripple::InboundLedger::clock_type</a></div><div class="ttdeci">beast::abstract_clock&lt; std::chrono::steady_clock &gt; clock_type</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00041">InboundLedger.h:41</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e5e040f5f6f3c159b3bf6fe46e58636"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636">ripple::InboundLedger::getSeq</a></div><div class="ttdeci">std::uint32_t getSeq() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00085">InboundLedger.h:85</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e9a443c8f271522e38916b0f673f07c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">ripple::InboundLedger::TriggerReason</a></div><div class="ttdeci">TriggerReason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00123">InboundLedger.h:123</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc">ripple::InboundLedger::TriggerReason::timeout</a></div><div class="ttdeci">@ timeout</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">ripple::InboundLedger::TriggerReason::added</a></div><div class="ttdeci">@ added</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773">ripple::InboundLedger::TriggerReason::reply</a></div><div class="ttdeci">@ reply</div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a71ffa44fd29a244adb461a3ba64b7231"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231">ripple::InboundLedger::getLastAction</a></div><div class="ttdeci">clock_type::time_point getLastAction() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00116">InboundLedger.h:116</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a74a4f62b06d14e1599aae9e6a95407da"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">ripple::InboundLedger::mLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; mLedger</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00177">InboundLedger.h:177</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a7bad4c3cb859e10d01f4cbd99407ed57"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">ripple::InboundLedger::mHaveTransactions</a></div><div class="ttdeci">bool mHaveTransactions</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00180">InboundLedger.h:180</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a7c96da0b518e069159b422a1b63befc8"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">ripple::InboundLedger::neededTxHashes</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; neededTxHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00226">InboundLedger.cpp:226</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a9422546cb7f2500003d47e883566aff5"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">ripple::InboundLedger::mHaveState</a></div><div class="ttdeci">bool mHaveState</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00179">InboundLedger.h:179</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a9fda4b33aa77b5e2ff68d94577be5569"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569">ripple::InboundLedger::mStats</a></div><div class="ttdeci">SHAMapAddNode mStats</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00188">InboundLedger.h:188</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ab32aa3e9b48fe810668c4d09fde2d369"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ab32aa3e9b48fe810668c4d09fde2d369">ripple::InboundLedger::tryDB</a></div><div class="ttdeci">void tryDB(NodeStore::Database &amp;srcDB)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00241">InboundLedger.cpp:241</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_abb06c0dd36a6e78848ce2bb0ff9258e7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">ripple::InboundLedger::onTimer</a></div><div class="ttdeci">void onTimer(bool progress, ScopedLockType &amp;peerSetLock) override</div><div class="ttdoc">Called with a lock by the PeerSet when the timer expires.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00366">InboundLedger.cpp:366</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_abc70673dfc3d77f82742ede9978e4761"><div class="ttname"><a href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">ripple::InboundLedger::~InboundLedger</a></div><div class="ttdeci">~InboundLedger()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00180">InboundLedger.cpp:180</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ac3db6ca28927c4697ee227ddac810ca3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">ripple::InboundLedger::neededStateHashes</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; neededStateHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00232">InboundLedger.cpp:232</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ac76433579d38c33ad6fdbf5287118661"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661">ripple::InboundLedger::isFailed</a></div><div class="ttdeci">bool isFailed() const</div><div class="ttdoc">Returns false if we failed to get the data.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00072">InboundLedger.h:72</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aca05302cd89a91a888b0ec963f9824cd"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aca05302cd89a91a888b0ec963f9824cd">ripple::InboundLedger::filterNodes</a></div><div class="ttdeci">void filterNodes(std::vector&lt; std::pair&lt; SHAMapNodeID, uint256 &gt; &gt; &amp;nodes, TriggerReason reason)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00771">InboundLedger.cpp:771</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_acfbf0c63573f009a2c9f81cfa0bafa6e"><div class="ttname"><a href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">ripple::InboundLedger::takeAsRootNode</a></div><div class="ttdeci">bool takeAsRootNode(Slice const &amp;data, SHAMapAddNode &amp;)</div><div class="ttdoc">Process AS root node received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00954">InboundLedger.cpp:954</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ad40e902635b955a8f758d831dd973cfa"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">ripple::InboundLedger::m_clock</a></div><div class="ttdeci">clock_type &amp; m_clock</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00174">InboundLedger.h:174</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_adda7cad9a2e5a1d03d3c82061040c618"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">ripple::InboundLedger::pmDowncast</a></div><div class="ttdeci">std::weak_ptr&lt; TimeoutCounter &gt; pmDowncast() override</div><div class="ttdoc">Return a weak pointer to this.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00431">InboundLedger.cpp:431</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_adf5774b2251e6aece12ebf911fdd04b7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">ripple::InboundLedger::checkLocal</a></div><div class="ttdeci">bool checkLocal()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00162">InboundLedger.cpp:162</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae0732eada133ab96152376c95a30fefa"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae0732eada133ab96152376c95a30fefa">ripple::InboundLedger::takeTxRootNode</a></div><div class="ttdeci">bool takeTxRootNode(Slice const &amp;data, SHAMapAddNode &amp;)</div><div class="ttdoc">Process AS root node received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00979">InboundLedger.cpp:979</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae3f849209788ace9151194b99b6291f3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">ripple::InboundLedger::mReceivedData</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; std::weak_ptr&lt; Peer &gt;, std::shared_ptr&lt; protocol::TMLedgerData &gt; &gt; &gt; mReceivedData</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00194">InboundLedger.h:194</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aecb5f5b5669afaa53902ae651f892a85"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">ripple::InboundLedger::mSeq</a></div><div class="ttdeci">std::uint32_t mSeq</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00183">InboundLedger.h:183</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aee0269ce58c0a1b62f7c9d4ddbb8b891"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">ripple::InboundLedger::gotData</a></div><div class="ttdeci">bool gotData(std::weak_ptr&lt; Peer &gt;, std::shared_ptr&lt; protocol::TMLedgerData &gt; const &amp;)</div><div class="ttdoc">Stash a TMLedgerData received from a peer for later processing Returns 'true' if we need to dispatch.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01041">InboundLedger.cpp:1041</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aee7c9597ee54dbe471af1d7db763161b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">ripple::InboundLedger::mSignaled</a></div><div class="ttdeci">bool mSignaled</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00181">InboundLedger.h:181</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af0959ff442612d29333b34f1c644342b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">ripple::InboundLedger::getNeededHashes</a></div><div class="ttdeci">std::vector&lt; neededHash_t &gt; getNeededHashes()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01001">InboundLedger.cpp:1001</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af3270da7ce84b7f24d9e2146e6700a4a"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a">ripple::InboundLedger::mReceivedDataLock</a></div><div class="ttdeci">std::mutex mReceivedDataLock</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00191">InboundLedger.h:191</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af35ec9e2ff1776eba1202e3786b4e421"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af35ec9e2ff1776eba1202e3786b4e421">ripple::InboundLedger::update</a></div><div class="ttdeci">void update(std::uint32_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00149">InboundLedger.cpp:149</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af907877c2e81e4c01a47bf4b591d22f3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">ripple::InboundLedger::touch</a></div><div class="ttdeci">void touch()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00110">InboundLedger.h:110</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af9dd512e63b43a037d5bdde5779212db"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db">ripple::InboundLedger::mReason</a></div><div class="ttdeci">Reason const mReason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00184">InboundLedger.h:184</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_afe703ac9b6617361ed3f34dd85fd8b7c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c">ripple::InboundLedger::mPeerSet</a></div><div class="ttdeci">std::unique_ptr&lt; PeerSet &gt; mPeerSet</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00196">InboundLedger.h:196</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a71ffa44fd29a244adb461a3ba64b7231"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231">ripple::InboundLedger::getLastAction</a></div><div class="ttdeci">clock_type::time_point getLastAction() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00117">InboundLedger.h:117</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a74a4f62b06d14e1599aae9e6a95407da"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">ripple::InboundLedger::mLedger</a></div><div class="ttdeci">std::shared_ptr&lt; Ledger &gt; mLedger</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00178">InboundLedger.h:178</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a7bad4c3cb859e10d01f4cbd99407ed57"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">ripple::InboundLedger::mHaveTransactions</a></div><div class="ttdeci">bool mHaveTransactions</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00181">InboundLedger.h:181</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a7c96da0b518e069159b422a1b63befc8"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">ripple::InboundLedger::neededTxHashes</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; neededTxHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00225">InboundLedger.cpp:225</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a9422546cb7f2500003d47e883566aff5"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">ripple::InboundLedger::mHaveState</a></div><div class="ttdeci">bool mHaveState</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00180">InboundLedger.h:180</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a9fda4b33aa77b5e2ff68d94577be5569"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569">ripple::InboundLedger::mStats</a></div><div class="ttdeci">SHAMapAddNode mStats</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00189">InboundLedger.h:189</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ab32aa3e9b48fe810668c4d09fde2d369"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ab32aa3e9b48fe810668c4d09fde2d369">ripple::InboundLedger::tryDB</a></div><div class="ttdeci">void tryDB(NodeStore::Database &amp;srcDB)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00240">InboundLedger.cpp:240</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_abb06c0dd36a6e78848ce2bb0ff9258e7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">ripple::InboundLedger::onTimer</a></div><div class="ttdeci">void onTimer(bool progress, ScopedLockType &amp;peerSetLock) override</div><div class="ttdoc">Called with a lock by the PeerSet when the timer expires.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00365">InboundLedger.cpp:365</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_abc70673dfc3d77f82742ede9978e4761"><div class="ttname"><a href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">ripple::InboundLedger::~InboundLedger</a></div><div class="ttdeci">~InboundLedger()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00179">InboundLedger.cpp:179</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ac3db6ca28927c4697ee227ddac810ca3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">ripple::InboundLedger::neededStateHashes</a></div><div class="ttdeci">std::vector&lt; uint256 &gt; neededStateHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00231">InboundLedger.cpp:231</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ac76433579d38c33ad6fdbf5287118661"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661">ripple::InboundLedger::isFailed</a></div><div class="ttdeci">bool isFailed() const</div><div class="ttdoc">Returns false if we failed to get the data.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00073">InboundLedger.h:73</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aca05302cd89a91a888b0ec963f9824cd"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aca05302cd89a91a888b0ec963f9824cd">ripple::InboundLedger::filterNodes</a></div><div class="ttdeci">void filterNodes(std::vector&lt; std::pair&lt; SHAMapNodeID, uint256 &gt; &gt; &amp;nodes, TriggerReason reason)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00770">InboundLedger.cpp:770</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_acfbf0c63573f009a2c9f81cfa0bafa6e"><div class="ttname"><a href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">ripple::InboundLedger::takeAsRootNode</a></div><div class="ttdeci">bool takeAsRootNode(Slice const &amp;data, SHAMapAddNode &amp;)</div><div class="ttdoc">Process AS root node received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00953">InboundLedger.cpp:953</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ad40e902635b955a8f758d831dd973cfa"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">ripple::InboundLedger::m_clock</a></div><div class="ttdeci">clock_type &amp; m_clock</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00175">InboundLedger.h:175</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_adda7cad9a2e5a1d03d3c82061040c618"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">ripple::InboundLedger::pmDowncast</a></div><div class="ttdeci">std::weak_ptr&lt; TimeoutCounter &gt; pmDowncast() override</div><div class="ttdoc">Return a weak pointer to this.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00430">InboundLedger.cpp:430</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_adf5774b2251e6aece12ebf911fdd04b7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">ripple::InboundLedger::checkLocal</a></div><div class="ttdeci">bool checkLocal()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00161">InboundLedger.cpp:161</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae0732eada133ab96152376c95a30fefa"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae0732eada133ab96152376c95a30fefa">ripple::InboundLedger::takeTxRootNode</a></div><div class="ttdeci">bool takeTxRootNode(Slice const &amp;data, SHAMapAddNode &amp;)</div><div class="ttdoc">Process AS root node received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00978">InboundLedger.cpp:978</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae3f849209788ace9151194b99b6291f3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">ripple::InboundLedger::mReceivedData</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; std::weak_ptr&lt; Peer &gt;, std::shared_ptr&lt; protocol::TMLedgerData &gt; &gt; &gt; mReceivedData</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00195">InboundLedger.h:195</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aecb5f5b5669afaa53902ae651f892a85"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">ripple::InboundLedger::mSeq</a></div><div class="ttdeci">std::uint32_t mSeq</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00184">InboundLedger.h:184</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aee0269ce58c0a1b62f7c9d4ddbb8b891"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">ripple::InboundLedger::gotData</a></div><div class="ttdeci">bool gotData(std::weak_ptr&lt; Peer &gt;, std::shared_ptr&lt; protocol::TMLedgerData &gt; const &amp;)</div><div class="ttdoc">Stash a TMLedgerData received from a peer for later processing Returns 'true' if we need to dispatch.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01040">InboundLedger.cpp:1040</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aee7c9597ee54dbe471af1d7db763161b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">ripple::InboundLedger::mSignaled</a></div><div class="ttdeci">bool mSignaled</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00182">InboundLedger.h:182</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af0959ff442612d29333b34f1c644342b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">ripple::InboundLedger::getNeededHashes</a></div><div class="ttdeci">std::vector&lt; neededHash_t &gt; getNeededHashes()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01000">InboundLedger.cpp:1000</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af3270da7ce84b7f24d9e2146e6700a4a"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a">ripple::InboundLedger::mReceivedDataLock</a></div><div class="ttdeci">std::mutex mReceivedDataLock</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00192">InboundLedger.h:192</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af35ec9e2ff1776eba1202e3786b4e421"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af35ec9e2ff1776eba1202e3786b4e421">ripple::InboundLedger::update</a></div><div class="ttdeci">void update(std::uint32_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00148">InboundLedger.cpp:148</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af907877c2e81e4c01a47bf4b591d22f3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">ripple::InboundLedger::touch</a></div><div class="ttdeci">void touch()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00111">InboundLedger.h:111</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af9dd512e63b43a037d5bdde5779212db"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db">ripple::InboundLedger::mReason</a></div><div class="ttdeci">Reason const mReason</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00185">InboundLedger.h:185</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_afe703ac9b6617361ed3f34dd85fd8b7c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c">ripple::InboundLedger::mPeerSet</a></div><div class="ttdeci">std::unique_ptr&lt; PeerSet &gt; mPeerSet</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00197">InboundLedger.h:197</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html">ripple::NodeStore::Database</a></div><div class="ttdoc">Persistency layer for NodeObject.</div><div class="ttdef"><b>Definition:</b> <a href="Database_8h_source.html#l00049">Database.h:50</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapAddNode_html"><div class="ttname"><a href="classripple_1_1SHAMapAddNode.html">ripple::SHAMapAddNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapAddNode_8h_source.html#l00028">SHAMapAddNode.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMapSyncFilter_html"><div class="ttname"><a href="classripple_1_1SHAMapSyncFilter.html">ripple::SHAMapSyncFilter</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapSyncFilter_8h_source.html#l00030">SHAMapSyncFilter.h:31</a></div></div>
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:45</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html">ripple::TimeoutCounter</a></div><div class="ttdoc">This class is an &quot;active&quot; object.</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00066">TimeoutCounter.h:67</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_a7136bc55557a72b6fe16984b9afd0ace"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#a7136bc55557a72b6fe16984b9afd0ace">ripple::TimeoutCounter::complete_</a></div><div class="ttdeci">bool complete_</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00131">TimeoutCounter.h:131</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_acc58d4a18742a417a8b290df4b58072d"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ripple::TimeoutCounter::ScopedLockType</a></div><div class="ttdeci">std::unique_lock&lt; std::recursive_mutex &gt; ScopedLockType</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00081">TimeoutCounter.h:81</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_ae8d27d1e5f6f3d5a6cb59545b2ee7433"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#ae8d27d1e5f6f3d5a6cb59545b2ee7433">ripple::TimeoutCounter::failed_</a></div><div class="ttdeci">bool failed_</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00132">TimeoutCounter.h:132</a></div></div>
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00045">Slice.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html">ripple::TimeoutCounter</a></div><div class="ttdoc">This class is an &quot;active&quot; object.</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00067">TimeoutCounter.h:68</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_a7136bc55557a72b6fe16984b9afd0ace"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#a7136bc55557a72b6fe16984b9afd0ace">ripple::TimeoutCounter::complete_</a></div><div class="ttdeci">bool complete_</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00132">TimeoutCounter.h:132</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_acc58d4a18742a417a8b290df4b58072d"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ripple::TimeoutCounter::ScopedLockType</a></div><div class="ttdeci">std::unique_lock&lt; std::recursive_mutex &gt; ScopedLockType</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00082">TimeoutCounter.h:82</a></div></div>
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_ae8d27d1e5f6f3d5a6cb59545b2ee7433"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#ae8d27d1e5f6f3d5a6cb59545b2ee7433">ripple::TimeoutCounter::failed_</a></div><div class="ttdeci">bool failed_</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00133">TimeoutCounter.h:133</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aenable_shared_from_this_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>