Files
rippled/classripple_1_1RCLValidatedLedger.html
2025-11-04 00:36:48 -08:00

488 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: 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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="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>
<p><code>#include &lt;<a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>&gt;</code></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="#aripple_1_1RCLValidatedLedger_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1RCLValidatedLedger_coll__map" id="aripple_1_1RCLValidatedLedger_coll__map">
<area shape="rect" title="Wraps a ledger instance for use in generic Validations LedgerTrie." alt="" coords="1012,94,1208,119"/>
<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,85,631,125"/>
<area shape="poly" title=" " alt="" coords="644,113,747,121,886,122,1012,114,1012,119,886,127,747,127,644,118"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="747,57,889,97"/>
<area shape="poly" title=" " alt="" coords="644,94,746,82,747,88,644,99"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,58,349,83"/>
<area shape="poly" title=" " alt="" coords="363,76,489,93,489,98,363,81"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,108,389,148"/>
<area shape="poly" title=" " alt="" coords="403,117,462,112,489,110,489,115,463,117,403,123"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,61,108,86"/>
<area shape="poly" title=" " alt="" coords="106,54,197,30,250,21,304,17,819,17,897,26,972,45,1037,70,1085,91,1083,96,1035,75,971,50,896,31,819,23,304,23,251,26,198,35,107,59"/>
<area shape="poly" title=" " alt="" coords="122,85,222,107,221,112,121,90"/>
<area shape="poly" title=" " alt="" coords="903,83,1012,94,1012,100,902,88"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="763,185,873,210"/>
<area shape="poly" title=" " alt="" coords="887,188,937,180,987,167,1043,143,1088,117,1090,122,1045,147,989,172,938,185,887,194"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="487,185,633,210"/>
<area shape="poly" title=" " alt="" coords="647,195,763,195,763,200,647,200"/>
</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 id="nested-classes" 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 id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afbfd864e70f78247fdb53a212d9be94d" id="r_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" id="r_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 id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6b81953ef679bbfc464def69651f6d6b" id="r_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" id="r_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" id="r_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. <br /></td></tr>
<tr class="separator:ac390ca267febb71a61e9fcdbaca0f3c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a070e5843fed5416ecef06241a95b8914" id="r_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. <br /></td></tr>
<tr class="separator:a070e5843fed5416ecef06241a95b8914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360dd594e7c769f0c70072be45a30788" id="r_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. <br /></td></tr>
<tr class="separator:a360dd594e7c769f0c70072be45a30788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747d2543e7058fdc2ef7c2f2f75340b8" id="r_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 id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a92e81158c1016bd7f6c5309ce6091a57" id="r_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" id="r_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" id="r_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" id="r_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 id="friends" name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a44c540c8f016ba00c0739c22cf08fd16" id="r_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. <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#l00139">139</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" name="afbfd864e70f78247fdb53a212d9be94d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbfd864e70f78247fdb53a212d9be94d">&#9670;&#160;</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#l00142">142</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="a000286029eaff7f1f18cf602c33a05f3" name="a000286029eaff7f1f18cf602c33a05f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a000286029eaff7f1f18cf602c33a05f3">&#9670;&#160;</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#l00143">143</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" name="a6b81953ef679bbfc464def69651f6d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b81953ef679bbfc464def69651f6d6b">&#9670;&#160;</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#l00018">18</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a44b160c7cb5da957acf584dfbbe38ecf" name="a44b160c7cb5da957acf584dfbbe38ecf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44b160c7cb5da957acf584dfbbe38ecf">&#9670;&#160;</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#l00023">23</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" name="ac390ca267febb71a61e9fcdbaca0f3c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac390ca267febb71a61e9fcdbaca0f3c2">&#9670;&#160;</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#l00049">49</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a070e5843fed5416ecef06241a95b8914" name="a070e5843fed5416ecef06241a95b8914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a070e5843fed5416ecef06241a95b8914">&#9670;&#160;</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#l00054">54</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a360dd594e7c769f0c70072be45a30788" name="a360dd594e7c769f0c70072be45a30788"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a360dd594e7c769f0c70072be45a30788">&#9670;&#160;</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#l00060">60</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<a id="a747d2543e7058fdc2ef7c2f2f75340b8" name="a747d2543e7058fdc2ef7c2f2f75340b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747d2543e7058fdc2ef7c2f2f75340b8">&#9670;&#160;</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#l00043">43</a> of file <a class="el" href="RCLValidations_8cpp_source.html">RCLValidations.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
<a id="a44c540c8f016ba00c0739c22cf08fd16" name="a44c540c8f016ba00c0739c22cf08fd16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44c540c8f016ba00c0739c22cf08fd16">&#9670;&#160;</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#l00080">80</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" name="a92e81158c1016bd7f6c5309ce6091a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92e81158c1016bd7f6c5309ce6091a57">&#9670;&#160;</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#l00180">180</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="a49bbbf81d38f4bec551eae6176be023f" name="a49bbbf81d38f4bec551eae6176be023f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49bbbf81d38f4bec551eae6176be023f">&#9670;&#160;</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#l00181">181</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="ab8f38a7b4e4b9bdc90fadf79a2f5af75" name="ab8f38a7b4e4b9bdc90fadf79a2f5af75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8f38a7b4e4b9bdc90fadf79a2f5af75">&#9670;&#160;</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#l00182">182</a> of file <a class="el" href="RCLValidations_8h_source.html">RCLValidations.h</a>.</p>
</div>
</div>
<a id="afe1e61e38124257ba2d4bc8a4aeccec5" name="afe1e61e38124257ba2d4bc8a4aeccec5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe1e61e38124257ba2d4bc8a4aeccec5">&#9670;&#160;</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#l00183">183</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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>