Files
rippled/classripple_1_1RCLConsensus.html
2025-01-21 19:58:08 +00:00

794 lines
50 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.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::RCLConsensus 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.5 -->
<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_1RCLConsensus.html">RCLConsensus</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classripple_1_1RCLConsensus-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::RCLConsensus Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Manages the generic consensus algorithm for use by the RCL.
<a href="classripple_1_1RCLConsensus.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ripple::RCLConsensus:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1RCLConsensus__coll__graph.png" border="0" usemap="#aripple_1_1RCLConsensus_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1RCLConsensus_coll__map" id="aripple_1_1RCLConsensus_coll__map">
<area shape="rect" title="Manages the generic consensus algorithm for use by the RCL." alt="" coords="2448,634,2611,659"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="5,955,164,981"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children." alt="" coords="251,839,419,879"/>
<area shape="rect" href="classripple_1_1LedgerMaster.html" title=" " alt="" coords="1335,951,1491,977"/>
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="879,1373,1032,1427"/>
<area shape="rect" href="classripple_1_1RCLConsensus_1_1Adaptor.html" title=" " alt="" coords="1776,1237,1939,1277"/>
<area shape="rect" href="classripple_1_1Consensus.html" title=" " alt="" coords="2153,1959,2320,2014"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="550,779,690,805"/>
<area shape="rect" href="classripple_1_1LedgerHistory.html" title="Retains historical ledgers." alt="" coords="876,866,1035,891"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1327,292,1498,332"/>
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="896,230,1015,255"/>
<area shape="rect" href="classripple_1_1AbstractFetchPackContainer.html" title="An interface facilitating retrieval of fetch packs without an application or ledgermaster object." alt="" coords="862,675,1049,715"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="565,1250,675,1275"/>
<area shape="rect" href="classripple_1_1NegativeUNLVote.html" title="Manager to create NegativeUNL votes." alt="" coords="1322,1345,1503,1370"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="261,1250,408,1275"/>
<area shape="rect" href="classripple_1_1LedgerHolder.html" title="Hold a ledger in a thread&#45;safe way." alt="" coords="878,423,1033,449"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="535,355,705,395"/>
<area shape="rect" href="classripple_1_1RCLCxLedger.html" title="Represents a ledger in RCLConsensus." alt="" coords="1101,103,1255,129"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="861,916,1050,956"/>
<area shape="rect" href="classripple_1_1CanonicalTXSet.html" title="Holds transactions which were deferred to the next pass of consensus." alt="" coords="871,981,1040,1006"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="870,1031,1041,1071"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic_flag.html" title=" " alt="" coords="892,1095,1019,1121"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="852,625,1059,650"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="569,557,671,582"/>
<area shape="rect" href="classripple_1_1ValidatorKeys.html" title="Validator keys and manifest as set in configuration file." alt="" coords="877,129,1033,154"/>
<area shape="rect" href="classbeast_1_1abstract__clock.html" title="Abstract interface to a clock." alt="" coords="540,1564,700,1604"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="569,1490,671,1515"/>
<area shape="rect" href="structripple_1_1LedgerMaster_1_1Stats.html" title=" " alt="" coords="877,801,1033,841"/>
<area shape="rect" href="classripple_1_1LocalTxs.html" title=" " alt="" coords="1351,853,1475,878"/>
<area shape="rect" href="classripple_1_1InboundTransactions.html" title="Manages the acquisition and lifetime of transaction sets." alt="" coords="1313,902,1513,927"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="533,57,707,97"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="885,1503,1026,1543"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="576,1677,664,1702"/>
<area shape="rect" href="structripple_1_1ConsensusParms.html" title="Consensus algorithm parameters." alt="" coords="1324,1674,1501,1699"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1083,1553,1273,1578"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="863,1855,1047,1881"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1321,1609,1504,1649"/>
<area shape="rect" href="classripple_1_1ConsensusTimer.html" title="Measures the duration of phases of consensus." alt="" coords="1552,1894,1727,1919"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/time_point.html" title=" " alt="" coords="1327,2160,1499,2200"/>
<area shape="rect" href="structripple_1_1ConsensusCloseTimes.html" title="Stores the set of initial close times." alt="" coords="1751,2227,1964,2253"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1336,1194,1489,1219"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1297,1295,1528,1321"/>
<area shape="rect" href="classripple_1_1RCLCensorshipDetector.html" title=" " alt="" coords="1303,357,1523,411"/>
<area shape="rect" href="classripple_1_1Consensus_1_1MonitoredMode.html" title=" " alt="" coords="1756,2277,1959,2317"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="1779,2341,1935,2381"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1775,2406,1939,2461"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1779,2485,1935,2525"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1751,1661,1964,1701"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1771,1893,1944,1947"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_set.html" title=" " alt="" coords="1786,2035,1929,2075"/>
</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">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</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-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a644744c1ada1b4d9822c79a07934d852"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a644744c1ada1b4d9822c79a07934d852">RCLConsensus</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &amp;app, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1FeeVote.html">FeeVote</a> &gt; &amp;&amp;feeVote, <a class="el" href="classripple_1_1LedgerMaster.html">LedgerMaster</a> &amp;<a class="el" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c">ledgerMaster</a>, <a class="el" href="classripple_1_1LocalTxs.html">LocalTxs</a> &amp;localTxs, <a class="el" href="classripple_1_1InboundTransactions.html">InboundTransactions</a> &amp;inboundTransactions, <a class="el" href="classripple_1_1Consensus.html">Consensus</a>&lt; <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a> &gt;::clock_type const &amp;clock, <a class="el" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> const &amp;validatorKeys, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="memdesc:a644744c1ada1b4d9822c79a07934d852"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="classripple_1_1RCLConsensus.html#a644744c1ada1b4d9822c79a07934d852">More...</a><br /></td></tr>
<tr class="separator:a644744c1ada1b4d9822c79a07934d852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0729fe64a3d02cea8d6329cb0a37bae3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a0729fe64a3d02cea8d6329cb0a37bae3">RCLConsensus</a> (<a class="el" href="classripple_1_1RCLConsensus.html">RCLConsensus</a> const &amp;)=delete</td></tr>
<tr class="separator:a0729fe64a3d02cea8d6329cb0a37bae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a576c724aa2266962b17ce6c83e0de4dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLConsensus.html">RCLConsensus</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a576c724aa2266962b17ce6c83e0de4dc">operator=</a> (<a class="el" href="classripple_1_1RCLConsensus.html">RCLConsensus</a> const &amp;)=delete</td></tr>
<tr class="separator:a576c724aa2266962b17ce6c83e0de4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55a20570465648d3398698c7f2640cae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a55a20570465648d3398698c7f2640cae">validating</a> () const</td></tr>
<tr class="memdesc:a55a20570465648d3398698c7f2640cae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether we are validating consensus ledgers. <a href="classripple_1_1RCLConsensus.html#a55a20570465648d3398698c7f2640cae">More...</a><br /></td></tr>
<tr class="separator:a55a20570465648d3398698c7f2640cae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26d19ae0a6f1578b35205d6fff9f568b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a26d19ae0a6f1578b35205d6fff9f568b">prevProposers</a> () const</td></tr>
<tr class="memdesc:a26d19ae0a6f1578b35205d6fff9f568b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of proposing peers that participated in the previous round. <a href="classripple_1_1RCLConsensus.html#a26d19ae0a6f1578b35205d6fff9f568b">More...</a><br /></td></tr>
<tr class="separator:a26d19ae0a6f1578b35205d6fff9f568b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d8b3e2076d180987acd29a2e49afd9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a61d8b3e2076d180987acd29a2e49afd9">prevRoundTime</a> () const</td></tr>
<tr class="memdesc:a61d8b3e2076d180987acd29a2e49afd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get duration of the previous round. <a href="classripple_1_1RCLConsensus.html#a61d8b3e2076d180987acd29a2e49afd9">More...</a><br /></td></tr>
<tr class="separator:a61d8b3e2076d180987acd29a2e49afd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69763dd94428cf050b9badb43d4ca398"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a69763dd94428cf050b9badb43d4ca398">mode</a> () const</td></tr>
<tr class="separator:a69763dd94428cf050b9badb43d4ca398"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8611e0902438dcf5726de2a158e3b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a77adb10ef53a2e25195ccd38b46bfe9b">ConsensusPhase</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a4b8611e0902438dcf5726de2a158e3b9">phase</a> () const</td></tr>
<tr class="separator:a4b8611e0902438dcf5726de2a158e3b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdab4291925cbabf861b8019c76355ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#acdab4291925cbabf861b8019c76355ea">getJson</a> (bool full) const</td></tr>
<tr class="separator:acdab4291925cbabf861b8019c76355ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a250f08961ce3c3410f96824cfe385bd2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a250f08961ce3c3410f96824cfe385bd2">startRound</a> (<a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;now, <a class="el" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">RCLCxLedger::ID</a> const &amp;prevLgrId, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &amp;prevLgr, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>&lt; <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> &gt; const &amp;nowUntrusted, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>&lt; <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> &gt; const &amp;nowTrusted)</td></tr>
<tr class="memdesc:a250f08961ce3c3410f96824cfe385bd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the set of trusted validators and kick-off the next round of consensus. <a href="classripple_1_1RCLConsensus.html#a250f08961ce3c3410f96824cfe385bd2">More...</a><br /></td></tr>
<tr class="separator:a250f08961ce3c3410f96824cfe385bd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66f29b3d7bf4aedbc6b6af362572e91c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a66f29b3d7bf4aedbc6b6af362572e91c">timerEntry</a> (<a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;now)</td></tr>
<tr class="separator:a66f29b3d7bf4aedbc6b6af362572e91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a269eadc254a964bcd8d79876420c379b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a269eadc254a964bcd8d79876420c379b">gotTxSet</a> (<a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;now, <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const &amp;txSet)</td></tr>
<tr class="separator:a269eadc254a964bcd8d79876420c379b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addae10b039fd2403d002df742e5b409b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">RCLCxLedger::ID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#addae10b039fd2403d002df742e5b409b">prevLedgerID</a> () const</td></tr>
<tr class="separator:addae10b039fd2403d002df742e5b409b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41b5d07d847a52a3408b8e366b8ee53b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a41b5d07d847a52a3408b8e366b8ee53b">simulate</a> (<a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;now, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> &gt; consensusDelay)</td></tr>
<tr class="separator:a41b5d07d847a52a3408b8e366b8ee53b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e46b668adf5d791806adf85d852c11"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#aa0e46b668adf5d791806adf85d852c11">peerProposal</a> (<a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;now, <a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a> const &amp;newProposal)</td></tr>
<tr class="separator:aa0e46b668adf5d791806adf85d852c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acccd7fe8e3c3294a2aa6de3f3ab186ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1ConsensusParms.html">ConsensusParms</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#acccd7fe8e3c3294a2aa6de3f3ab186ff">parms</a> () const</td></tr>
<tr class="separator:acccd7fe8e3c3294a2aa6de3f3ab186ff"><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:a84d76715067b0c309c57b9e19d0ed2bd"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a84d76715067b0c309c57b9e19d0ed2bd">mutex_</a></td></tr>
<tr class="separator:a84d76715067b0c309c57b9e19d0ed2bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc9a72a85632483bb04f03f00af63db3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#abc9a72a85632483bb04f03f00af63db3">adaptor_</a></td></tr>
<tr class="separator:abc9a72a85632483bb04f03f00af63db3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95eae2c34b7b917b097947ff42e9c94c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Consensus.html">Consensus</a>&lt; <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a95eae2c34b7b917b097947ff42e9c94c">consensus_</a></td></tr>
<tr class="separator:a95eae2c34b7b917b097947ff42e9c94c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd657a591b7d8f01722d31787ca7e959"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#afd657a591b7d8f01722d31787ca7e959">j_</a></td></tr>
<tr class="separator:afd657a591b7d8f01722d31787ca7e959"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-static-attribs" name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a6a92162f62d54bf606c5fa683d7552cc"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus.html#a6a92162f62d54bf606c5fa683d7552cc">censorshipWarnInternal</a> = 15</td></tr>
<tr class="memdesc:a6a92162f62d54bf606c5fa683d7552cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Warn for transactions that haven't been included every so many ledgers. <a href="classripple_1_1RCLConsensus.html#a6a92162f62d54bf606c5fa683d7552cc">More...</a><br /></td></tr>
<tr class="separator:a6a92162f62d54bf606c5fa683d7552cc"><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 >Manages the generic consensus algorithm for use by the RCL. </p>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00050">50</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a644744c1ada1b4d9822c79a07934d852" name="a644744c1ada1b4d9822c79a07934d852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a644744c1ada1b4d9822c79a07934d852">&#9670;&#160;</a></span>RCLConsensus() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::RCLConsensus::RCLConsensus </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td>
<td class="paramname"><em>app</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1FeeVote.html">FeeVote</a> &gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>feeVote</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1LedgerMaster.html">LedgerMaster</a> &amp;&#160;</td>
<td class="paramname"><em>ledgerMaster</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1LocalTxs.html">LocalTxs</a> &amp;&#160;</td>
<td class="paramname"><em>localTxs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1InboundTransactions.html">InboundTransactions</a> &amp;&#160;</td>
<td class="paramname"><em>inboundTransactions</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Consensus.html">Consensus</a>&lt; <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a> &gt;::clock_type const &amp;&#160;</td>
<td class="paramname"><em>clock</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> const &amp;&#160;</td>
<td class="paramname"><em>validatorKeys</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>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00052">52</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="a0729fe64a3d02cea8d6329cb0a37bae3" name="a0729fe64a3d02cea8d6329cb0a37bae3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0729fe64a3d02cea8d6329cb0a37bae3">&#9670;&#160;</a></span>RCLConsensus() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::RCLConsensus::RCLConsensus </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLConsensus.html">RCLConsensus</a> const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a576c724aa2266962b17ce6c83e0de4dc" name="a576c724aa2266962b17ce6c83e0de4dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a576c724aa2266962b17ce6c83e0de4dc">&#9670;&#160;</a></span>operator=()</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_1RCLConsensus.html">RCLConsensus</a> &amp; ripple::RCLConsensus::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLConsensus.html">RCLConsensus</a> const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a55a20570465648d3398698c7f2640cae" name="a55a20570465648d3398698c7f2640cae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55a20570465648d3398698c7f2640cae">&#9670;&#160;</a></span>validating()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::RCLConsensus::validating </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Whether we are validating consensus ledgers. </p>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00435">435</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a26d19ae0a6f1578b35205d6fff9f568b" name="a26d19ae0a6f1578b35205d6fff9f568b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26d19ae0a6f1578b35205d6fff9f568b">&#9670;&#160;</a></span>prevProposers()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> ripple::RCLConsensus::prevProposers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the number of proposing peers that participated in the previous round. </p>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00443">443</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a61d8b3e2076d180987acd29a2e49afd9" name="a61d8b3e2076d180987acd29a2e49afd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61d8b3e2076d180987acd29a2e49afd9">&#9670;&#160;</a></span>prevRoundTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> ripple::RCLConsensus::prevRoundTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get duration of the previous round. </p>
<p >The duration of the round is the establish phase, measured from closing the open ledger to accepting the consensus result.</p>
<dl class="section return"><dt>Returns</dt><dd>Last round duration in milliseconds </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00456">456</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a69763dd94428cf050b9badb43d4ca398" name="a69763dd94428cf050b9badb43d4ca398"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69763dd94428cf050b9badb43d4ca398">&#9670;&#160;</a></span>mode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> ripple::RCLConsensus::mode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>Consensus::mode </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00463">463</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a4b8611e0902438dcf5726de2a158e3b9" name="a4b8611e0902438dcf5726de2a158e3b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b8611e0902438dcf5726de2a158e3b9">&#9670;&#160;</a></span>phase()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a77adb10ef53a2e25195ccd38b46bfe9b">ConsensusPhase</a> ripple::RCLConsensus::phase </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="RCLConsensus_8h_source.html#l00469">469</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="acdab4291925cbabf861b8019c76355ea" name="acdab4291925cbabf861b8019c76355ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdab4291925cbabf861b8019c76355ea">&#9670;&#160;</a></span>getJson()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::RCLConsensus::getJson </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>full</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1Consensus.html#a6e81235f0c5f91c23cbe1938ffe8a9e3" title="Get the Json state of the consensus process.">Consensus::getJson</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00926">926</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="a250f08961ce3c3410f96824cfe385bd2" name="a250f08961ce3c3410f96824cfe385bd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a250f08961ce3c3410f96824cfe385bd2">&#9670;&#160;</a></span>startRound()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::RCLConsensus::startRound </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;&#160;</td>
<td class="paramname"><em>now</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">RCLCxLedger::ID</a> const &amp;&#160;</td>
<td class="paramname"><em>prevLgrId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &amp;&#160;</td>
<td class="paramname"><em>prevLgr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>&lt; <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>nowUntrusted</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>&lt; <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>nowTrusted</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adjust the set of trusted validators and kick-off the next round of consensus. </p>
<p >For more details, </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1Consensus.html#ae860970b8a78fda5497221c1a8bf1b98" title="Kick-off the next round of consensus.">Consensus::startRound</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l01080">1080</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="a66f29b3d7bf4aedbc6b6af362572e91c" name="a66f29b3d7bf4aedbc6b6af362572e91c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66f29b3d7bf4aedbc6b6af362572e91c">&#9670;&#160;</a></span>timerEntry()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::RCLConsensus::timerEntry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;&#160;</td>
<td class="paramname"><em>now</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1Consensus.html#a1d3b6552f4cbf49c31cf7032d68bfbce" title="Call periodically to drive consensus forward.">Consensus::timerEntry</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00938">938</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="a269eadc254a964bcd8d79876420c379b" name="a269eadc254a964bcd8d79876420c379b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a269eadc254a964bcd8d79876420c379b">&#9670;&#160;</a></span>gotTxSet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::RCLConsensus::gotTxSet </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;&#160;</td>
<td class="paramname"><em>now</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const &amp;&#160;</td>
<td class="paramname"><em>txSet</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1Consensus.html#a9dffbdf2708f81eee49bed08891a7b9a" title="Process a transaction set acquired from the network.">Consensus::gotTxSet</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00954">954</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="addae10b039fd2403d002df742e5b409b" name="addae10b039fd2403d002df742e5b409b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addae10b039fd2403d002df742e5b409b">&#9670;&#160;</a></span>prevLedgerID()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RCLCxLedger.html#a7bb654d6e2d8f3df2cf4bf5091a7d0eb">RCLCxLedger::ID</a> ripple::RCLConsensus::prevLedgerID </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="RCLConsensus_8h_source.html#l00499">499</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a41b5d07d847a52a3408b8e366b8ee53b" name="a41b5d07d847a52a3408b8e366b8ee53b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41b5d07d847a52a3408b8e366b8ee53b">&#9670;&#160;</a></span>simulate()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ripple::RCLConsensus::simulate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;&#160;</td>
<td class="paramname"><em>now</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> &gt;&#160;</td>
<td class="paramname"><em>consensusDelay</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1Consensus.html#a6d167e182528e6ba3192a40c8de4eae5" title="Simulate the consensus process without any network traffic.">Consensus::simulate</a> </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00972">972</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="aa0e46b668adf5d791806adf85d852c11" name="aa0e46b668adf5d791806adf85d852c11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e46b668adf5d791806adf85d852c11">&#9670;&#160;</a></span>peerProposal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::RCLConsensus::peerProposal </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &amp;&#160;</td>
<td class="paramname"><em>now</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a> const &amp;&#160;</td>
<td class="paramname"><em>newProposal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd>Consensus::proposal </dd></dl>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00981">981</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
</div>
</div>
<a id="acccd7fe8e3c3294a2aa6de3f3ab186ff" name="acccd7fe8e3c3294a2aa6de3f3ab186ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acccd7fe8e3c3294a2aa6de3f3ab186ff">&#9670;&#160;</a></span>parms()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1ConsensusParms.html">ConsensusParms</a> const &amp; ripple::RCLConsensus::parms </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="RCLConsensus_8h_source.html#l00518">518</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a6a92162f62d54bf606c5fa683d7552cc" name="a6a92162f62d54bf606c5fa683d7552cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a92162f62d54bf606c5fa683d7552cc">&#9670;&#160;</a></span>censorshipWarnInternal</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">constexpr unsigned int ripple::RCLConsensus::censorshipWarnInternal = 15</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Warn for transactions that haven't been included every so many ledgers. </p>
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00054">54</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a84d76715067b0c309c57b9e19d0ed2bd" name="a84d76715067b0c309c57b9e19d0ed2bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84d76715067b0c309c57b9e19d0ed2bd">&#9670;&#160;</a></span>mutex_</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/thread/recursive_mutex.html">std::recursive_mutex</a> ripple::RCLConsensus::mutex_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00527">527</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="abc9a72a85632483bb04f03f00af63db3" name="abc9a72a85632483bb04f03f00af63db3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc9a72a85632483bb04f03f00af63db3">&#9670;&#160;</a></span>adaptor_</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_1RCLConsensus_1_1Adaptor.html">Adaptor</a> ripple::RCLConsensus::adaptor_</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="RCLConsensus_8h_source.html#l00529">529</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="a95eae2c34b7b917b097947ff42e9c94c" name="a95eae2c34b7b917b097947ff42e9c94c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95eae2c34b7b917b097947ff42e9c94c">&#9670;&#160;</a></span>consensus_</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_1Consensus.html">Consensus</a>&lt;<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a>&gt; ripple::RCLConsensus::consensus_</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="RCLConsensus_8h_source.html#l00530">530</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
</div>
</div>
<a id="afd657a591b7d8f01722d31787ca7e959" name="afd657a591b7d8f01722d31787ca7e959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd657a591b7d8f01722d31787ca7e959">&#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> const ripple::RCLConsensus::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="RCLConsensus_8h_source.html#l00531">531</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.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.5
</small></address>
</body>
</html>