Files
rippled/classripple_1_1RCLValidatedLedger.html
2022-05-11 23:57:28 +00:00

472 lines
28 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: ripple::RCLValidatedLedger Class Reference</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&amp;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&amp;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="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1RCLValidatedLedger.html">RCLValidatedLedger</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classripple_1_1RCLValidatedLedger-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::RCLValidatedLedger Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Wraps a ledger instance for use in generic <a class="el" href="classripple_1_1Validations.html" title="Maintains current and recent ledger validations.">Validations</a> <a class="el" href="classripple_1_1LedgerTrie.html" title="Ancestry trie of ledgers.">LedgerTrie</a>.
<a href="classripple_1_1RCLValidatedLedger.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for ripple::RCLValidatedLedger:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1RCLValidatedLedger__coll__graph.png" border="0" usemap="#ripple_1_1RCLValidatedLedger_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1RCLValidatedLedger_coll__map" id="ripple_1_1RCLValidatedLedger_coll__map">
<area shape="rect" title="Wraps a ledger instance for use in generic Validations LedgerTrie." alt="" coords="1012,76,1207,103"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,36,108,63"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,58,389,99"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="747,121,889,162"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="489,93,631,134"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,125,349,152"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="763,187,873,213"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="487,187,633,213"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1RCLValidatedLedger_1_1MakeGenesis.html">MakeGenesis</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afbfd864e70f78247fdb53a212d9be94d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ID</a> = <a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a></td></tr>
<tr class="separator:afbfd864e70f78247fdb53a212d9be94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a000286029eaff7f1f18cf602c33a05f3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a> = <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a></td></tr>
<tr class="separator:a000286029eaff7f1f18cf602c33a05f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b81953ef679bbfc464def69651f6d6b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a6b81953ef679bbfc464def69651f6d6b">RCLValidatedLedger</a> (<a class="el" href="structripple_1_1RCLValidatedLedger_1_1MakeGenesis.html">MakeGenesis</a>)</td></tr>
<tr class="separator:a6b81953ef679bbfc464def69651f6d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44b160c7cb5da957acf584dfbbe38ecf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a44b160c7cb5da957acf584dfbbe38ecf">RCLValidatedLedger</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const &gt; const &amp;ledger, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> j)</td></tr>
<tr class="separator:a44b160c7cb5da957acf584dfbbe38ecf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac390ca267febb71a61e9fcdbaca0f3c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#ac390ca267febb71a61e9fcdbaca0f3c2">seq</a> () const</td></tr>
<tr class="memdesc:ac390ca267febb71a61e9fcdbaca0f3c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The sequence (index) of the ledger. <a href="classripple_1_1RCLValidatedLedger.html#ac390ca267febb71a61e9fcdbaca0f3c2">More...</a><br /></td></tr>
<tr class="separator:ac390ca267febb71a61e9fcdbaca0f3c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a070e5843fed5416ecef06241a95b8914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a070e5843fed5416ecef06241a95b8914">id</a> () const</td></tr>
<tr class="memdesc:a070e5843fed5416ecef06241a95b8914"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ID (hash) of the ledger. <a href="classripple_1_1RCLValidatedLedger.html#a070e5843fed5416ecef06241a95b8914">More...</a><br /></td></tr>
<tr class="separator:a070e5843fed5416ecef06241a95b8914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360dd594e7c769f0c70072be45a30788"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a360dd594e7c769f0c70072be45a30788">operator[]</a> (<a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a> const &amp;s) const</td></tr>
<tr class="memdesc:a360dd594e7c769f0c70072be45a30788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lookup the ID of the ancestor ledger. <a href="classripple_1_1RCLValidatedLedger.html#a360dd594e7c769f0c70072be45a30788">More...</a><br /></td></tr>
<tr class="separator:a360dd594e7c769f0c70072be45a30788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747d2543e7058fdc2ef7c2f2f75340b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a747d2543e7058fdc2ef7c2f2f75340b8">minSeq</a> () const</td></tr>
<tr class="separator:a747d2543e7058fdc2ef7c2f2f75340b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a92e81158c1016bd7f6c5309ce6091a57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a92e81158c1016bd7f6c5309ce6091a57">ledgerID_</a></td></tr>
<tr class="separator:a92e81158c1016bd7f6c5309ce6091a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49bbbf81d38f4bec551eae6176be023f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a49bbbf81d38f4bec551eae6176be023f">ledgerSeq_</a></td></tr>
<tr class="separator:a49bbbf81d38f4bec551eae6176be023f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8f38a7b4e4b9bdc90fadf79a2f5af75"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#ab8f38a7b4e4b9bdc90fadf79a2f5af75">ancestors_</a></td></tr>
<tr class="separator:ab8f38a7b4e4b9bdc90fadf79a2f5af75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe1e61e38124257ba2d4bc8a4aeccec5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afe1e61e38124257ba2d4bc8a4aeccec5">j_</a></td></tr>
<tr class="separator:afe1e61e38124257ba2d4bc8a4aeccec5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a44c540c8f016ba00c0739c22cf08fd16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a44c540c8f016ba00c0739c22cf08fd16">mismatch</a> (<a class="el" href="classripple_1_1RCLValidatedLedger.html">RCLValidatedLedger</a> const &amp;a, <a class="el" href="classripple_1_1RCLValidatedLedger.html">RCLValidatedLedger</a> const &amp;b)</td></tr>
<tr class="memdesc:a44c540c8f016ba00c0739c22cf08fd16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find the sequence number of the earliest mismatching ancestor. <a href="classripple_1_1RCLValidatedLedger.html#a44c540c8f016ba00c0739c22cf08fd16">More...</a><br /></td></tr>
<tr class="separator:a44c540c8f016ba00c0739c22cf08fd16"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wraps a ledger instance for use in generic <a class="el" href="classripple_1_1Validations.html" title="Maintains current and recent ledger validations.">Validations</a> <a class="el" href="classripple_1_1LedgerTrie.html" title="Ancestry trie of ledgers.">LedgerTrie</a>. </p>
<p>The <a class="el" href="classripple_1_1LedgerTrie.html" title="Ancestry trie of ledgers.">LedgerTrie</a> models a ledger's history as a map from Seq -&gt; ID. Any two ledgers that have the same ID for a given Seq have the same ID for all earlier sequences (e.g. shared ancestry). In practice, a ledger only conveniently has the prior 256 ancestor hashes available. For <a class="el" href="classripple_1_1RCLValidatedLedger.html" title="Wraps a ledger instance for use in generic Validations LedgerTrie.">RCLValidatedLedger</a>, we treat any ledgers separated by more than 256 Seq as distinct. </p>
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00153">153</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="afbfd864e70f78247fdb53a212d9be94d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbfd864e70f78247fdb53a212d9be94d">&#9670;&nbsp;</a></span>ID</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ripple::RCLValidatedLedger::ID</a> = <a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00156">156</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="a000286029eaff7f1f18cf602c33a05f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a000286029eaff7f1f18cf602c33a05f3">&#9670;&nbsp;</a></span>Seq</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">ripple::RCLValidatedLedger::Seq</a> = <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00157">157</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a6b81953ef679bbfc464def69651f6d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b81953ef679bbfc464def69651f6d6b">&#9670;&nbsp;</a></span>RCLValidatedLedger() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::RCLValidatedLedger::RCLValidatedLedger </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RCLValidatedLedger_1_1MakeGenesis.html">MakeGenesis</a>&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00039">39</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a44b160c7cb5da957acf584dfbbe38ecf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44b160c7cb5da957acf584dfbbe38ecf">&#9670;&nbsp;</a></span>RCLValidatedLedger() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::RCLValidatedLedger::RCLValidatedLedger </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>ledger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>j</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00044">44</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac390ca267febb71a61e9fcdbaca0f3c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac390ca267febb71a61e9fcdbaca0f3c2">&#9670;&nbsp;</a></span>seq()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto ripple::RCLValidatedLedger::seq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>The sequence (index) of the ledger. </p>
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00067">67</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a070e5843fed5416ecef06241a95b8914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a070e5843fed5416ecef06241a95b8914">&#9670;&nbsp;</a></span>id()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto ripple::RCLValidatedLedger::id </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>The ID (hash) of the ledger. </p>
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00072">72</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a360dd594e7c769f0c70072be45a30788"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360dd594e7c769f0c70072be45a30788">&#9670;&nbsp;</a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto ripple::RCLValidatedLedger::operator[] </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a> const &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Lookup the ID of the ancestor ledger. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The sequence (index) of the ancestor </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ID of this ledger's ancestor with that sequence number or ID{0} if one was not determined </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00078">78</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a747d2543e7058fdc2ef7c2f2f75340b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747d2543e7058fdc2ef7c2f2f75340b8">&#9670;&nbsp;</a></span>minSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">auto ripple::RCLValidatedLedger::minSeq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00061">61</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a44c540c8f016ba00c0739c22cf08fd16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44c540c8f016ba00c0739c22cf08fd16">&#9670;&nbsp;</a></span>mismatch</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a> mismatch </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLValidatedLedger.html">RCLValidatedLedger</a> const &amp;&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLValidatedLedger.html">RCLValidatedLedger</a> const &amp;&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Find the sequence number of the earliest mismatching ancestor. </p>
<p class="definition">Definition at line <a class="el" href="RCLValidations_8cpp_source.html#l00098">98</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a92e81158c1016bd7f6c5309ce6091a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92e81158c1016bd7f6c5309ce6091a57">&#9670;&nbsp;</a></span>ledgerID_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RCLValidatedLedger.html#afbfd864e70f78247fdb53a212d9be94d">ID</a> ripple::RCLValidatedLedger::ledgerID_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00194">194</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="a49bbbf81d38f4bec551eae6176be023f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49bbbf81d38f4bec551eae6176be023f">&#9670;&nbsp;</a></span>ledgerSeq_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RCLValidatedLedger.html#a000286029eaff7f1f18cf602c33a05f3">Seq</a> ripple::RCLValidatedLedger::ledgerSeq_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00195">195</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="ab8f38a7b4e4b9bdc90fadf79a2f5af75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8f38a7b4e4b9bdc90fadf79a2f5af75">&#9670;&nbsp;</a></span>ancestors_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>&gt; ripple::RCLValidatedLedger::ancestors_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00196">196</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="afe1e61e38124257ba2d4bc8a4aeccec5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe1e61e38124257ba2d4bc8a4aeccec5">&#9670;&nbsp;</a></span>j_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> ripple::RCLValidatedLedger::j_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLValidations_8h_source.html#l00197">197</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>