Files
rippled/InboundLedger_8h_source.html
2025-08-19 09:49:50 -07:00

390 lines
74 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: InboundLedger.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_c69db3203fa08a9ff994909ba6ee9783.html">app</a></li><li class="navelem"><a class="el" href="dir_7899ad0c658a3b97a951171682eee0fc.html">ledger</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">InboundLedger.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpld/app/ledger/Ledger.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include &lt;xrpld/app/ledger/detail/TimeoutCounter.h&gt;</span></div>
<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> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &lt;xrpl/basics/CountedObject.h&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="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="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/set.html">set</a>&gt;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</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="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment">// A ledger we are trying to acquire</span></div>
<div class="foldopen" id="foldopen00037" data-start="{" data-end="};">
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html"> 37</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="l00038" name="l00038"></a><span class="lineno"> 38</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="l00039" name="l00039"></a><span class="lineno"> 39</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="l00040" name="l00040"></a><span class="lineno"> 40</span>{</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77"> 42</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="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// These are the reasons we might acquire a ledger</span></div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="};">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7"> 45</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="l00046" name="l00046"></a><span class="lineno"> 46</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="l00047" name="l00047"></a><span class="lineno"> 47</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="l00048" name="l00048"></a><span class="lineno"> 48</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="l00049" name="l00049"></a><span class="lineno"> 49</span> };</div>
</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="classripple_1_1InboundLedger.html">InboundLedger</a>(</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>&amp; app,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</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="l00054" name="l00054"></a><span class="lineno"> 54</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="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> reason,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_typedef" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">clock_type</a>&amp;,</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</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="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">~InboundLedger</a>();</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// Called when another attempt is made to fetch this same ledger</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</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="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00067" data-start="{" data-end="}">
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814"> 67</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="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</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="l00070" name="l00070"></a><span class="lineno"> 70</span> }</div>
</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00074" data-start="{" data-end="}">
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661"> 74</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="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</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="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a></div>
<div class="foldopen" id="foldopen00080" data-start="{" data-end="}">
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a5ca98f6cc26efd7953d522c714ba0441"> 80</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="l00081" name="l00081"></a><span class="lineno"> 81</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</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="l00083" name="l00083"></a><span class="lineno"> 83</span> }</div>
</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
<div class="foldopen" id="foldopen00086" data-start="{" data-end="}">
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636"> 86</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="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</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="l00089" name="l00089"></a><span class="lineno"> 89</span> }</div>
</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">bool</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#adf5774b2251e6aece12ebf911fdd04b7">checkLocal</a>();</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</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="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">gotData</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/weak_ptr.html">std::weak_ptr&lt;Peer&gt;</a>,</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;protocol::TMLedgerData&gt;</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9"> 101</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="l00102" name="l00102"></a><span class="lineno"> 102</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="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</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="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">runData</a>();</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00112" data-start="{" data-end="}">
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3"> 112</a></span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">touch</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> <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="l00115" name="l00115"></a><span class="lineno"> 115</span> }</div>
</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_typedef" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a></div>
<div class="foldopen" id="foldopen00118" data-start="{" data-end="}">
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231"> 118</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="l00119" name="l00119"></a><span class="lineno"> 119</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</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="l00121" name="l00121"></a><span class="lineno"> 121</span> }</div>
</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c"> 124</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="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#aca05302cd89a91a888b0ec963f9824cd">filterNodes</a>(</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/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="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_enumeration" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> reason);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_function" href="classripple_1_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="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;neededHash_t&gt;</a></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">getNeededHashes</a>();</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">addPeers</a>();</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</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="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <a class="code hl_function" href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">done</a>();</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</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="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</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="l00150" name="l00150"></a><span class="lineno"> 150</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="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</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="l00153" name="l00153"></a><span class="lineno"> 153</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="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <span class="keywordtype">int</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</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="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</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="l00160" name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keywordtype">void</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</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="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</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="l00166" name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</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="l00169" name="l00169"></a><span class="lineno"> 169</span> </div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</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="l00171" name="l00171"></a><span class="lineno"> 171</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="l00172" name="l00172"></a><span class="lineno"> 172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</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="l00174" name="l00174"></a><span class="lineno"> 174</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="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa"> 176</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="l00177" name="l00177"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2"> 177</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="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da"> 179</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="l00180" name="l00180"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030"> 180</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="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5"> 181</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="l00182" name="l00182"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57"> 182</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="l00183" name="l00183"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b"> 183</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="l00184" name="l00184"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be"> 184</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="l00185" name="l00185"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85"> 185</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="l00186" name="l00186"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af9dd512e63b43a037d5bdde5779212db"> 186</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="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#a41d0600d8e996763c915ef7f3b48dbf6"> 188</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="l00189" name="l00189"></a><span class="lineno"> 189</span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569"> 190</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="l00191" name="l00191"></a><span class="lineno"> 191</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="comment">// Data we have received from peers</span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a"> 193</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="l00194" name="l00194"></a><span class="lineno"> 194</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="l00195" name="l00195"></a><span class="lineno"> 195</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="l00196" name="l00196"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3"> 196</a></span> <a class="code hl_variable" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">mReceivedData</a>;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b"> 197</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="l00198" name="l00198"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c"> 198</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="l00199" name="l00199"></a><span class="lineno"> 199</span>};</div>
</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="comment">// namespace ripple</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</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#l00148">json_value.h:149</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#l00060">abstract_clock.h:60</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#l00113">Application.h:114</a></div></div>
<div class="ttc" id="aclassripple_1_1CountedObject_html"><div class="ttname"><a href="classripple_1_1CountedObject.html">ripple::CountedObject</a></div><div class="ttdoc">Tracks the number of instances of an object.</div><div class="ttdef"><b>Definition</b> <a href="CountedObject_8h_source.html#l00125">CountedObject.h:126</a></div></div>
<div class="ttc" id="aclassripple_1_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#l00037">InboundLedger.h:40</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#l01302">InboundLedger.cpp:1302</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#l01255">InboundLedger.cpp:1255</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#l00177">InboundLedger.h:177</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#l00184">InboundLedger.h:184</a></div></div>
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">ripple::InboundLedger::Reason</a></div><div class="ttdeci">Reason</div><div class="ttdef"><b>Definition</b> <a href="InboundLedger_8h_source.html#l00045">InboundLedger.h:45</a></div></div>
<div class="ttc" id="aclassripple_1_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#l00188">InboundLedger.h:188</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#l00866">InboundLedger.cpp:866</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#l00197">InboundLedger.h:197</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#l00067">InboundLedger.h:67</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#l00180">InboundLedger.h:180</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#l00819">InboundLedger.cpp:819</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#l00080">InboundLedger.h:80</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#l01070">InboundLedger.cpp:1070</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#l00042">InboundLedger.h:42</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#l00086">InboundLedger.h:86</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#l00124">InboundLedger.h:124</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#l00118">InboundLedger.h:118</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#l00179">InboundLedger.h:179</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#l00182">InboundLedger.h:182</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#l00181">InboundLedger.h:181</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#l00190">InboundLedger.h:190</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#l00074">InboundLedger.h:74</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#l00773">InboundLedger.cpp:773</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#l00956">InboundLedger.cpp:956</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#l00176">InboundLedger.h:176</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#l00981">InboundLedger.cpp:981</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#l00196">InboundLedger.h:196</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#l00185">InboundLedger.h:185</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#l01043">InboundLedger.cpp:1043</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#l00183">InboundLedger.h:183</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#l01003">InboundLedger.cpp:1003</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#l00193">InboundLedger.h:193</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#l00112">InboundLedger.h:112</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#l00186">InboundLedger.h:186</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#l00198">InboundLedger.h:198</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#l00051">Database.h:52</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#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#l00068">TimeoutCounter.h:69</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#l00133">TimeoutCounter.h:133</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#l00083">TimeoutCounter.h:83</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#l00134">TimeoutCounter.h:134</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>
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
<div class="ttc" id="aset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/set.html">set</a></div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
<div class="ttc" id="autility_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
<div class="ttc" id="aweak_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>