mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 20:15:51 +00:00
375 lines
75 KiB
HTML
375 lines
75 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">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_9f69212e4c6e2ca9ec5ab59cd7b6275c.html">app</a></li><li class="navelem"><a class="el" href="dir_796f40347441ba166e244d2eadcd4ae1.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 name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*</span></div>
|
|
<div class="line"><a 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 name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
|
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"></span> </div>
|
|
<div class="line"><a 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 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 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 name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span> </div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
|
|
<div class="line"><a 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 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 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 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 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 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 name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*/</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">//==============================================================================</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_APP_LEDGER_INBOUNDLEDGER_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/app/ledger/Ledger.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/app/ledger/impl/TimeoutCounter.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/app/main/Application.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/basics/CountedObject.h></span></div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/overlay/PeerSet.h></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/set.html">set</a>></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/utility.html">utility</a>></span></div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// A ledger we are trying to acquire</span></div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html">InboundLedger</a> final : <span class="keyword">public</span> <a class="code" href="classripple_1_1TimeoutCounter.html">TimeoutCounter</a>,</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">public</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a><InboundLedger>,</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">public</span> <a class="code" href="classripple_1_1CountedObject.html">CountedObject</a><InboundLedger></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a 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" href="classbeast_1_1abstract__clock.html">clock_type</a> = <a class="code" href="classbeast_1_1abstract__clock.html">beast::abstract_clock<std::chrono::steady_clock></a>;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
|
<div class="line"><a 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 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" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> {</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4">HISTORY</a>, <span class="comment">// Acquiring past ledger</span></div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5fe9db299562a253ce0745d25f54eb0f">SHARD</a>, <span class="comment">// Acquiring for shard</span></div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7ac942dc2a9f958acddc67e11472d3ca0b">GENERIC</a>, <span class="comment">// Generic other reasons</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" 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 name="l00048"></a><span class="lineno"> 48</span>  };</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classripple_1_1InboundLedger.html#a953931e5b4a738fe2b90000eebb9e8e9">InboundLedger</a>(</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classripple_1_1Application.html">Application</a>& app,</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> reason,</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">clock_type</a>&,</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSet></a> peerSet);</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classripple_1_1InboundLedger.html#abc70673dfc3d77f82742ede9978e4761">~InboundLedger</a>();</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div>
|
|
<div class="line"><a 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 name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classripple_1_1InboundLedger.html#af35ec9e2ff1776eba1202e3786b4e421">update</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814"> 66</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#a48da57e1b1e803fcfa2179041b785814">isComplete</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1TimeoutCounter.html#a7136bc55557a72b6fe16984b9afd0ace">complete_</a>;</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661"> 73</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#ac76433579d38c33ad6fdbf5287118661">isFailed</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1TimeoutCounter.html#ae8d27d1e5f6f3d5a6cb59545b2ee7433">failed_</a>;</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aacf58eba403e792c8429de5e901816d3"> 79</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#aacf58eba403e792c8429de5e901816d3">getLedger</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636"> 85</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636">getSeq</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">checkLocal</a>();</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">init</a>(<a class="code" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& collectionLock);</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">gotData</a>(</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<Peer></a>,</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<protocol::TMLedgerData></a> <span class="keyword">const</span>&);</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9">neededHash_t</a> =</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9"> 101</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<protocol::TMGetObjectByHash::ObjectType, uint256></a>;</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">getJson</a>(<span class="keywordtype">int</span>);</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">runData</a>();</div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3"> 111</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#af907877c2e81e4c01a47bf4b591d22f3">touch</a>()</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  {</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a> = <a class="code" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>.<a class="code" href="classbeast_1_1abstract__clock.html#ac9a577663353bfea66a096f12cb85293">now</a>();</div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div>
|
|
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a></div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231"> 117</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#a71ffa44fd29a244adb461a3ba64b7231">getLastAction</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div>
|
|
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> { <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">added</a>, <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773">reply</a>, <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc">timeout</a> };</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classripple_1_1InboundLedger.html#acc4e907c349538824553f30a474d20d7">filterNodes</a>(</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<SHAMapNodeID, uint256></a>>& nodes,</div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> reason);</div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">trigger</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Peer></a> <span class="keyword">const</span>&, <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a>);</div>
|
|
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
|
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<neededHash_t></a></div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">getNeededHashes</a>();</div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  </div>
|
|
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">addPeers</a>();</div>
|
|
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="classripple_1_1InboundLedger.html#ab32aa3e9b48fe810668c4d09fde2d369">tryDB</a>(<a class="code" href="classripple_1_1NodeStore_1_1Database.html">NodeStore::Database</a>& srcDB);</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
|
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">done</a>();</div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <a class="code" href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">onTimer</a>(<span class="keywordtype">bool</span> progress, <a class="code" href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ScopedLockType</a>& peerSetLock) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classripple_1_1InboundLedger.html#a16e175c43a207a208b6dcd8bf1e0f2c0">getPeerCount</a>() <span class="keyword">const</span>;</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div>
|
|
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr<TimeoutCounter></a></div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">pmDowncast</a>() <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordtype">int</span></div>
|
|
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">processData</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Peer></a> peer, protocol::TMLedgerData& data);</div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classripple_1_1InboundLedger.html#a4e0aeebcfdf9b62947ba9b7388749257">takeHeader</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& data);</div>
|
|
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">void</span></div>
|
|
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classripple_1_1InboundLedger.html#a427de2950231fea5dbc847c67fdcb64a">receiveNode</a>(protocol::TMLedgerData& packet, <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&);</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classripple_1_1InboundLedger.html#ae0732eada133ab96152376c95a30fefa">takeTxRootNode</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>& data, <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&);</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">takeAsRootNode</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> <span class="keyword">const</span>& data, <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&);</div>
|
|
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
|
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">neededTxHashes</a>(<span class="keywordtype">int</span> max, <a class="code" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
|
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">neededStateHashes</a>(<span class="keywordtype">int</span> max, <a class="code" href="classripple_1_1SHAMapSyncFilter.html">SHAMapSyncFilter</a>* filter) <span class="keyword">const</span>;</div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  </div>
|
|
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa"> 175</a></span>  <a class="code" href="classbeast_1_1abstract__clock.html">clock_type</a>& <a class="code" href="classripple_1_1InboundLedger.html#ad40e902635b955a8f758d831dd973cfa">m_clock</a>;</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2"> 176</a></span>  <a class="code" href="classbeast_1_1abstract__clock.html#a4e16832b0bdf9392c5138bbbde024d8e">clock_type::time_point</a> <a class="code" href="classripple_1_1InboundLedger.html#a2a13ec6bfca73fd260589fb12c2f7dd2">mLastAction</a>;</div>
|
|
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
|
|
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da"> 178</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger></a> <a class="code" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">mHaveHeader</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">mHaveState</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">mHaveTransactions</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">mSignaled</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">mByHash</a>;</div>
|
|
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85"> 184</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
|
|
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b"> 185</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b">mReason</a>;</div>
|
|
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
|
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6"> 187</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<uint256></a> <a class="code" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6">mRecentNodes</a>;</div>
|
|
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
|
|
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569"> 189</a></span>  <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a> <a class="code" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569">mStats</a>;</div>
|
|
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  </div>
|
|
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">// Data we have received from peers</span></div>
|
|
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a"> 192</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a">mReceivedDataLock</a>;</div>
|
|
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><</div>
|
|
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<std::weak_ptr<Peer></a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<protocol::TMLedgerData></a>>></div>
|
|
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3"> 195</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">mReceivedData</a>;</div>
|
|
<div class="line"><a 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" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">mReceiveDispatched</a>;</div>
|
|
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c"> 197</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<PeerSet></a> <a class="code" href="classripple_1_1InboundLedger.html#afe703ac9b6617361ed3f34dd85fd8b7c">mPeerSet</a>;</div>
|
|
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> };</div>
|
|
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
|
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a></div>
|
|
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <a class="code" href="namespaceripple.html#abd563ede46c4e47c4c7dec8bdf89b5fb">deserializeHeader</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <span class="keywordtype">bool</span> hasHash = <span class="keyword">false</span>);</div>
|
|
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  </div>
|
|
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a></div>
|
|
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <a class="code" href="namespaceripple.html#a7ca7f931bf79ebd2925bf44eaa7e42d1">deserializePrefixedHeader</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <span class="keywordtype">bool</span> hasHash = <span class="keyword">false</span>);</div>
|
|
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  </div>
|
|
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> } <span class="comment">// namespace ripple</span></div>
|
|
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
|
|
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<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< uint256 > 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_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#l00115">Application.h:115</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:28</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_af0959ff442612d29333b34f1c644342b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">ripple::InboundLedger::getNeededHashes</a></div><div class="ttdeci">std::vector< neededHash_t > getNeededHashes()</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01056">InboundLedger.cpp:1056</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ad3dc31446f3f8071d3960040e785f20b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b">ripple::InboundLedger::mReason</a></div><div class="ttdeci">const Reason 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_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#l01350">InboundLedger.cpp:1350</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1TimeoutCounter_html_acc58d4a18742a417a8b290df4b58072d"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html#acc58d4a18742a417a8b290df4b58072d">ripple::TimeoutCounter::ScopedLockType</a></div><div class="ttdeci">std::unique_lock< std::recursive_mutex > ScopedLockType</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00081">TimeoutCounter.h:81</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_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:124</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:51</a></div></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 class="ttdoc">STL class.</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="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</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"><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:35</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="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_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_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:44</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="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="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="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_aacf58eba403e792c8429de5e901816d3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#aacf58eba403e792c8429de5e901816d3">ripple::InboundLedger::getLedger</a></div><div class="ttdeci">std::shared_ptr< Ledger const > 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_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#l00180">InboundLedger.cpp:180</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_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#l00213">InboundLedger.cpp:213</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_acc4e907c349538824553f30a474d20d7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#acc4e907c349538824553f30a474d20d7">ripple::InboundLedger::filterNodes</a></div><div class="ttdeci">void filterNodes(std::vector< std::pair< SHAMapNodeID, uint256 >> &nodes, TriggerReason reason)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00825">InboundLedger.cpp:825</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_a679a7b5d794f6aca531f421da54c1eb5"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a679a7b5d794f6aca531f421da54c1eb5">ripple::InboundLedger::processData</a></div><div class="ttdeci">int processData(std::shared_ptr< Peer > peer, protocol::TMLedgerData &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#l01123">InboundLedger.cpp:1123</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< uint256 > neededStateHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00265">InboundLedger.cpp:265</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae1a3f88e5fd872d5110795abed583ed9"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae1a3f88e5fd872d5110795abed583ed9">ripple::InboundLedger::neededHash_t</a></div><div class="ttdeci">std::pair< protocol::TMGetObjectByHash::ObjectType, uint256 > neededHash_t</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00101">InboundLedger.h:101</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< PeerSet > 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_1TimeoutCounter_html"><div class="ttname"><a href="classripple_1_1TimeoutCounter.html">ripple::TimeoutCounter</a></div><div class="ttdoc">This class is an "active" object.</div><div class="ttdef"><b>Definition:</b> <a href="TimeoutCounter_8h_source.html#l00066">TimeoutCounter.h:66</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a7ca7f931bf79ebd2925bf44eaa7e42d1"><div class="ttname"><a href="namespaceripple.html#a7ca7f931bf79ebd2925bf44eaa7e42d1">ripple::deserializePrefixedHeader</a></div><div class="ttdeci">LedgerInfo deserializePrefixedHeader(Slice data, bool hasHash)</div><div class="ttdoc">Deserialize a ledger header (prefixed with 4 bytes) from a byte array.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00296">InboundLedger.cpp:296</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_1InboundLedger_html_a7c96da0b518e069159b422a1b63befc8"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">ripple::InboundLedger::neededTxHashes</a></div><div class="ttdeci">std::vector< uint256 > neededTxHashes(int max, SHAMapSyncFilter *filter) const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00259">InboundLedger.cpp:259</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</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00082">base_uint.h:82</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 &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#l00871">InboundLedger.cpp:871</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< Peer >, std::shared_ptr< protocol::TMLedgerData > const &)</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#l01096">InboundLedger.cpp:1096</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< Ledger > 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_a6dbf6ff57c3af943706fc5d4ccac2d77"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a6dbf6ff57c3af943706fc5d4ccac2d77">ripple::InboundLedger::clock_type</a></div><div class="ttdeci">beast::abstract_clock< std::chrono::steady_clock > 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_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_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_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#l00171">InboundLedger.cpp:171</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#l00477">InboundLedger.cpp:477</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_1InboundLedger_html_a953931e5b4a738fe2b90000eebb9e8e9"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a953931e5b4a738fe2b90000eebb9e8e9">ripple::InboundLedger::InboundLedger</a></div><div class="ttdeci">InboundLedger(Application &app, uint256 const &hash, std::uint32_t seq, Reason reason, clock_type &, std::unique_ptr< PeerSet > peerSet)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00077">InboundLedger.cpp:77</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 &srcDB)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00304">InboundLedger.cpp:304</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="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 &data, SHAMapAddNode &)</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#l01034">InboundLedger.cpp:1034</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 & 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="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="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_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="aclassbeast_1_1abstract__clock_html"><div class="ttname"><a href="classbeast_1_1abstract__clock.html">beast::abstract_clock< std::chrono::steady_clock ></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="aweak_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr< Peer ></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_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_adda7cad9a2e5a1d03d3c82061040c618"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adda7cad9a2e5a1d03d3c82061040c618">ripple::InboundLedger::pmDowncast</a></div><div class="ttdeci">std::weak_ptr< TimeoutCounter > pmDowncast() override</div><div class="ttdoc">Return a weak pointer to this.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00491">InboundLedger.cpp:491</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_abd563ede46c4e47c4c7dec8bdf89b5fb"><div class="ttname"><a href="namespaceripple.html#abd563ede46c4e47c4c7dec8bdf89b5fb">ripple::deserializeHeader</a></div><div class="ttdeci">LedgerInfo deserializeHeader(Slice data, bool hasHash)</div><div class="ttdoc">Deserialize a ledger header from a byte array.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00272">InboundLedger.cpp:272</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_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_acfbf0c63573f009a2c9f81cfa0bafa6e"><div class="ttname"><a href="classripple_1_1InboundLedger.html#acfbf0c63573f009a2c9f81cfa0bafa6e">ripple::InboundLedger::takeAsRootNode</a></div><div class="ttdeci">bool takeAsRootNode(Slice const &data, SHAMapAddNode &)</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#l01009">InboundLedger.cpp:1009</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#l00497">InboundLedger.cpp:497</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< Peer > const &, 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#l00548">InboundLedger.cpp:548</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="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
|
<div class="ttc" id="astructripple_1_1LedgerInfo_html"><div class="ttname"><a href="structripple_1_1LedgerInfo.html">ripple::LedgerInfo</a></div><div class="ttdoc">Information about the notional ledger backing the view.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00075">ReadView.h:75</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_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_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 &packet, SHAMapAddNode &)</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#l00919">InboundLedger.cpp:919</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#l01303">InboundLedger.cpp:1303</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:30</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 class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a3e8d7f8b5fa089a184dcc9b00b6e0da7a5fe9db299562a253ce0745d25f54eb0f"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5fe9db299562a253ce0745d25f54eb0f">ripple::InboundLedger::Reason::SHARD</a></div><div class="ttdeci">@ SHARD</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 &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#l00426">InboundLedger.cpp:426</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< std::chrono::steady_clock >::time_point</a></div><div class="ttdeci">typename std::chrono::steady_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="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_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#l00193">InboundLedger.cpp:193</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="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_ae3f849209788ace9151194b99b6291f3"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae3f849209788ace9151194b99b6291f3">ripple::InboundLedger::mReceivedData</a></div><div class="ttdeci">std::vector< std::pair< std::weak_ptr< Peer >, std::shared_ptr< protocol::TMLedgerData > > > 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_a291eb601240f81e131f7a232f3eeeb71"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">ripple::InboundLedger::init</a></div><div class="ttdeci">void init(ScopedLockType &collectionLock)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00106">InboundLedger.cpp:106</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#l00145">json_value.h:145</a></div></div>
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|