mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
342 lines
70 KiB
HTML
342 lines
70 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/main/Application.h></span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/app/ledger/Ledger.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/overlay/PeerSet.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 <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></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/set.html">set</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/utility.html">utility</a>></span></div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// A ledger we are trying to acquire</span></div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1InboundLedger.html">InboundLedger</a></div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : <span class="keyword">public</span> <a class="code" href="classripple_1_1PeerSet.html">PeerSet</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#a7b785baa4c0c0cf58c59b324ae2fe93c"> 40</a></span>  <span class="keyword">static</span> <span class="keywordtype">char</span> <span class="keyword">const</span>* <a class="code" href="classripple_1_1InboundLedger.html#a7b785baa4c0c0cf58c59b324ae2fe93c">getCountedObjectName</a> () { <span class="keywordflow">return</span> <span class="stringliteral">"InboundLedger"</span>; }</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="keyword">using</span> <a class="code" href="classripple_1_1InboundLedger.html#adcf93fb97e19cccb312e2731db6b3d6b">PeerDataPairType</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a><</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</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="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#adcf93fb97e19cccb312e2731db6b3d6b"> 44</a></span>  <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="l00045"></a><span class="lineno"> 45</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// These are the reasons we might acquire a ledger</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7"> 47</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="l00048"></a><span class="lineno"> 48</span>  {</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</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="l00050"></a><span class="lineno"> 50</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="l00051"></a><span class="lineno"> 51</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="l00052"></a><span class="lineno"> 52</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="l00053"></a><span class="lineno"> 53</span>  };</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classripple_1_1InboundLedger.html#a11813939c82e02d09b56fd1261ede70c">InboundLedger</a>(<a class="code" href="classripple_1_1Application.html">Application</a>& <a class="code" href="classripple_1_1PeerSet.html#a1e14dc0ccaba1b137081db5ac45731b6">app</a>, <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq, <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a> reason, <a class="code" href="classripple_1_1PeerSet.html#ae147b69aac46508c5134297465e09bcc">clock_type</a>&);</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 the PeerSet timer expires</span></div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#af071b2ace5c5ee0888c0e6cea2886e16">execute</a> () <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Called when another attempt is made to fetch this same ledger</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</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="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</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="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aacf58eba403e792c8429de5e901816d3"> 67</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#aacf58eba403e792c8429de5e901816d3">getLedger</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da">mLedger</a>;</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e5e040f5f6f3c159b3bf6fe46e58636"> 72</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#a6e5e040f5f6f3c159b3bf6fe46e58636">getSeq</a> ()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85">mSeq</a>;</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  }</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>  <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7">Reason</a></div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a5da796335a7a5dbb0303f196ec87cea0"> 78</a></span>  <a class="code" href="classripple_1_1InboundLedger.html#a5da796335a7a5dbb0303f196ec87cea0">getReason</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b">mReason</a>;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</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>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#adf5774b2251e6aece12ebf911fdd04b7">checkLocal</a> ();</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#a291eb601240f81e131f7a232f3eeeb71">init</a> (<a class="code" href="classripple_1_1PeerSet.html#ad09235538e0c16ca8c22fef97bf53390">ScopedLockType</a>& collectionLock);</div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="classripple_1_1InboundLedger.html#aee0269ce58c0a1b62f7c9d4ddbb8b891">gotData</a>(<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="l00088"></a><span class="lineno"> 88</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="l00089"></a><span class="lineno"> 89</span>  </div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1InboundLedger.html#a8b6d8768ed645ae1e5727abebd2e6271">neededHash_t</a> =</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a8b6d8768ed645ae1e5727abebd2e6271"> 91</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="l00092"></a><span class="lineno"> 92</span>  </div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> <a class="code" href="classripple_1_1InboundLedger.html#a069c3ef1adae2c6d17c67e71071ca962">getJson</a> (<span class="keywordtype">int</span>);</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#a0fcb919dd1a3c7f0e37525aee124ee7d">runData</a> ();</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">static</span></div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="structripple_1_1LedgerInfo.html">LedgerInfo</a></div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classripple_1_1InboundLedger.html#a0d05adfd0453ed140d9d4d867a6e23b0">deserializeHeader</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <span class="keywordtype">bool</span> hasPrefix);</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">private</span>:</div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c"> 103</a></span>  <span class="keyword">enum class</span> <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  {</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">added</a>,</div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cae84afaab83ecb301b3d97ce4174d2773">reply</a>,</div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07ca90272dda245ae1fb3cf197e91a8689dc">timeout</a></div>
|
|
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  };</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> <a class="code" href="classripple_1_1InboundLedger.html#acc4e907c349538824553f30a474d20d7">filterNodes</a> (</div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</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="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07c">TriggerReason</a> reason);</div>
|
|
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div>
|
|
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">void</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="l00115"></a><span class="lineno"> 115</span>  </div>
|
|
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<neededHash_t></a> <a class="code" href="classripple_1_1InboundLedger.html#af0959ff442612d29333b34f1c644342b">getNeededHashes</a> ();</div>
|
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
|
|
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#a5108a46d0fc5c949956d9616d14a5f57">addPeers</a> ();</div>
|
|
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#ae3f38b02bc1728722709dd35ac8de8b7">tryDB</a> (<a class="code" href="classripple_1_1Family.html">Family</a>& f);</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>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#a61ad111ca63d997473cb3e50f49de9eb">done</a> ();</div>
|
|
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  </div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#abb06c0dd36a6e78848ce2bb0ff9258e7">onTimer</a> (<span class="keywordtype">bool</span> <a class="code" href="classripple_1_1PeerSet.html#ad7733986159c48a56d6e5049817a7c66">progress</a>, <a class="code" href="classripple_1_1PeerSet.html#ad09235538e0c16ca8c22fef97bf53390">ScopedLockType</a>& peerSetLock) <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
|
|
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ae9cc6de1ae6cad1533f95af82348fafe"> 125</a></span>  <span class="keywordtype">void</span> <a class="code" href="classripple_1_1InboundLedger.html#ae9cc6de1ae6cad1533f95af82348fafe">newPeer</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>& peer)<span class="keyword"> override</span></div>
|
|
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="comment">// For historical nodes, do not trigger too soon</span></div>
|
|
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// since a fetch pack is probably coming</span></div>
|
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">if</span> (<a class="code" href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b">mReason</a> != <a class="code" href="classripple_1_1InboundLedger.html#a3e8d7f8b5fa089a184dcc9b00b6e0da7a5d83de1c9f32e1adaf68625c99c29ac4">Reason::HISTORY</a>)</div>
|
|
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classripple_1_1InboundLedger.html#a20ff87d55f0ce1bec9f613749631f743">trigger</a> (peer, <a class="code" href="classripple_1_1InboundLedger.html#a6e9a443c8f271522e38916b0f673f07cab60ed88355ac3f6898fd8a7ab1734d06">TriggerReason::added</a>);</div>
|
|
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  }</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/memory/weak_ptr.html">std::weak_ptr <PeerSet></a> <a class="code" href="classripple_1_1InboundLedger.html#a48200c48c1b400de18691502dc89dce7">pmDowncast</a> () <span class="keyword">override</span>;</div>
|
|
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div>
|
|
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">int</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="l00136"></a><span class="lineno"> 136</span>  </div>
|
|
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordtype">bool</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="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a820a862b6e7c363c554982f62bca8232">takeTxNode</a> (<span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<SHAMapNodeID></a>& IDs,</div>
|
|
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<Blob></a>& data,</div>
|
|
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&);</div>
|
|
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">bool</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="l00142"></a><span class="lineno"> 142</span>  </div>
|
|
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// VFALCO TODO Rename to receiveAccountStateNode</span></div>
|
|
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="comment">// Don't use acronyms, but if we are going to use them at least</span></div>
|
|
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="comment">// capitalize them correctly.</span></div>
|
|
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a4de986de4de54900724d42748cb96bf0">takeAsNode</a> (<span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<SHAMapNodeID></a>& IDs,</div>
|
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<Blob></a>& data,</div>
|
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classripple_1_1SHAMapAddNode.html">SHAMapAddNode</a>&);</div>
|
|
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">bool</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="l00151"></a><span class="lineno"> 151</span>  </div>
|
|
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
|
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classripple_1_1InboundLedger.html#a7c96da0b518e069159b422a1b63befc8">neededTxHashes</a> (</div>
|
|
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <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="l00155"></a><span class="lineno"> 155</span>  </div>
|
|
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
|
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="classripple_1_1InboundLedger.html#ac3db6ca28927c4697ee227ddac810ca3">neededStateHashes</a> (</div>
|
|
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <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="l00159"></a><span class="lineno"> 159</span>  </div>
|
|
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a74a4f62b06d14e1599aae9e6a95407da"> 160</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="l00161"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030"> 161</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a4a694446650bc8ed8271618b5c5ce030">mHaveHeader</a>;</div>
|
|
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5"> 162</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a9422546cb7f2500003d47e883566aff5">mHaveState</a>;</div>
|
|
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57"> 163</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a7bad4c3cb859e10d01f4cbd99407ed57">mHaveTransactions</a>;</div>
|
|
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b"> 164</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#aee7c9597ee54dbe471af1d7db763161b">mSignaled</a>;</div>
|
|
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be"> 165</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a3e4b6760e9cce86ce6b95148f38b78be">mByHash</a>;</div>
|
|
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#aecb5f5b5669afaa53902ae651f892a85"> 166</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="l00167"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#ad3dc31446f3f8071d3960040e785f20b"> 167</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="l00168"></a><span class="lineno"> 168</span>  </div>
|
|
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a41d0600d8e996763c915ef7f3b48dbf6"> 169</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="l00170"></a><span class="lineno"> 170</span>  </div>
|
|
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a9fda4b33aa77b5e2ff68d94577be5569"> 171</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="l00172"></a><span class="lineno"> 172</span>  </div>
|
|
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">// Data we have received from peers</span></div>
|
|
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#af3270da7ce84b7f24d9e2146e6700a4a"> 174</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="l00175"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a950a4fa5555f757c3a1accdebdf2535c"> 175</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector <PeerDataPairType></a> <a class="code" href="classripple_1_1InboundLedger.html#a950a4fa5555f757c3a1accdebdf2535c">mReceivedData</a>;</div>
|
|
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b"> 176</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1InboundLedger.html#a4855f9c04470b69be6097022c6bdde5b">mReceiveDispatched</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"> 178</span>  </div>
|
|
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> } <span class="comment">// ripple</span></div>
|
|
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
|
<div class="line"><a name="l00181"></a><span class="lineno"> 181</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#l00169">InboundLedger.h:169</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#l00085">Application.h:85</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#l01080">InboundLedger.cpp:1080</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#l00167">InboundLedger.h:167</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#l01301">InboundLedger.cpp:1301</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#l00103">InboundLedger.h:103</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#l00102">CountedObject.h:102</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#l00162">InboundLedger.h:162</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#l00034">InboundLedger.h:34</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#l00072">InboundLedger.h:72</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#l00043">Slice.h:43</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#l00164">InboundLedger.h:164</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#l00067">InboundLedger.h:67</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#l00164">InboundLedger.cpp:164</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a11813939c82e02d09b56fd1261ede70c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a11813939c82e02d09b56fd1261ede70c">ripple::InboundLedger::InboundLedger</a></div><div class="ttdeci">InboundLedger(Application &app, uint256 const &hash, std::uint32_t seq, Reason reason, clock_type &)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00069">InboundLedger.cpp:69</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#l00196">InboundLedger.cpp:196</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae9cc6de1ae6cad1533f95af82348fafe"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae9cc6de1ae6cad1533f95af82348fafe">ripple::InboundLedger::newPeer</a></div><div class="ttdeci">void newPeer(std::shared_ptr< Peer > const &peer) override</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00125">InboundLedger.h:125</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#l00165">InboundLedger.h:165</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#l00795">InboundLedger.cpp:795</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#l01145">InboundLedger.cpp:1145</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_af071b2ace5c5ee0888c0e6cea2886e16"><div class="ttname"><a href="classripple_1_1InboundLedger.html#af071b2ace5c5ee0888c0e6cea2886e16">ripple::InboundLedger::execute</a></div><div class="ttdeci">void execute() override</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00147">InboundLedger.cpp:147</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#l00234">InboundLedger.cpp:234</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1PeerSet_html_ae147b69aac46508c5134297465e09bcc"><div class="ttname"><a href="classripple_1_1PeerSet.html#ae147b69aac46508c5134297465e09bcc">ripple::PeerSet::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="PeerSet_8h_source.html#l00051">PeerSet.h:51</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_adcf93fb97e19cccb312e2731db6b3d6b"><div class="ttname"><a href="classripple_1_1InboundLedger.html#adcf93fb97e19cccb312e2731db6b3d6b">ripple::InboundLedger::PeerDataPairType</a></div><div class="ttdeci">std::pair< std::weak_ptr< Peer >, std::shared_ptr< protocol::TMLedgerData > > PeerDataPairType</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00044">InboundLedger.h:44</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_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#l00217">InboundLedger.cpp:217</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
|
<div class="ttc" id="aclassripple_1_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#l00845">InboundLedger.cpp:845</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#l01120">InboundLedger.cpp:1120</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a820a862b6e7c363c554982f62bca8232"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a820a862b6e7c363c554982f62bca8232">ripple::InboundLedger::takeTxNode</a></div><div class="ttdeci">bool takeTxNode(const std::vector< SHAMapNodeID > &IDs, const std::vector< Blob > &data, SHAMapAddNode &)</div><div class="ttdoc">Process TX data received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00893">InboundLedger.cpp:893</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#l00160">InboundLedger.h:160</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a0d05adfd0453ed140d9d4d867a6e23b0"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a0d05adfd0453ed140d9d4d867a6e23b0">ripple::InboundLedger::deserializeHeader</a></div><div class="ttdeci">static LedgerInfo deserializeHeader(Slice data, bool hasPrefix)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00251">InboundLedger.cpp:251</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#l00441">InboundLedger.cpp:441</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a8b6d8768ed645ae1e5727abebd2e6271"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a8b6d8768ed645ae1e5727abebd2e6271">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#l00091">InboundLedger.h:91</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#l01058">InboundLedger.cpp:1058</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1Family_html"><div class="ttname"><a href="classripple_1_1Family.html">ripple::Family</a></div><div class="ttdef"><b>Definition:</b> <a href="Family_8h_source.html#l00032">Family.h:32</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a48200c48c1b400de18691502dc89dce7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a48200c48c1b400de18691502dc89dce7">ripple::InboundLedger::pmDowncast</a></div><div class="ttdeci">std::weak_ptr< PeerSet > pmDowncast() override</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00448">InboundLedger.cpp:448</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_1PeerSet_html_a1e14dc0ccaba1b137081db5ac45731b6"><div class="ttname"><a href="classripple_1_1PeerSet.html#a1e14dc0ccaba1b137081db5ac45731b6">ripple::PeerSet::app</a></div><div class="ttdeci">Application & app()</div><div class="ttdef"><b>Definition:</b> <a href="PeerSet_8h_source.html#l00107">PeerSet.h:107</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#l00176">InboundLedger.h:176</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#l00161">InboundLedger.h:161</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a7b785baa4c0c0cf58c59b324ae2fe93c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a7b785baa4c0c0cf58c59b324ae2fe93c">ripple::InboundLedger::getCountedObjectName</a></div><div class="ttdeci">static char const * getCountedObjectName()</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_1PeerSet_html_ad09235538e0c16ca8c22fef97bf53390"><div class="ttname"><a href="classripple_1_1PeerSet.html#ad09235538e0c16ca8c22fef97bf53390">ripple::PeerSet::ScopedLockType</a></div><div class="ttdeci">std::unique_lock< std::recursive_mutex > ScopedLockType</div><div class="ttdef"><b>Definition:</b> <a href="PeerSet_8h_source.html#l00113">PeerSet.h:113</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 class="ttdoc">STL class.</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="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="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#l00171">InboundLedger.h:171</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#l00166">InboundLedger.h:166</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#l01034">InboundLedger.cpp:1034</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1PeerSet_html"><div class="ttname"><a href="classripple_1_1PeerSet.html">ripple::PeerSet</a></div><div class="ttdoc">Supports data retrieval by managing a set of peers.</div><div class="ttdef"><b>Definition:</b> <a href="PeerSet_8h_source.html#l00048">PeerSet.h:48</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#l00453">InboundLedger.cpp:453</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a4de986de4de54900724d42748cb96bf0"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a4de986de4de54900724d42748cb96bf0">ripple::InboundLedger::takeAsNode</a></div><div class="ttdeci">bool takeAsNode(const std::vector< SHAMapNodeID > &IDs, const std::vector< Blob > &data, SHAMapAddNode &)</div><div class="ttdoc">Process AS data received from a peer Call with a lock.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00954">InboundLedger.cpp:954</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_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#l00507">InboundLedger.cpp:507</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="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#l00079">ReadView.h:79</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#l00047">InboundLedger.h:47</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 'best' peer.</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l01259">InboundLedger.cpp:1259</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a950a4fa5555f757c3a1accdebdf2535c"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a950a4fa5555f757c3a1accdebdf2535c">ripple::InboundLedger::mReceivedData</a></div><div class="ttdeci">std::vector< PeerDataPairType > mReceivedData</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00175">InboundLedger.h:175</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_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="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#l00389">InboundLedger.cpp:389</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#l00174">InboundLedger.h:174</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#l00176">InboundLedger.cpp:176</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#l00163">InboundLedger.h:163</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_a5da796335a7a5dbb0303f196ec87cea0"><div class="ttname"><a href="classripple_1_1InboundLedger.html#a5da796335a7a5dbb0303f196ec87cea0">ripple::InboundLedger::getReason</a></div><div class="ttdeci">Reason getReason() const</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8h_source.html#l00078">InboundLedger.h:78</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_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#l00086">InboundLedger.cpp:86</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1PeerSet_html_ad7733986159c48a56d6e5049817a7c66"><div class="ttname"><a href="classripple_1_1PeerSet.html#ad7733986159c48a56d6e5049817a7c66">ripple::PeerSet::progress</a></div><div class="ttdeci">void progress()</div><div class="ttdoc">Called to indicate that forward progress has been made.</div><div class="ttdef"><b>Definition:</b> <a href="PeerSet_8h_source.html#l00080">PeerSet.h:80</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1InboundLedger_html_ae3f38b02bc1728722709dd35ac8de8b7"><div class="ttname"><a href="classripple_1_1InboundLedger.html#ae3f38b02bc1728722709dd35ac8de8b7">ripple::InboundLedger::tryDB</a></div><div class="ttdeci">void tryDB(Family &f)</div><div class="ttdef"><b>Definition:</b> <a href="InboundLedger_8cpp_source.html#l00278">InboundLedger.cpp:278</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#l00141">json_value.h:141</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>
|