Files
rippled/structripple_1_1ConsensusParms.html
2020-04-24 01:09:47 +00:00

568 lines
40 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::ConsensusParms Struct 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="structripple_1_1ConsensusParms.html">ConsensusParms</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structripple_1_1ConsensusParms-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::ConsensusParms Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classripple_1_1Consensus.html" title="Generic implementation of consensus algorithm.">Consensus</a> algorithm parameters.
<a href="structripple_1_1ConsensusParms.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for ripple::ConsensusParms:</div>
<div class="dyncontent">
<div class="center"><img src="structripple_1_1ConsensusParms__coll__graph.png" border="0" usemap="#ripple_1_1ConsensusParms_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1ConsensusParms_coll__map" id="ripple_1_1ConsensusParms_coll__map">
<area shape="rect" title="Consensus algorithm parameters." alt="" coords="187,212,365,239"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="5,5,160,32"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="184,5,368,32"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="431,5,519,32"/>
</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="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9ac9d2698f75ff667ac3a95d61bd1d7a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a9ac9d2698f75ff667ac3a95d61bd1d7a">ConsensusParms</a> ()=default</td></tr>
<tr class="separator:a9ac9d2698f75ff667ac3a95d61bd1d7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3e40877fb010dfca02909d191412a773"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a3e40877fb010dfca02909d191412a773">validationVALID_WALL</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{5}</td></tr>
<tr class="memdesc:a3e40877fb010dfca02909d191412a773"><td class="mdescLeft">&#160;</td><td class="mdescRight">The duration a validation remains current after its ledger's close time. <a href="structripple_1_1ConsensusParms.html#a3e40877fb010dfca02909d191412a773">More...</a><br /></td></tr>
<tr class="separator:a3e40877fb010dfca02909d191412a773"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b063686198b0f4bf2f46ccfe08d7bcb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a2b063686198b0f4bf2f46ccfe08d7bcb">validationVALID_LOCAL</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{3}</td></tr>
<tr class="memdesc:a2b063686198b0f4bf2f46ccfe08d7bcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duration a validation remains current after first observed. <a href="structripple_1_1ConsensusParms.html#a2b063686198b0f4bf2f46ccfe08d7bcb">More...</a><br /></td></tr>
<tr class="separator:a2b063686198b0f4bf2f46ccfe08d7bcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a435fdb2c3c08b84da69fdb396d55b41a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a435fdb2c3c08b84da69fdb396d55b41a">validationVALID_EARLY</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{3}</td></tr>
<tr class="memdesc:a435fdb2c3c08b84da69fdb396d55b41a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duration pre-close in which validations are acceptable. <a href="structripple_1_1ConsensusParms.html#a435fdb2c3c08b84da69fdb396d55b41a">More...</a><br /></td></tr>
<tr class="separator:a435fdb2c3c08b84da69fdb396d55b41a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df0bb4c2f0d244e323f1f5e9339418d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a5df0bb4c2f0d244e323f1f5e9339418d">proposeFRESHNESS</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{20}</td></tr>
<tr class="memdesc:a5df0bb4c2f0d244e323f1f5e9339418d"><td class="mdescLeft">&#160;</td><td class="mdescRight">How long we consider a proposal fresh. <a href="structripple_1_1ConsensusParms.html#a5df0bb4c2f0d244e323f1f5e9339418d">More...</a><br /></td></tr>
<tr class="separator:a5df0bb4c2f0d244e323f1f5e9339418d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cb822397f9939b90e97a267f02c64a0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1ConsensusParms.html#a9cb822397f9939b90e97a267f02c64a0">proposeINTERVAL</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{12}</td></tr>
<tr class="memdesc:a9cb822397f9939b90e97a267f02c64a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">How often we force generating a new proposal to keep ours fresh. <a href="structripple_1_1ConsensusParms.html#a9cb822397f9939b90e97a267f02c64a0">More...</a><br /></td></tr>
<tr class="separator:a9cb822397f9939b90e97a267f02c64a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0520be4c7ae7e150218c24cfa09fb2a3"><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="structripple_1_1ConsensusParms.html#a0520be4c7ae7e150218c24cfa09fb2a3">minCONSENSUS_PCT</a> = 80</td></tr>
<tr class="memdesc:a0520be4c7ae7e150218c24cfa09fb2a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The percentage threshold above which we can declare consensus. <a href="structripple_1_1ConsensusParms.html#a0520be4c7ae7e150218c24cfa09fb2a3">More...</a><br /></td></tr>
<tr class="separator:a0520be4c7ae7e150218c24cfa09fb2a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ceaf40f7aa169b4288a4242d890622"><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="structripple_1_1ConsensusParms.html#a14ceaf40f7aa169b4288a4242d890622">ledgerIDLE_INTERVAL</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{15}</td></tr>
<tr class="memdesc:a14ceaf40f7aa169b4288a4242d890622"><td class="mdescLeft">&#160;</td><td class="mdescRight">The duration a ledger may remain idle before closing. <a href="structripple_1_1ConsensusParms.html#a14ceaf40f7aa169b4288a4242d890622">More...</a><br /></td></tr>
<tr class="separator:a14ceaf40f7aa169b4288a4242d890622"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0939202b250b3e1577d24a0c5723aaed"><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="structripple_1_1ConsensusParms.html#a0939202b250b3e1577d24a0c5723aaed">ledgerMIN_CONSENSUS</a></td></tr>
<tr class="memdesc:a0939202b250b3e1577d24a0c5723aaed"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of seconds we wait minimum to ensure participation. <a href="structripple_1_1ConsensusParms.html#a0939202b250b3e1577d24a0c5723aaed">More...</a><br /></td></tr>
<tr class="separator:a0939202b250b3e1577d24a0c5723aaed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b184628a2010c17241711b652a9536a"><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="structripple_1_1ConsensusParms.html#a6b184628a2010c17241711b652a9536a">ledgerMAX_CONSENSUS</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{10}</td></tr>
<tr class="memdesc:a6b184628a2010c17241711b652a9536a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum amount of time to spend pausing for laggards. <a href="structripple_1_1ConsensusParms.html#a6b184628a2010c17241711b652a9536a">More...</a><br /></td></tr>
<tr class="separator:a6b184628a2010c17241711b652a9536a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b3b41a8faceadfb268d0baefaaf64d3"><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="structripple_1_1ConsensusParms.html#a8b3b41a8faceadfb268d0baefaaf64d3">ledgerMIN_CLOSE</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{2}</td></tr>
<tr class="memdesc:a8b3b41a8faceadfb268d0baefaaf64d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum number of seconds to wait to ensure others have computed the LCL. <a href="structripple_1_1ConsensusParms.html#a8b3b41a8faceadfb268d0baefaaf64d3">More...</a><br /></td></tr>
<tr class="separator:a8b3b41a8faceadfb268d0baefaaf64d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a418547e353c28850e08e49b5831ea0db"><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="structripple_1_1ConsensusParms.html#a418547e353c28850e08e49b5831ea0db">ledgerGRANULARITY</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{1}</td></tr>
<tr class="memdesc:a418547e353c28850e08e49b5831ea0db"><td class="mdescLeft">&#160;</td><td class="mdescRight">How often we check state or change positions. <a href="structripple_1_1ConsensusParms.html#a418547e353c28850e08e49b5831ea0db">More...</a><br /></td></tr>
<tr class="separator:a418547e353c28850e08e49b5831ea0db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21638a3d3caa47a696b645f8e6f007d6"><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="structripple_1_1ConsensusParms.html#a21638a3d3caa47a696b645f8e6f007d6">avMIN_CONSENSUS_TIME</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{5}</td></tr>
<tr class="memdesc:a21638a3d3caa47a696b645f8e6f007d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The minimum amount of time to consider the previous round to have taken. <a href="structripple_1_1ConsensusParms.html#a21638a3d3caa47a696b645f8e6f007d6">More...</a><br /></td></tr>
<tr class="separator:a21638a3d3caa47a696b645f8e6f007d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004108774cadaf48b592ab0c5805b865"><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="structripple_1_1ConsensusParms.html#a004108774cadaf48b592ab0c5805b865">avINIT_CONSENSUS_PCT</a> = 50</td></tr>
<tr class="memdesc:a004108774cadaf48b592ab0c5805b865"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of nodes on our UNL that must vote yes. <a href="structripple_1_1ConsensusParms.html#a004108774cadaf48b592ab0c5805b865">More...</a><br /></td></tr>
<tr class="separator:a004108774cadaf48b592ab0c5805b865"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd06939a6c18d834a0e35c537390b863"><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="structripple_1_1ConsensusParms.html#afd06939a6c18d834a0e35c537390b863">avMID_CONSENSUS_TIME</a> = 50</td></tr>
<tr class="memdesc:afd06939a6c18d834a0e35c537390b863"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of previous round duration before we advance. <a href="structripple_1_1ConsensusParms.html#afd06939a6c18d834a0e35c537390b863">More...</a><br /></td></tr>
<tr class="separator:afd06939a6c18d834a0e35c537390b863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc255d46ba3f6c893013ca5b79ba838e"><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="structripple_1_1ConsensusParms.html#acc255d46ba3f6c893013ca5b79ba838e">avMID_CONSENSUS_PCT</a> = 65</td></tr>
<tr class="memdesc:acc255d46ba3f6c893013ca5b79ba838e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of nodes that most vote yes after advancing. <a href="structripple_1_1ConsensusParms.html#acc255d46ba3f6c893013ca5b79ba838e">More...</a><br /></td></tr>
<tr class="separator:acc255d46ba3f6c893013ca5b79ba838e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755e41d0905719463a7964d728b1d435"><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="structripple_1_1ConsensusParms.html#a755e41d0905719463a7964d728b1d435">avLATE_CONSENSUS_TIME</a> = 85</td></tr>
<tr class="memdesc:a755e41d0905719463a7964d728b1d435"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of previous round duration before we advance. <a href="structripple_1_1ConsensusParms.html#a755e41d0905719463a7964d728b1d435">More...</a><br /></td></tr>
<tr class="separator:a755e41d0905719463a7964d728b1d435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a87c13cce111e3e3e9797bdaa9fdd6c"><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="structripple_1_1ConsensusParms.html#a2a87c13cce111e3e3e9797bdaa9fdd6c">avLATE_CONSENSUS_PCT</a> = 70</td></tr>
<tr class="memdesc:a2a87c13cce111e3e3e9797bdaa9fdd6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of nodes that most vote yes after advancing. <a href="structripple_1_1ConsensusParms.html#a2a87c13cce111e3e3e9797bdaa9fdd6c">More...</a><br /></td></tr>
<tr class="separator:a2a87c13cce111e3e3e9797bdaa9fdd6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02cd693fc6dffda8c60be0ca778d00b"><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="structripple_1_1ConsensusParms.html#ad02cd693fc6dffda8c60be0ca778d00b">avSTUCK_CONSENSUS_TIME</a> = 200</td></tr>
<tr class="memdesc:ad02cd693fc6dffda8c60be0ca778d00b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of previous round duration before we are stuck. <a href="structripple_1_1ConsensusParms.html#ad02cd693fc6dffda8c60be0ca778d00b">More...</a><br /></td></tr>
<tr class="separator:ad02cd693fc6dffda8c60be0ca778d00b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c07d50213acde142cb02e9a8a1045a6"><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="structripple_1_1ConsensusParms.html#a5c07d50213acde142cb02e9a8a1045a6">avSTUCK_CONSENSUS_PCT</a> = 95</td></tr>
<tr class="memdesc:a5c07d50213acde142cb02e9a8a1045a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of nodes that must vote yes after we are stuck. <a href="structripple_1_1ConsensusParms.html#a5c07d50213acde142cb02e9a8a1045a6">More...</a><br /></td></tr>
<tr class="separator:a5c07d50213acde142cb02e9a8a1045a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab293aad447acb327c2d38c91e71084c4"><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="structripple_1_1ConsensusParms.html#ab293aad447acb327c2d38c91e71084c4">avCT_CONSENSUS_PCT</a> = 75</td></tr>
<tr class="memdesc:ab293aad447acb327c2d38c91e71084c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Percentage of nodes required to reach agreement on ledger close time. <a href="structripple_1_1ConsensusParms.html#ab293aad447acb327c2d38c91e71084c4">More...</a><br /></td></tr>
<tr class="separator:ab293aad447acb327c2d38c91e71084c4"><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><a class="el" href="classripple_1_1Consensus.html" title="Generic implementation of consensus algorithm.">Consensus</a> algorithm parameters. </p>
<p>Parameters which control the consensus algorithm. This are not meant to be changed arbitrarily. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00033">33</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a9ac9d2698f75ff667ac3a95d61bd1d7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ac9d2698f75ff667ac3a95d61bd1d7a">&#9670;&nbsp;</a></span>ConsensusParms()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::ConsensusParms::ConsensusParms </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a3e40877fb010dfca02909d191412a773"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e40877fb010dfca02909d191412a773">&#9670;&nbsp;</a></span>validationVALID_WALL</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::seconds</a> ripple::ConsensusParms::validationVALID_WALL = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{5}</td>
</tr>
</table>
</div><div class="memdoc">
<p>The duration a validation remains current after its ledger's close time. </p>
<p>This is a safety to protect against very old validations and the time it takes to adjust the close time accuracy window. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00046">46</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a2b063686198b0f4bf2f46ccfe08d7bcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b063686198b0f4bf2f46ccfe08d7bcb">&#9670;&nbsp;</a></span>validationVALID_LOCAL</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::seconds</a> ripple::ConsensusParms::validationVALID_LOCAL = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{3}</td>
</tr>
</table>
</div><div class="memdoc">
<p>Duration a validation remains current after first observed. </p>
<p>The duration a validation remains current after the time we first saw it. This provides faster recovery in very rare cases where the number of validations produced by the network is lower than normal </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00054">54</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a435fdb2c3c08b84da69fdb396d55b41a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a435fdb2c3c08b84da69fdb396d55b41a">&#9670;&nbsp;</a></span>validationVALID_EARLY</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::seconds</a> ripple::ConsensusParms::validationVALID_EARLY = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::minutes</a>{3}</td>
</tr>
</table>
</div><div class="memdoc">
<p>Duration pre-close in which validations are acceptable. </p>
<p>The number of seconds before a close time that we consider a validation acceptable. This protects against extreme clock errors </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00061">61</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a5df0bb4c2f0d244e323f1f5e9339418d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5df0bb4c2f0d244e323f1f5e9339418d">&#9670;&nbsp;</a></span>proposeFRESHNESS</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::seconds</a> ripple::ConsensusParms::proposeFRESHNESS = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{20}</td>
</tr>
</table>
</div><div class="memdoc">
<p>How long we consider a proposal fresh. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00064">64</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a9cb822397f9939b90e97a267f02c64a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cb822397f9939b90e97a267f02c64a0">&#9670;&nbsp;</a></span>proposeINTERVAL</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::seconds</a> ripple::ConsensusParms::proposeINTERVAL = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{12}</td>
</tr>
</table>
</div><div class="memdoc">
<p>How often we force generating a new proposal to keep ours fresh. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00067">67</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a0520be4c7ae7e150218c24cfa09fb2a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0520be4c7ae7e150218c24cfa09fb2a3">&#9670;&nbsp;</a></span>minCONSENSUS_PCT</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::ConsensusParms::minCONSENSUS_PCT = 80</td>
</tr>
</table>
</div><div class="memdoc">
<p>The percentage threshold above which we can declare consensus. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00074">74</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a14ceaf40f7aa169b4288a4242d890622"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14ceaf40f7aa169b4288a4242d890622">&#9670;&nbsp;</a></span>ledgerIDLE_INTERVAL</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::ConsensusParms::ledgerIDLE_INTERVAL = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{15}</td>
</tr>
</table>
</div><div class="memdoc">
<p>The duration a ledger may remain idle before closing. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00077">77</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a0939202b250b3e1577d24a0c5723aaed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0939202b250b3e1577d24a0c5723aaed">&#9670;&nbsp;</a></span>ledgerMIN_CONSENSUS</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::ConsensusParms::ledgerMIN_CONSENSUS</td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line"> <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>{1950}</div>
</div><!-- fragment -->
<p>The number of seconds we wait minimum to ensure participation. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00080">80</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a6b184628a2010c17241711b652a9536a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b184628a2010c17241711b652a9536a">&#9670;&nbsp;</a></span>ledgerMAX_CONSENSUS</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::ConsensusParms::ledgerMAX_CONSENSUS = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{10}</td>
</tr>
</table>
</div><div class="memdoc">
<p>The maximum amount of time to spend pausing for laggards. </p>
<p>This should be sufficiently less than validationFRESHNESS so that validators don't appear to be offline that are merely waiting for laggards. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00089">89</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a8b3b41a8faceadfb268d0baefaaf64d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b3b41a8faceadfb268d0baefaaf64d3">&#9670;&nbsp;</a></span>ledgerMIN_CLOSE</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::ConsensusParms::ledgerMIN_CLOSE = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{2}</td>
</tr>
</table>
</div><div class="memdoc">
<p>Minimum number of seconds to wait to ensure others have computed the LCL. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00092">92</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a418547e353c28850e08e49b5831ea0db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a418547e353c28850e08e49b5831ea0db">&#9670;&nbsp;</a></span>ledgerGRANULARITY</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::ConsensusParms::ledgerGRANULARITY = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{1}</td>
</tr>
</table>
</div><div class="memdoc">
<p>How often we check state or change positions. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00095">95</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a21638a3d3caa47a696b645f8e6f007d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21638a3d3caa47a696b645f8e6f007d6">&#9670;&nbsp;</a></span>avMIN_CONSENSUS_TIME</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::ConsensusParms::avMIN_CONSENSUS_TIME = <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a>{5}</td>
</tr>
</table>
</div><div class="memdoc">
<p>The minimum amount of time to consider the previous round to have taken. </p>
<p>The minimum amount of time to consider the previous round to have taken. This ensures that there is an opportunity for a round at each avalanche threshold even if the previous consensus was very fast. This should be at least twice the interval between proposals (0.7s) divided by the interval between mid and late consensus ([85-50]/100). </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00107">107</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a004108774cadaf48b592ab0c5805b865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a004108774cadaf48b592ab0c5805b865">&#9670;&nbsp;</a></span>avINIT_CONSENSUS_PCT</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::ConsensusParms::avINIT_CONSENSUS_PCT = 50</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of nodes on our UNL that must vote yes. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00116">116</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="afd06939a6c18d834a0e35c537390b863"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd06939a6c18d834a0e35c537390b863">&#9670;&nbsp;</a></span>avMID_CONSENSUS_TIME</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::ConsensusParms::avMID_CONSENSUS_TIME = 50</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of previous round duration before we advance. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00119">119</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="acc255d46ba3f6c893013ca5b79ba838e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc255d46ba3f6c893013ca5b79ba838e">&#9670;&nbsp;</a></span>avMID_CONSENSUS_PCT</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::ConsensusParms::avMID_CONSENSUS_PCT = 65</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of nodes that most vote yes after advancing. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00122">122</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a755e41d0905719463a7964d728b1d435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a755e41d0905719463a7964d728b1d435">&#9670;&nbsp;</a></span>avLATE_CONSENSUS_TIME</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::ConsensusParms::avLATE_CONSENSUS_TIME = 85</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of previous round duration before we advance. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00125">125</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a2a87c13cce111e3e3e9797bdaa9fdd6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a87c13cce111e3e3e9797bdaa9fdd6c">&#9670;&nbsp;</a></span>avLATE_CONSENSUS_PCT</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::ConsensusParms::avLATE_CONSENSUS_PCT = 70</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of nodes that most vote yes after advancing. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00128">128</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="ad02cd693fc6dffda8c60be0ca778d00b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad02cd693fc6dffda8c60be0ca778d00b">&#9670;&nbsp;</a></span>avSTUCK_CONSENSUS_TIME</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::ConsensusParms::avSTUCK_CONSENSUS_TIME = 200</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of previous round duration before we are stuck. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00131">131</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="a5c07d50213acde142cb02e9a8a1045a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c07d50213acde142cb02e9a8a1045a6">&#9670;&nbsp;</a></span>avSTUCK_CONSENSUS_PCT</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::ConsensusParms::avSTUCK_CONSENSUS_PCT = 95</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of nodes that must vote yes after we are stuck. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00134">134</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
<a id="ab293aad447acb327c2d38c91e71084c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab293aad447acb327c2d38c91e71084c4">&#9670;&nbsp;</a></span>avCT_CONSENSUS_PCT</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::ConsensusParms::avCT_CONSENSUS_PCT = 75</td>
</tr>
</table>
</div><div class="memdoc">
<p>Percentage of nodes required to reach agreement on ledger close time. </p>
<p class="definition">Definition at line <a class="el" href="ConsensusParms_8h_source.html#l00137">137</a> of file <a class="el" href="ConsensusParms_8h_source.html">ConsensusParms.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a></div></div>
<!-- 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>