mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
201 lines
29 KiB
HTML
201 lines
29 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: RCLCxLedger.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_c8005de2a392a4c5e80eae465cb452a1.html">consensus</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">RCLCxLedger.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-2016 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_CONSENSUS_RCLCXLEDGER_H_INCLUDED</span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_APP_CONSENSUS_RCLCXLEDGER_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/LedgerToJson.h></span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/ledger/ReadView.h></span></div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/protocol/RippleLedgerHash.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/memory.html">memory</a>></span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html"> 35</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb"> 39</a></span>  <span class="keyword">using</span> <a class="code" href="classripple_1_1base__uint.html">ID</a> = <a class="code" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a>;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#aaad5276a8dd4c15270ed5b847cf511cd"> 41</a></span>  <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">Seq</a> = <a class="code" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>;</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a82a3ffad24861fae7168a5890e691ac3">RCLCxLedger</a>() = <span class="keywordflow">default</span>;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a612799ae2590556cfacbf081a7a1b01d"> 55</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a612799ae2590556cfacbf081a7a1b01d">RCLCxLedger</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& l) : <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>{l}</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  {</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>  </div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classripple_1_1RCLCxLedger.html#aaad5276a8dd4c15270ed5b847cf511cd">Seq</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a633355f2ccfe0511fe0ed6124476229a"> 61</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a633355f2ccfe0511fe0ed6124476229a">seq</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().seq;</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">ID</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a7eef60e8fb9bb2ec0d84ab71ceee8bd2"> 68</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a7eef60e8fb9bb2ec0d84ab71ceee8bd2">id</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().hash;</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">ID</a> <span class="keyword">const</span>&</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#add5fb8dad591fb25b57193ce96e90a90"> 75</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#add5fb8dad591fb25b57193ce96e90a90">parentID</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().parentHash;</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">NetClock::duration</a></div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a19f2fa230d7885111a6ef321a72558ac"> 82</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a19f2fa230d7885111a6ef321a72558ac">closeTimeResolution</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().closeTimeResolution;</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>  </div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">bool</span></div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#ae41ed9f6c557c46d64fbd398b2f35652"> 89</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#ae41ed9f6c557c46d64fbd398b2f35652">closeAgree</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#a2bb299a1db65861baa4c6c1c91cf336f">ripple::getCloseAgree</a>(<a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info());</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a></div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a8c31440ae6e0832e39f4acb30c3734dd"> 96</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a8c31440ae6e0832e39f4acb30c3734dd">closeTime</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().closeTime;</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>  </div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a></div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a563a6ec2d0c01b8ade4a47dc9b7c8b73"> 103</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#a563a6ec2d0c01b8ade4a47dc9b7c8b73">parentCloseTime</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>->info().parentCloseTime;</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>  </div>
|
|
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#aad38a2e710238aef4c8c3ba64c229aee"> 110</a></span>  <a class="code" href="classripple_1_1RCLCxLedger.html#aad38a2e710238aef4c8c3ba64c229aee">getJson</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword"> </span>{</div>
|
|
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceripple.html#ad30131b5a5b7cf60d9b392ab868b8c0e">ripple::getJson</a>({*<a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>, {}});</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>  </div>
|
|
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc"> 120</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <a class="code" href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ledger_</a>;</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="comment">// namespace ripple</span></div>
|
|
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="preprocessor">#endif</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_ae41ed9f6c557c46d64fbd398b2f35652"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#ae41ed9f6c557c46d64fbd398b2f35652">ripple::RCLCxLedger::closeAgree</a></div><div class="ttdeci">bool closeAgree() const</div><div class="ttdoc">Whether consensus process agreed on close time of the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00089">RCLCxLedger.h:89</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_af5a72d3e0d9b6913c13f688390b90796"><div class="ttname"><a href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">ripple::LedgerHash</a></div><div class="ttdeci">uint256 LedgerHash</div><div class="ttdef"><b>Definition:</b> <a href="RippleLedgerHash_8h_source.html#l00027">RippleLedgerHash.h:27</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_aaad5276a8dd4c15270ed5b847cf511cd"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#aaad5276a8dd4c15270ed5b847cf511cd">ripple::RCLCxLedger::Seq</a></div><div class="ttdeci">LedgerIndex Seq</div><div class="ttdoc">Sequence number of a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00041">RCLCxLedger.h:41</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a12af8e98b794e8ee3b4dbecaed2a4efd"><div class="ttname"><a href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">ripple::LedgerIndex</a></div><div class="ttdeci">std::uint32_t LedgerIndex</div><div class="ttdoc">A ledger index.</div><div class="ttdef"><b>Definition:</b> <a href="Protocol_8h_source.html#l00090">Protocol.h:90</a></div></div>
|
|
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a82a3ffad24861fae7168a5890e691ac3"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a82a3ffad24861fae7168a5890e691ac3">ripple::RCLCxLedger::RCLCxLedger</a></div><div class="ttdeci">RCLCxLedger()=default</div><div class="ttdoc">Default constructor.</div></div>
|
|
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::duration</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a612799ae2590556cfacbf081a7a1b01d"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a612799ae2590556cfacbf081a7a1b01d">ripple::RCLCxLedger::RCLCxLedger</a></div><div class="ttdeci">RCLCxLedger(std::shared_ptr< Ledger const > const &l)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00055">RCLCxLedger.h:55</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a8c31440ae6e0832e39f4acb30c3734dd"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a8c31440ae6e0832e39f4acb30c3734dd">ripple::RCLCxLedger::closeTime</a></div><div class="ttdeci">NetClock::time_point closeTime() const</div><div class="ttdoc">The close time of this ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00096">RCLCxLedger.h:96</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a633355f2ccfe0511fe0ed6124476229a"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a633355f2ccfe0511fe0ed6124476229a">ripple::RCLCxLedger::seq</a></div><div class="ttdeci">Seq const & seq() const</div><div class="ttdoc">Sequence number of the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00061">RCLCxLedger.h:61</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_add5fb8dad591fb25b57193ce96e90a90"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#add5fb8dad591fb25b57193ce96e90a90">ripple::RCLCxLedger::parentID</a></div><div class="ttdeci">ID const & parentID() const</div><div class="ttdoc">Unique identifier (hash) of this ledger's parent.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00075">RCLCxLedger.h:75</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a19f2fa230d7885111a6ef321a72558ac"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a19f2fa230d7885111a6ef321a72558ac">ripple::RCLCxLedger::closeTimeResolution</a></div><div class="ttdeci">NetClock::duration closeTimeResolution() const</div><div class="ttdoc">Resolution used when calculating this ledger's close time.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00082">RCLCxLedger.h:82</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_1RCLCxLedger_html_aad38a2e710238aef4c8c3ba64c229aee"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#aad38a2e710238aef4c8c3ba64c229aee">ripple::RCLCxLedger::getJson</a></div><div class="ttdeci">Json::Value getJson() const</div><div class="ttdoc">JSON representation of this ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00110">RCLCxLedger.h:110</a></div></div>
|
|
<div class="ttc" id="atime_point_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point.html">std::chrono::time_point</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a7eef60e8fb9bb2ec0d84ab71ceee8bd2"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a7eef60e8fb9bb2ec0d84ab71ceee8bd2">ripple::RCLCxLedger::id</a></div><div class="ttdeci">ID const & id() const</div><div class="ttdoc">Unique identifier (hash) of this ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00068">RCLCxLedger.h:68</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a7bb654d6e2d8f3df2cf4bf5091a7d0eb"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">ripple::RCLCxLedger::ID</a></div><div class="ttdeci">LedgerHash ID</div><div class="ttdoc">Unique identifier of a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00039">RCLCxLedger.h:39</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="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_ad30131b5a5b7cf60d9b392ab868b8c0e"><div class="ttname"><a href="namespaceripple.html#ad30131b5a5b7cf60d9b392ab868b8c0e">ripple::getJson</a></div><div class="ttdeci">Json::Value getJson(LedgerFill const &fill)</div><div class="ttdoc">Return a new Json::Value representing the ledger with given options.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerToJson_8cpp_source.html#l00291">LedgerToJson.cpp:291</a></div></div>
|
|
<div class="ttc" id="anamespaceripple_html_a2bb299a1db65861baa4c6c1c91cf336f"><div class="ttname"><a href="namespaceripple.html#a2bb299a1db65861baa4c6c1c91cf336f">ripple::getCloseAgree</a></div><div class="ttdeci">bool getCloseAgree(LedgerInfo const &info)</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00351">ReadView.h:351</a></div></div>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html">ripple::RCLCxLedger</a></div><div class="ttdoc">Represents a ledger in RCLConsensus.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00035">RCLCxLedger.h:35</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="aclassripple_1_1RCLCxLedger_html_a790fedb2406a5d248f2188da3c421dbc"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a790fedb2406a5d248f2188da3c421dbc">ripple::RCLCxLedger::ledger_</a></div><div class="ttdeci">std::shared_ptr< Ledger const > ledger_</div><div class="ttdoc">The ledger instance.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00120">RCLCxLedger.h:120</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>
|
|
<div class="ttc" id="aclassripple_1_1RCLCxLedger_html_a563a6ec2d0c01b8ade4a47dc9b7c8b73"><div class="ttname"><a href="classripple_1_1RCLCxLedger.html#a563a6ec2d0c01b8ade4a47dc9b7c8b73">ripple::RCLCxLedger::parentCloseTime</a></div><div class="ttdeci">NetClock::time_point parentCloseTime() const</div><div class="ttdoc">The close time of this ledger's parent.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCxLedger_8h_source.html#l00103">RCLCxLedger.h:103</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>
|