mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
2148 lines
142 KiB
HTML
2148 lines
142 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::RCLConsensus::Adaptor 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&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&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><li class="navelem"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classripple_1_1RCLConsensus_1_1Adaptor-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::RCLConsensus::Adaptor Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::RCLConsensus::Adaptor:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1RCLConsensus_1_1Adaptor__coll__graph.png" border="0" usemap="#aripple_1_1RCLConsensus_1_1Adaptor_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1RCLConsensus_1_1Adaptor_coll__map" id="aripple_1_1RCLConsensus_1_1Adaptor_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="2360,1337,2523,1377"/>
|
|
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="1132,771,1272,797"/>
|
|
<area shape="poly" title=" " alt="" coords="1231,803,1276,835,1330,866,1407,896,1480,919,1549,934,1615,944,1740,953,1858,956,1973,964,2031,974,2089,988,2149,1010,2210,1039,2272,1079,2338,1129,2361,1152,2381,1179,2411,1237,2429,1293,2439,1337,2434,1338,2424,1295,2406,1239,2376,1182,2357,1155,2334,1133,2269,1083,2207,1044,2147,1015,2088,993,2030,979,1973,970,1858,962,1740,959,1614,950,1548,940,1479,924,1405,901,1328,870,1273,840,1228,807"/>
|
|
<area shape="rect" href="classripple_1_1LedgerMaster.html" title=" " alt="" coords="1973,586,2129,611"/>
|
|
<area shape="poly" title=" " alt="" coords="1286,787,1437,795,1620,797,1709,794,1791,787,1860,776,1911,759,1935,744,1957,726,1995,684,2024,642,2041,610,2046,613,2028,645,1999,687,1961,730,1938,749,1913,764,1862,781,1792,793,1710,800,1620,802,1437,800,1286,793"/>
|
|
<area shape="rect" href="classripple_1_1LedgerHistory.html" title="Retains historical ledgers." alt="" coords="1512,451,1671,477"/>
|
|
<area shape="poly" title=" " alt="" coords="1278,764,1304,750,1340,703,1396,618,1452,533,1490,486,1513,474,1515,479,1494,490,1457,536,1401,621,1345,706,1307,754,1280,769"/>
|
|
<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="676,933,844,973"/>
|
|
<area shape="poly" title=" " alt="" coords="825,926,1166,794,1168,799,827,931"/>
|
|
<area shape="poly" title=" " alt="" coords="723,917,736,910,760,907,781,909,794,915,800,924,798,934,793,932,795,925,791,919,779,914,760,912,738,915,726,922"/>
|
|
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1118,997,1286,1037"/>
|
|
<area shape="poly" title=" " alt="" coords="800,979,833,998,869,1012,933,1024,998,1030,1061,1029,1118,1026,1118,1031,1062,1035,998,1035,932,1030,867,1017,830,1003,797,983"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="301,1039,388,1065"/>
|
|
<area shape="poly" title=" " alt="" coords="402,1056,456,1058,519,1057,586,1049,651,1032,676,1020,700,1005,738,972,741,976,703,1009,679,1025,653,1037,587,1055,519,1063,456,1064,402,1061"/>
|
|
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="683,793,837,847"/>
|
|
<area shape="poly" title=" " alt="" coords="401,1034,437,1024,461,1017,518,1009,565,1008,586,1006,607,1000,628,989,650,970,662,950,664,929,664,906,674,881,690,862,710,846,713,850,694,866,678,884,669,907,669,929,667,951,654,974,631,993,609,1005,587,1011,565,1013,518,1014,462,1023,438,1029,402,1039"/>
|
|
<area shape="rect" href="classripple_1_1ValidatorKeys.html" title="Validator keys and manifest as set in configuration file." alt="" coords="1513,1570,1669,1595"/>
|
|
<area shape="poly" title=" " alt="" coords="374,1071,463,1142,655,1291,846,1441,857,1452,869,1460,923,1479,995,1497,1173,1530,1361,1555,1514,1572,1513,1578,1360,1560,1173,1535,994,1503,921,1484,867,1465,854,1456,842,1445,652,1295,460,1146,371,1075"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="265,782,424,807"/>
|
|
<area shape="poly" title=" " alt="" coords="394,809,462,831,516,840,559,843,601,849,653,867,702,898,741,931,737,935,699,902,651,872,600,854,558,849,515,846,461,836,392,815"/>
|
|
<area shape="poly" title=" " alt="" coords="437,782,461,780,1076,749,1460,730,1690,715,1803,705,1851,696,1911,678,1946,662,1979,644,2032,609,2035,614,1982,648,1948,667,1913,682,1852,701,1804,710,1691,720,1461,735,1076,754,462,785,438,787"/>
|
|
<area shape="poly" title=" " alt="" coords="438,798,683,813,683,818,437,803"/>
|
|
<area shape="poly" title=" " alt="" coords="1104,1002,1074,997,844,966,845,961,1075,992,1105,997"/>
|
|
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="252,925,437,965"/>
|
|
<area shape="poly" title=" " alt="" coords="451,945,676,949,676,954,451,950"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="35,1583,123,1609"/>
|
|
<area shape="poly" title=" " alt="" coords="77,1569,80,1462,87,1387,101,1304,122,1217,153,1130,195,1048,221,1010,250,975,265,963,268,968,254,979,225,1014,199,1051,158,1132,127,1218,106,1305,92,1388,85,1462,82,1570"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="1108,1620,1296,1660"/>
|
|
<area shape="poly" title=" " alt="" coords="137,1604,283,1628,462,1648,641,1656,819,1655,1108,1644,1108,1649,819,1661,640,1661,461,1653,283,1633,136,1609"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32-bits." alt="" coords="1131,1313,1273,1353"/>
|
|
<area shape="poly" title=" " alt="" coords="90,1569,114,1528,150,1477,195,1428,222,1407,251,1390,308,1364,368,1342,429,1325,491,1311,617,1293,742,1287,859,1288,967,1296,1131,1317,1131,1323,966,1301,859,1294,742,1292,618,1299,492,1316,430,1330,369,1347,310,1369,253,1394,225,1411,199,1432,154,1481,119,1530,95,1572"/>
|
|
<area shape="rect" href="structripple_1_1ConsensusParms.html" title="Consensus algorithm parameters." alt="" coords="1963,1678,2140,1703"/>
|
|
<area shape="poly" title=" " alt="" coords="101,1618,142,1659,199,1705,232,1726,267,1743,305,1754,343,1759,1400,1759,1545,1759,1658,1756,1769,1745,1911,1720,1935,1712,1983,1701,1984,1706,1937,1717,1913,1725,1770,1750,1658,1762,1545,1764,1400,1764,343,1764,304,1760,265,1748,229,1731,195,1710,138,1663,98,1621"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="461,1585,652,1610"/>
|
|
<area shape="poly" title=" " alt="" coords="137,1593,461,1594,461,1600,137,1599"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1966,15,2137,55"/>
|
|
<area shape="poly" title=" " alt="" coords="2150,17,2199,17,2250,24,2297,41,2319,55,2338,72,2355,101,2369,148,2393,289,2411,474,2424,683,2439,1088,2443,1337,2437,1337,2433,1088,2419,683,2406,475,2388,290,2364,149,2350,103,2334,75,2316,59,2295,46,2248,30,2199,23,2150,23"/>
|
|
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="1532,22,1651,47"/>
|
|
<area shape="poly" title=" " alt="" coords="1665,32,1966,32,1966,37,1665,37"/>
|
|
<area shape="poly" title=" " alt="" coords="2075,620,2127,682,2197,773,2272,882,2307,941,2338,1000,2377,1096,2407,1193,2439,1337,2434,1338,2402,1194,2372,1098,2334,1002,2303,943,2268,885,2193,776,2123,685,2071,623"/>
|
|
<area shape="rect" href="classripple_1_1AbstractFetchPackContainer.html" title="An interface facilitating retrieval of fetch packs without an application or ledgermaster object." alt="" coords="1498,272,1685,312"/>
|
|
<area shape="poly" title=" " alt="" coords="1698,273,1751,272,1808,277,1863,291,1913,316,1947,345,1975,380,1998,419,2016,459,2040,533,2051,585,2046,586,2035,535,2011,461,1993,421,1971,383,1944,349,1911,321,1861,296,1807,282,1751,277,1698,279"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="289,358,400,383"/>
|
|
<area shape="poly" title=" " alt="" coords="361,346,419,277,461,235,511,192,566,153,626,120,691,98,725,91,759,89,2053,89,2078,93,2103,102,2126,117,2149,137,2190,192,2228,263,2262,347,2293,442,2321,545,2345,653,2385,871,2413,1073,2441,1337,2436,1337,2408,1074,2379,872,2340,654,2316,546,2288,444,2257,349,2223,265,2186,194,2145,141,2123,121,2100,107,2077,98,2053,95,759,95,725,97,692,103,629,125,569,157,514,197,465,239,423,281,365,349"/>
|
|
<area shape="poly" title=" " alt="" coords="394,351,461,332,802,250,941,217,1072,192,1203,175,1343,168,1503,172,1691,188,1757,191,1811,193,1835,197,1860,205,1886,218,1914,239,1952,280,1982,327,2006,378,2023,429,2044,523,2052,586,2047,586,2039,524,2018,431,2001,380,1977,330,1948,283,1910,243,1883,223,1858,210,1834,202,1810,198,1757,197,1690,193,1503,177,1343,173,1203,180,1073,197,943,223,804,255,462,337,395,356"/>
|
|
<area shape="rect" href="classripple_1_1Ledger.html" title="Holds a ledger." alt="" coords="705,335,815,361"/>
|
|
<area shape="poly" title=" " alt="" coords="414,364,704,348,704,354,414,370"/>
|
|
<area shape="poly" title=" " alt="" coords="414,373,1512,455,1512,461,413,378"/>
|
|
<area shape="poly" title=" " alt="" coords="384,389,415,412,440,444,453,478,456,509,453,539,448,566,443,594,441,621,447,649,463,680,493,700,552,729,692,790,690,795,549,734,490,705,459,683,442,651,436,621,437,593,443,565,448,538,451,509,448,479,435,447,411,416,381,393"/>
|
|
<area shape="rect" href="classripple_1_1NegativeUNLVote.html" title="Manager to create NegativeUNL votes." alt="" coords="1961,1286,2142,1311"/>
|
|
<area shape="poly" title=" " alt="" coords="378,389,463,443,778,637,1100,820,1132,836,1161,846,1213,860,1237,869,1261,881,1284,899,1307,925,1316,940,1320,955,1318,983,1318,1009,1322,1022,1331,1034,1390,1052,1509,1079,1691,1117,1757,1128,1812,1131,1837,1135,1862,1143,1888,1158,1914,1181,1923,1193,1926,1205,1926,1228,1926,1251,1930,1261,1938,1271,1962,1287,1959,1291,1934,1275,1925,1264,1921,1252,1921,1228,1921,1206,1918,1195,1910,1184,1884,1162,1860,1148,1836,1140,1811,1136,1757,1133,1690,1123,1507,1084,1388,1057,1328,1038,1317,1024,1312,1010,1313,983,1314,956,1311,942,1303,928,1280,903,1258,885,1235,874,1211,865,1159,851,1130,840,1097,825,775,642,460,448,375,393"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="5,358,152,383"/>
|
|
<area shape="poly" title=" " alt="" coords="166,368,289,368,289,373,166,373"/>
|
|
<area shape="rect" href="classripple_1_1LedgerHolder.html" title="Hold a ledger in a thread-safe way." alt="" coords="1514,337,1669,362"/>
|
|
<area shape="poly" title=" " alt="" coords="1683,348,1814,357,1872,367,1913,382,1942,403,1967,429,2007,487,2034,544,2049,585,2044,587,2029,546,2002,490,1963,433,1938,407,1911,386,1871,372,1813,362,1682,353"/>
|
|
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1121,329,1283,369"/>
|
|
<area shape="poly" title=" " alt="" coords="1297,347,1514,347,1514,352,1297,352"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="299,458,391,483"/>
|
|
<area shape="poly" title=" " alt="" coords="404,469,693,467,883,458,1074,443,1205,425,1334,402,1536,359,1537,365,1335,407,1206,430,1075,448,883,464,693,472,405,474"/>
|
|
<area shape="poly" title=" " alt="" coords="403,453,651,381,721,358,723,363,653,387,404,458"/>
|
|
<area shape="poly" title=" " alt="" coords="356,496,371,533,393,578,424,623,463,661,488,675,510,683,552,688,598,688,653,697,712,711,760,721,782,728,803,739,824,755,846,778,856,795,860,812,857,844,855,874,859,888,870,902,885,913,905,922,956,934,1018,940,1086,943,1154,946,1217,952,1269,963,1290,972,1307,983,1316,995,1320,1006,1321,1029,1320,1051,1324,1061,1331,1072,1347,1085,1362,1094,1393,1101,1427,1103,1469,1111,1537,1128,1597,1139,1701,1154,1749,1164,1800,1179,1853,1204,1914,1241,1910,1245,1851,1209,1798,1184,1748,1169,1700,1159,1596,1144,1536,1133,1467,1116,1426,1109,1392,1106,1360,1099,1344,1090,1327,1075,1319,1064,1315,1052,1315,1029,1315,1007,1311,997,1304,987,1288,976,1268,968,1216,957,1153,951,1086,948,1018,945,955,939,903,927,882,918,866,906,855,890,850,874,852,843,854,812,851,797,842,782,821,759,800,743,780,733,759,726,711,716,651,703,597,693,552,693,509,688,485,680,460,665,420,627,388,581,366,535,351,497"/>
|
|
<area shape="poly" title=" " alt="" coords="1914,1241,1922,1249,1926,1257,1930,1264,1937,1271,1964,1284,1962,1288,1935,1276,1926,1268,1922,1259,1918,1252,1910,1245"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1117,265,1287,305"/>
|
|
<area shape="poly" title=" " alt="" coords="1301,268,1455,250,1635,238,1722,237,1801,243,1866,255,1892,265,1914,277,1951,310,1980,351,2004,396,2022,442,2043,527,2052,585,2046,586,2038,528,2017,443,1999,398,1976,354,1947,314,1910,281,1890,269,1865,260,1800,248,1722,243,1635,243,1456,255,1301,273"/>
|
|
<area shape="poly" title=" " alt="" coords="1301,299,1514,334,1513,339,1301,304"/>
|
|
<area shape="poly" title=" " alt="" coords="829,336,1116,295,1117,300,829,341"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="1497,387,1686,427"/>
|
|
<area shape="poly" title=" " alt="" coords="1700,400,1751,403,1806,411,1861,424,1913,446,1958,477,1996,516,2026,555,2045,584,2040,587,2021,558,1992,520,1955,481,1911,450,1860,429,1805,416,1751,408,1699,405"/>
|
|
<area shape="poly" title=" " alt="" coords="1685,463,1796,474,1855,486,1913,504,1950,522,1985,543,2037,584,2034,588,1982,548,1948,526,1911,509,1854,492,1795,480,1684,468"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1099,495,1305,521"/>
|
|
<area shape="poly" title=" " alt="" coords="1319,492,1512,470,1512,476,1319,497"/>
|
|
<area shape="rect" href="classripple_1_1CanonicalTXSet.html" title="Holds transactions which were deferred to the next pass of consensus." alt="" coords="1507,501,1676,526"/>
|
|
<area shape="poly" title=" " alt="" coords="1690,521,1797,535,1913,556,2012,583,2011,589,1911,561,1796,541,1689,526"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1506,551,1677,591"/>
|
|
<area shape="poly" title=" " alt="" coords="1691,574,1973,591,1973,597,1691,579"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic_flag.html" title=" " alt="" coords="1528,615,1655,641"/>
|
|
<area shape="poly" title=" " alt="" coords="1668,622,1912,608,1973,603,1973,608,1912,613,1669,627"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="868,1062,1075,1087"/>
|
|
<area shape="poly" title=" " alt="" coords="1088,1070,1194,1062,1305,1047,1358,1034,1399,1020,1491,987,1557,971,1615,963,1715,955,1762,948,1808,934,1857,910,1910,873,1941,842,1967,807,1989,769,2007,731,2032,660,2045,611,2050,612,2038,661,2012,733,1994,772,1972,810,1945,846,1914,877,1860,915,1810,939,1763,953,1716,960,1615,968,1558,976,1493,992,1400,1025,1360,1039,1306,1052,1194,1068,1088,1075"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="293,1405,396,1430"/>
|
|
<area shape="poly" title=" " alt="" coords="358,1391,398,1334,427,1305,460,1282,533,1247,601,1222,665,1204,727,1194,786,1189,843,1189,955,1197,1068,1208,1188,1211,1252,1207,1319,1197,1391,1181,1467,1156,1507,1139,1539,1120,1590,1081,1641,1040,1673,1020,1714,1002,1744,993,1771,989,1819,991,1841,991,1863,987,1886,979,1910,962,1949,921,1979,874,2002,823,2020,770,2040,675,2047,611,2052,612,2045,676,2025,772,2007,825,1984,877,1953,925,1914,966,1889,983,1865,993,1842,996,1819,996,1771,995,1745,998,1716,1006,1676,1025,1644,1044,1594,1085,1542,1125,1510,1144,1469,1161,1392,1186,1320,1202,1252,1212,1188,1216,1068,1213,955,1202,843,1195,786,1195,727,1199,666,1210,602,1227,535,1252,463,1286,430,1309,402,1338,362,1394"/>
|
|
<area shape="poly" title=" " alt="" coords="354,1391,394,1319,424,1279,460,1245,509,1211,563,1181,619,1157,675,1136,784,1104,877,1085,879,1090,785,1109,677,1141,621,1161,565,1186,512,1215,463,1249,428,1283,398,1322,359,1393"/>
|
|
<area shape="poly" title=" " alt="" coords="380,1434,419,1455,462,1475,573,1516,661,1544,751,1564,868,1581,958,1591,1049,1596,1228,1599,1389,1594,1513,1587,1513,1592,1389,1600,1228,1604,1049,1602,957,1596,868,1587,750,1569,660,1549,571,1522,460,1480,416,1460,377,1439"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="676,1455,844,1495"/>
|
|
<area shape="poly" title=" " alt="" coords="397,1432,462,1448,573,1463,676,1470,675,1475,572,1468,461,1453,396,1437"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1515,1265,1667,1319"/>
|
|
<area shape="poly" title=" " alt="" coords="410,1412,900,1389,1156,1375,1305,1363,1415,1340,1514,1313,1515,1319,1416,1346,1306,1368,1157,1380,900,1394,410,1417"/>
|
|
<area shape="poly" title=" " alt="" coords="850,827,1091,846,1243,855,1402,860,1559,859,1703,850,1823,831,1872,817,1911,800,1938,781,1962,758,2001,704,2028,650,2043,611,2048,613,2033,653,2006,707,1966,762,1941,786,1913,805,1874,822,1825,836,1703,855,1559,864,1402,865,1243,860,1091,852,850,832"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="293,990,396,1015"/>
|
|
<area shape="poly" title=" " alt="" coords="410,1008,439,1025,447,1035,451,1046,451,1068,452,1088,455,1096,462,1104,730,1118,1313,1141,2167,1172,2216,1170,2255,1163,2293,1164,2314,1170,2337,1182,2358,1197,2376,1216,2405,1258,2425,1301,2437,1336,2432,1338,2420,1303,2400,1261,2372,1219,2355,1201,2335,1186,2312,1175,2293,1169,2256,1169,2216,1175,2167,1177,1313,1146,730,1123,460,1109,451,1099,446,1089,446,1068,446,1047,442,1038,436,1029,408,1012"/>
|
|
<area shape="poly" title=" " alt="" coords="408,990,436,975,444,964,446,952,450,939,460,927,485,913,509,907,554,909,599,913,624,911,651,902,663,893,674,881,720,845,723,850,678,885,666,896,653,906,625,916,599,919,553,914,510,912,487,918,463,931,454,942,452,953,449,966,439,979,410,995"/>
|
|
<area shape="rect" href="structripple_1_1LedgerMaster_1_1Stats.html" title=" " alt="" coords="1513,665,1669,705"/>
|
|
<area shape="poly" title=" " alt="" coords="1683,675,1792,661,1911,640,2015,609,2017,614,1913,645,1793,667,1683,680"/>
|
|
<area shape="rect" href="classripple_1_1LocalTxs.html" title=" " alt="" coords="1989,1187,2113,1213"/>
|
|
<area shape="poly" title=" " alt="" coords="2127,1196,2176,1199,2230,1206,2285,1220,2337,1242,2367,1262,2393,1287,2430,1335,2426,1339,2389,1291,2364,1266,2335,1246,2284,1225,2229,1211,2176,1204,2127,1201"/>
|
|
<area shape="rect" href="classripple_1_1InboundTransactions.html" title="Manages the acquisition and lifetime of transaction sets." alt="" coords="1951,1237,2151,1262"/>
|
|
<area shape="poly" title=" " alt="" coords="2166,1257,2250,1272,2337,1296,2377,1314,2412,1335,2409,1340,2375,1319,2335,1301,2249,1277,2165,1263"/>
|
|
<area shape="poly" title=" " alt="" coords="1683,1579,1856,1576,2059,1568,2238,1554,2300,1544,2335,1532,2354,1516,2372,1498,2400,1455,2420,1412,2432,1377,2437,1379,2425,1414,2404,1457,2376,1501,2358,1520,2337,1537,2301,1550,2238,1560,2060,1574,1856,1581,1683,1585"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="1115,1684,1289,1724"/>
|
|
<area shape="poly" title=" " alt="" coords="1302,1704,1344,1700,1387,1691,1429,1676,1466,1654,1475,1643,1478,1631,1481,1618,1490,1605,1512,1592,1514,1597,1494,1609,1485,1620,1483,1632,1480,1645,1470,1658,1431,1681,1388,1696,1345,1705,1302,1710"/>
|
|
<area shape="poly" title=" " alt="" coords="1309,1635,1388,1627,1467,1613,1491,1604,1532,1593,1533,1598,1493,1609,1469,1619,1388,1633,1310,1640"/>
|
|
<area shape="poly" title=" " alt="" coords="802,1500,834,1518,869,1533,925,1547,971,1549,1018,1551,1076,1564,1130,1589,1175,1618,1172,1622,1127,1594,1074,1569,1017,1556,971,1554,925,1552,867,1539,832,1523,799,1504"/>
|
|
<area shape="poly" title=" " alt="" coords="835,1448,867,1440,926,1431,972,1429,1018,1425,1074,1410,1129,1382,1174,1351,1177,1356,1131,1387,1076,1414,1019,1430,973,1434,927,1437,869,1445,837,1453"/>
|
|
<area shape="poly" title=" " alt="" coords="1286,1332,2360,1353,2360,1358,1286,1338"/>
|
|
<area shape="poly" title=" " alt="" coords="1267,1306,1329,1284,1409,1262,1492,1249,1561,1245,1631,1244,1769,1252,1893,1267,1989,1283,1988,1289,1892,1272,1769,1257,1631,1249,1561,1250,1492,1255,1410,1267,1330,1289,1269,1311"/>
|
|
<area shape="poly" title=" " alt="" coords="1286,1322,1515,1297,1515,1303,1287,1327"/>
|
|
<area shape="poly" title=" " alt="" coords="2153,1680,2199,1671,2247,1656,2293,1635,2334,1606,2358,1580,2378,1551,2408,1486,2426,1424,2435,1377,2440,1378,2431,1425,2413,1488,2383,1553,2363,1583,2338,1610,2296,1640,2249,1661,2201,1676,2154,1685"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="1514,1619,1669,1645"/>
|
|
<area shape="poly" title=" " alt="" coords="1666,1646,1692,1654,1715,1664,1779,1677,1844,1685,1963,1690,1962,1695,1844,1690,1778,1682,1714,1669,1690,1658,1665,1651"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="1499,1889,1683,1914"/>
|
|
<area shape="poly" title=" " alt="" coords="1697,1905,1761,1906,1823,1903,1876,1894,1896,1887,1910,1878,1924,1859,1929,1840,1928,1820,1923,1799,1916,1756,1920,1734,1934,1713,1961,1695,1964,1699,1938,1717,1925,1736,1921,1756,1928,1798,1933,1819,1934,1841,1929,1862,1914,1882,1899,1892,1878,1899,1824,1908,1761,1911,1697,1911"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1960,1793,2143,1833"/>
|
|
<area shape="poly" title=" " alt="" coords="1639,1916,1696,1932,1766,1944,1803,1945,1840,1943,1876,1936,1911,1923,1919,1917,1923,1910,1934,1893,1975,1859,2015,1831,2018,1836,1978,1863,1938,1896,1927,1913,1923,1921,1913,1928,1878,1941,1841,1948,1803,1951,1765,1949,1695,1937,1637,1921"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1492,1669,1691,1723"/>
|
|
<area shape="poly" title=" " alt="" coords="1705,1709,1715,1709,1813,1714,1912,1709,1981,1701,1982,1706,1912,1715,1813,1719,1715,1715,1704,1714"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/time_point.html" title=" " alt="" coords="1965,1445,2137,1485"/>
|
|
<area shape="poly" title=" " alt="" coords="2151,1468,2242,1462,2290,1453,2335,1439,2360,1426,2383,1410,2420,1376,2424,1380,2387,1414,2363,1431,2337,1444,2291,1458,2243,1468,2151,1474"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1975,1510,2128,1535"/>
|
|
<area shape="poly" title=" " alt="" coords="2142,1527,2188,1526,2238,1520,2288,1508,2335,1488,2367,1464,2393,1434,2428,1376,2433,1379,2397,1437,2370,1468,2337,1493,2290,1513,2239,1526,2189,1531,2142,1533"/>
|
|
<area shape="poly" title=" " alt="" coords="653,1579,749,1552,797,1531,842,1505,849,1497,853,1489,858,1481,867,1474,892,1466,938,1459,1085,1443,1522,1409,2360,1359,2360,1364,1522,1414,1086,1448,939,1464,893,1472,869,1478,862,1485,858,1492,854,1500,846,1509,800,1536,751,1557,655,1584"/>
|
|
<area shape="poly" title=" " alt="" coords="2156,1820,2203,1818,2250,1809,2295,1793,2334,1766,2355,1737,2373,1694,2389,1640,2403,1580,2424,1462,2435,1377,2440,1378,2429,1463,2408,1581,2395,1641,2378,1696,2359,1740,2338,1770,2297,1797,2251,1814,2203,1823,2157,1826"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1936,1727,2167,1753"/>
|
|
<area shape="poly" title=" " alt="" coords="2180,1746,2221,1742,2262,1732,2300,1717,2334,1694,2366,1659,2391,1618,2410,1573,2423,1527,2436,1440,2438,1377,2443,1378,2441,1441,2428,1528,2415,1575,2396,1620,2371,1662,2338,1698,2303,1722,2263,1737,2222,1747,2181,1751"/>
|
|
<area shape="rect" href="classripple_1_1RCLCensorshipDetector.html" title=" " alt="" coords="1941,1906,2161,1961"/>
|
|
<area shape="poly" title=" " alt="" coords="2174,1919,2217,1908,2260,1892,2300,1869,2334,1840,2356,1803,2375,1750,2392,1685,2406,1613,2426,1474,2436,1377,2441,1378,2431,1475,2411,1614,2397,1686,2380,1751,2361,1806,2338,1843,2303,1874,2262,1897,2219,1913,2175,1924"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1504,1959,1679,1985"/>
|
|
<area shape="poly" title=" " alt="" coords="1692,1976,1798,1976,1912,1968,1962,1958,1963,1963,1912,1973,1799,1982,1692,1981"/>
|
|
<area shape="poly" title=" " alt="" coords="2156,1310,2336,1336,2360,1340,2360,1345,2336,1341,2155,1315"/>
|
|
<area shape="poly" title=" " alt="" coords="1681,1291,1960,1295,1960,1300,1681,1296"/>
|
|
</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="pub-types" name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a7070e9294942bca3a365b8f75003f710" id="r_a7070e9294942bca3a365b8f75003f710"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a7070e9294942bca3a365b8f75003f710">Ledger_t</a> = <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a></td></tr>
|
|
<tr class="separator:a7070e9294942bca3a365b8f75003f710"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0149934874e80620fff45d1525b2c142" id="r_a0149934874e80620fff45d1525b2c142"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a0149934874e80620fff45d1525b2c142">NodeID_t</a> = <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a></td></tr>
|
|
<tr class="separator:a0149934874e80620fff45d1525b2c142"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a883e88cbd482098a2977c0da777d0474" id="r_a883e88cbd482098a2977c0da777d0474"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">NodeKey_t</a> = <a class="el" href="classripple_1_1PublicKey.html">PublicKey</a></td></tr>
|
|
<tr class="separator:a883e88cbd482098a2977c0da777d0474"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a09d0f97923419fce09b3411d35852fd8" id="r_a09d0f97923419fce09b3411d35852fd8"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a09d0f97923419fce09b3411d35852fd8">TxSet_t</a> = <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a></td></tr>
|
|
<tr class="separator:a09d0f97923419fce09b3411d35852fd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aad99e4eb83e29495e71cdae4cd3779f7" id="r_aad99e4eb83e29495e71cdae4cd3779f7"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aad99e4eb83e29495e71cdae4cd3779f7">PeerPosition_t</a> = <a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a></td></tr>
|
|
<tr class="separator:aad99e4eb83e29495e71cdae4cd3779f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1de8858ea7f1779adc6e57cf19a6bc9e" id="r_a1de8858ea7f1779adc6e57cf19a6bc9e"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> = <a class="el" href="structripple_1_1ConsensusResult.html">ConsensusResult</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a> ></td></tr>
|
|
<tr class="separator:a1de8858ea7f1779adc6e57cf19a6bc9e"><td class="memSeparator" colspan="2"> </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:a4c0ffe5a89562947a789cd6b6ac51a94" id="r_a4c0ffe5a89562947a789cd6b6ac51a94"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a4c0ffe5a89562947a789cd6b6ac51a94">Adaptor</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &app, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="classripple_1_1FeeVote.html">FeeVote</a> > &&feeVote, <a class="el" href="classripple_1_1LedgerMaster.html">LedgerMaster</a> &<a class="el" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c">ledgerMaster</a>, <a class="el" href="classripple_1_1LocalTxs.html">LocalTxs</a> &localTxs, <a class="el" href="classripple_1_1InboundTransactions.html">InboundTransactions</a> &inboundTransactions, <a class="el" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> const &validatorKeys, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
|
|
<tr class="separator:a4c0ffe5a89562947a789cd6b6ac51a94"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a52d6c6005bc8066ec68d7e81038a6906" id="r_a52d6c6005bc8066ec68d7e81038a6906"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a52d6c6005bc8066ec68d7e81038a6906">validating</a> () const</td></tr>
|
|
<tr class="separator:a52d6c6005bc8066ec68d7e81038a6906"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab74105efd959c639a0b7bb1b21b32369" id="r_ab74105efd959c639a0b7bb1b21b32369"><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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ab74105efd959c639a0b7bb1b21b32369">prevProposers</a> () const</td></tr>
|
|
<tr class="separator:ab74105efd959c639a0b7bb1b21b32369"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4c7926d71c0a202f59e77470d0428a1b" id="r_a4c7926d71c0a202f59e77470d0428a1b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a4c7926d71c0a202f59e77470d0428a1b">prevRoundTime</a> () const</td></tr>
|
|
<tr class="separator:a4c7926d71c0a202f59e77470d0428a1b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a473f1ae7edc6969b6ba252d45bda06e1" id="r_a473f1ae7edc6969b6ba252d45bda06e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a> () const</td></tr>
|
|
<tr class="separator:a473f1ae7edc6969b6ba252d45bda06e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeabb611a96a6d3e34fbeba94fd462bcd" id="r_aeabb611a96a6d3e34fbeba94fd462bcd"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aeabb611a96a6d3e34fbeba94fd462bcd">preStartRound</a> (<a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &prevLedger, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> > const &nowTrusted)</td></tr>
|
|
<tr class="memdesc:aeabb611a96a6d3e34fbeba94fd462bcd"><td class="mdescLeft"> </td><td class="mdescRight">Called before kicking off a new consensus round. <br /></td></tr>
|
|
<tr class="separator:aeabb611a96a6d3e34fbeba94fd462bcd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad0aa2492ff95815e202bd5801b37e030" id="r_ad0aa2492ff95815e202bd5801b37e030"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ad0aa2492ff95815e202bd5801b37e030">haveValidated</a> () const</td></tr>
|
|
<tr class="separator:ad0aa2492ff95815e202bd5801b37e030"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9f9e5d015fc6b18e3726ce51658b257c" id="r_a9f9e5d015fc6b18e3726ce51658b257c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a9f9e5d015fc6b18e3726ce51658b257c">getValidLedgerIndex</a> () const</td></tr>
|
|
<tr class="separator:a9f9e5d015fc6b18e3726ce51658b257c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af8d2a95620b4b70e89890757d9bfb528" id="r_af8d2a95620b4b70e89890757d9bfb528"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">NodeKey_t</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#af8d2a95620b4b70e89890757d9bfb528">getQuorumKeys</a> () const</td></tr>
|
|
<tr class="separator:af8d2a95620b4b70e89890757d9bfb528"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a64490ffd82ff2b75da2406bb52fcd7dd" id="r_a64490ffd82ff2b75da2406bb52fcd7dd"><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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a64490ffd82ff2b75da2406bb52fcd7dd">laggards</a> (<a class="el" href="classripple_1_1RCLCxLedger.html#aaad5276a8dd4c15270ed5b847cf511cd">Ledger_t::Seq</a> const seq, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">NodeKey_t</a> > &trustedKeys) const</td></tr>
|
|
<tr class="separator:a64490ffd82ff2b75da2406bb52fcd7dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a89732653d5e60191140d595d9192bc83" id="r_a89732653d5e60191140d595d9192bc83"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a89732653d5e60191140d595d9192bc83">validator</a> () const</td></tr>
|
|
<tr class="memdesc:a89732653d5e60191140d595d9192bc83"><td class="mdescLeft"> </td><td class="mdescRight">Whether I am a validator. <br /></td></tr>
|
|
<tr class="separator:a89732653d5e60191140d595d9192bc83"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af204a12bd25345da7fbdb8d267a1e23f" id="r_af204a12bd25345da7fbdb8d267a1e23f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#af204a12bd25345da7fbdb8d267a1e23f">updateOperatingMode</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const positions) const</td></tr>
|
|
<tr class="memdesc:af204a12bd25345da7fbdb8d267a1e23f"><td class="mdescLeft"> </td><td class="mdescRight">Update operating mode based on current peer positions. <br /></td></tr>
|
|
<tr class="separator:af204a12bd25345da7fbdb8d267a1e23f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab8d7357f87f1c80f0ba44fa58af654ff" id="r_ab8d7357f87f1c80f0ba44fa58af654ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1ConsensusParms.html">ConsensusParms</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ab8d7357f87f1c80f0ba44fa58af654ff">parms</a> () const</td></tr>
|
|
<tr class="memdesc:ab8d7357f87f1c80f0ba44fa58af654ff"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classripple_1_1Consensus.html" title="Generic implementation of consensus algorithm.">Consensus</a> simulation parameters. <br /></td></tr>
|
|
<tr class="separator:ab8d7357f87f1c80f0ba44fa58af654ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a93589fe1373e60df4313330b0ca40ecb" id="r_a93589fe1373e60df4313330b0ca40ecb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a93589fe1373e60df4313330b0ca40ecb">acquireLedger</a> (<a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const &hash)</td></tr>
|
|
<tr class="memdesc:a93589fe1373e60df4313330b0ca40ecb"><td class="mdescLeft"> </td><td class="mdescRight">Attempt to acquire a specific ledger. <br /></td></tr>
|
|
<tr class="separator:a93589fe1373e60df4313330b0ca40ecb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c19242b4c7feb5d9ce80c7f49f00646" id="r_a3c19242b4c7feb5d9ce80c7f49f00646"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a3c19242b4c7feb5d9ce80c7f49f00646">share</a> (<a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a> const &peerPos)</td></tr>
|
|
<tr class="memdesc:a3c19242b4c7feb5d9ce80c7f49f00646"><td class="mdescLeft"> </td><td class="mdescRight">Share the given proposal with all peers. <br /></td></tr>
|
|
<tr class="separator:a3c19242b4c7feb5d9ce80c7f49f00646"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4444940bd7637bee7b646ca61530f0b5" id="r_a4444940bd7637bee7b646ca61530f0b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a4444940bd7637bee7b646ca61530f0b5">share</a> (<a class="el" href="classripple_1_1RCLCxTx.html">RCLCxTx</a> const &tx)</td></tr>
|
|
<tr class="memdesc:a4444940bd7637bee7b646ca61530f0b5"><td class="mdescLeft"> </td><td class="mdescRight">Share disputed transaction to peers. <br /></td></tr>
|
|
<tr class="separator:a4444940bd7637bee7b646ca61530f0b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abd952b4943d59db7baeed2173c2abe8e" id="r_abd952b4943d59db7baeed2173c2abe8e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#abd952b4943d59db7baeed2173c2abe8e">acquireTxSet</a> (<a class="el" href="classripple_1_1RCLTxSet.html#a8dbf7a38f9f988c6da525b721c64019e">RCLTxSet::ID</a> const &setId)</td></tr>
|
|
<tr class="memdesc:abd952b4943d59db7baeed2173c2abe8e"><td class="mdescLeft"> </td><td class="mdescRight">Acquire the transaction set associated with a proposal. <br /></td></tr>
|
|
<tr class="separator:abd952b4943d59db7baeed2173c2abe8e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac97ef5d20d6f7ec91992dbc344f9d77a" id="r_ac97ef5d20d6f7ec91992dbc344f9d77a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ac97ef5d20d6f7ec91992dbc344f9d77a">hasOpenTransactions</a> () const</td></tr>
|
|
<tr class="memdesc:ac97ef5d20d6f7ec91992dbc344f9d77a"><td class="mdescLeft"> </td><td class="mdescRight">Whether the open ledger has any transactions. <br /></td></tr>
|
|
<tr class="separator:ac97ef5d20d6f7ec91992dbc344f9d77a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aecfa90103c1ac29bb861acc866e16230" id="r_aecfa90103c1ac29bb861acc866e16230"><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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aecfa90103c1ac29bb861acc866e16230">proposersValidated</a> (<a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const &h) const</td></tr>
|
|
<tr class="memdesc:aecfa90103c1ac29bb861acc866e16230"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classripple_1_1Number.html">Number</a> of proposers that have validated the given ledger. <br /></td></tr>
|
|
<tr class="separator:aecfa90103c1ac29bb861acc866e16230"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab10285a854623f41080295ff41f41d12" id="r_ab10285a854623f41080295ff41f41d12"><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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ab10285a854623f41080295ff41f41d12">proposersFinished</a> (<a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &ledger, <a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const &h) const</td></tr>
|
|
<tr class="memdesc:ab10285a854623f41080295ff41f41d12"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classripple_1_1Number.html">Number</a> of proposers that have validated a ledger descended from requested ledger. <br /></td></tr>
|
|
<tr class="separator:ab10285a854623f41080295ff41f41d12"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a04003c395b5a8519537fd8388bc4fda7" id="r_a04003c395b5a8519537fd8388bc4fda7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a04003c395b5a8519537fd8388bc4fda7">propose</a> (<a class="el" href="classripple_1_1RCLCxPeerPos.html#afef6574cc04e0877e8f23f76cc688390">RCLCxPeerPos::Proposal</a> const &<a class="el" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdab314439bc1697845de3749d51dca7c15">proposal</a>)</td></tr>
|
|
<tr class="memdesc:a04003c395b5a8519537fd8388bc4fda7"><td class="mdescLeft"> </td><td class="mdescRight">Propose the given position to my peers. <br /></td></tr>
|
|
<tr class="separator:a04003c395b5a8519537fd8388bc4fda7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af85c22219005f9061326ab12bd3e0a81" id="r_af85c22219005f9061326ab12bd3e0a81"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#af85c22219005f9061326ab12bd3e0a81">share</a> (<a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const &txns)</td></tr>
|
|
<tr class="memdesc:af85c22219005f9061326ab12bd3e0a81"><td class="mdescLeft"> </td><td class="mdescRight">Share the given tx set to peers. <br /></td></tr>
|
|
<tr class="separator:af85c22219005f9061326ab12bd3e0a81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aec8ba6a5bc49a937911f50c264a48439" id="r_aec8ba6a5bc49a937911f50c264a48439"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aec8ba6a5bc49a937911f50c264a48439">getPrevLedger</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ledgerID, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &ledger, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a>)</td></tr>
|
|
<tr class="memdesc:aec8ba6a5bc49a937911f50c264a48439"><td class="mdescLeft"> </td><td class="mdescRight">Get the ID of the previous ledger/last closed ledger(LCL) on the network. <br /></td></tr>
|
|
<tr class="separator:aec8ba6a5bc49a937911f50c264a48439"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a602cb9acaeb931bb5a7b5a74de5f5280" id="r_a602cb9acaeb931bb5a7b5a74de5f5280"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a602cb9acaeb931bb5a7b5a74de5f5280">onModeChange</a> (<a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> before, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> <a class="el" href="namespaceripple.html#ac3e90afb749bb1f01e06729c7c860ba3">after</a>)</td></tr>
|
|
<tr class="memdesc:a602cb9acaeb931bb5a7b5a74de5f5280"><td class="mdescLeft"> </td><td class="mdescRight">Notified of change in consensus mode. <br /></td></tr>
|
|
<tr class="separator:a602cb9acaeb931bb5a7b5a74de5f5280"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2f168067d1fbfbee91c628629cd5017a" id="r_a2f168067d1fbfbee91c628629cd5017a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a2f168067d1fbfbee91c628629cd5017a">onClose</a> (<a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &ledger, <a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const &closeTime, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a>)</td></tr>
|
|
<tr class="memdesc:a2f168067d1fbfbee91c628629cd5017a"><td class="mdescLeft"> </td><td class="mdescRight">Close the open ledger and return initial consensus position. <br /></td></tr>
|
|
<tr class="separator:a2f168067d1fbfbee91c628629cd5017a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad40fb423038c68c5f122a7bd9b1b2a36" id="r_ad40fb423038c68c5f122a7bd9b1b2a36"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ad40fb423038c68c5f122a7bd9b1b2a36">onAccept</a> (<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const &result, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &prevLedger, <a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> const &closeResolution, <a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const &rawCloseTimes, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const &<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a>, <a class="el" href="classJson_1_1Value.html">Json::Value</a> &&consensusJson, bool const <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a52d6c6005bc8066ec68d7e81038a6906">validating</a>)</td></tr>
|
|
<tr class="memdesc:ad40fb423038c68c5f122a7bd9b1b2a36"><td class="mdescLeft"> </td><td class="mdescRight">Process the accepted ledger. <br /></td></tr>
|
|
<tr class="separator:ad40fb423038c68c5f122a7bd9b1b2a36"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a71558db36f2c6e246d00408955a8eb7f" id="r_a71558db36f2c6e246d00408955a8eb7f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a71558db36f2c6e246d00408955a8eb7f">onForceAccept</a> (<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const &result, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &prevLedger, <a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> const &closeResolution, <a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const &rawCloseTimes, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const &<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a>, <a class="el" href="classJson_1_1Value.html">Json::Value</a> &&consensusJson)</td></tr>
|
|
<tr class="memdesc:a71558db36f2c6e246d00408955a8eb7f"><td class="mdescLeft"> </td><td class="mdescRight">Process the accepted ledger that was a result of simulation/force accept. <br /></td></tr>
|
|
<tr class="separator:a71558db36f2c6e246d00408955a8eb7f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af18748b9a1f24b92d503f3a1859d0939" id="r_af18748b9a1f24b92d503f3a1859d0939"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#af18748b9a1f24b92d503f3a1859d0939">notify</a> (protocol::NodeEvent ne, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &ledger, bool haveCorrectLCL)</td></tr>
|
|
<tr class="memdesc:af18748b9a1f24b92d503f3a1859d0939"><td class="mdescLeft"> </td><td class="mdescRight">Notify peers of a consensus state change. <br /></td></tr>
|
|
<tr class="separator:af18748b9a1f24b92d503f3a1859d0939"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44b703ba75ddf081e1d1e4f026137ebe" id="r_a44b703ba75ddf081e1d1e4f026137ebe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a44b703ba75ddf081e1d1e4f026137ebe">doAccept</a> (<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const &result, <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &prevLedger, <a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> closeResolution, <a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const &rawCloseTimes, <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const &<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a473f1ae7edc6969b6ba252d45bda06e1">mode</a>, <a class="el" href="classJson_1_1Value.html">Json::Value</a> &&consensusJson)</td></tr>
|
|
<tr class="memdesc:a44b703ba75ddf081e1d1e4f026137ebe"><td class="mdescLeft"> </td><td class="mdescRight">Accept a new ledger based on the given transactions. <br /></td></tr>
|
|
<tr class="separator:a44b703ba75ddf081e1d1e4f026137ebe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ca18b539a9a017ac1210c8104ffcc74" id="r_a8ca18b539a9a017ac1210c8104ffcc74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a8ca18b539a9a017ac1210c8104ffcc74">buildLCL</a> (<a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &previousLedger, <a class="el" href="classripple_1_1CanonicalTXSet.html">CanonicalTXSet</a> &retriableTxs, <a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> closeTime, bool closeTimeCorrect, <a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> closeResolution, <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> roundTime, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> > &failedTxs)</td></tr>
|
|
<tr class="memdesc:a8ca18b539a9a017ac1210c8104ffcc74"><td class="mdescLeft"> </td><td class="mdescRight">Build the new last closed ledger. <br /></td></tr>
|
|
<tr class="separator:a8ca18b539a9a017ac1210c8104ffcc74"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae0bc8e2bb64629ac624fd6b106ec56cb" id="r_ae0bc8e2bb64629ac624fd6b106ec56cb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ae0bc8e2bb64629ac624fd6b106ec56cb">validate</a> (<a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const &ledger, <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const &txns, bool <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563ea80dcf57f5ecd4be3cbfa37eccbcb6f44">proposing</a>)</td></tr>
|
|
<tr class="memdesc:ae0bc8e2bb64629ac624fd6b106ec56cb"><td class="mdescLeft"> </td><td class="mdescRight">Validate the given ledger and share with peers as necessary. <br /></td></tr>
|
|
<tr class="separator:ae0bc8e2bb64629ac624fd6b106ec56cb"><td class="memSeparator" colspan="2"> </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:a31110283db0239906f81063edb36629e" id="r_a31110283db0239906f81063edb36629e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Application.html">Application</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a31110283db0239906f81063edb36629e">app_</a></td></tr>
|
|
<tr class="separator:a31110283db0239906f81063edb36629e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a97dfe43b1e366027bc6a7a28f88e0190" id="r_a97dfe43b1e366027bc6a7a28f88e0190"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="classripple_1_1FeeVote.html">FeeVote</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a97dfe43b1e366027bc6a7a28f88e0190">feeVote_</a></td></tr>
|
|
<tr class="separator:a97dfe43b1e366027bc6a7a28f88e0190"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca0971a5e4f572f68f3b1327e6ea91e7" id="r_aca0971a5e4f572f68f3b1327e6ea91e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LedgerMaster.html">LedgerMaster</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aca0971a5e4f572f68f3b1327e6ea91e7">ledgerMaster_</a></td></tr>
|
|
<tr class="separator:aca0971a5e4f572f68f3b1327e6ea91e7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af3343ef7ec1a6a05b1e9fd380634c866" id="r_af3343ef7ec1a6a05b1e9fd380634c866"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LocalTxs.html">LocalTxs</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#af3343ef7ec1a6a05b1e9fd380634c866">localTxs_</a></td></tr>
|
|
<tr class="separator:af3343ef7ec1a6a05b1e9fd380634c866"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a221cf22a0961dc63eaefc766f5cf4caf" id="r_a221cf22a0961dc63eaefc766f5cf4caf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1InboundTransactions.html">InboundTransactions</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a221cf22a0961dc63eaefc766f5cf4caf">inboundTransactions_</a></td></tr>
|
|
<tr class="separator:a221cf22a0961dc63eaefc766f5cf4caf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f42c7a7ccbf473e789dba4721b9004e" id="r_a1f42c7a7ccbf473e789dba4721b9004e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1f42c7a7ccbf473e789dba4721b9004e">j_</a></td></tr>
|
|
<tr class="separator:a1f42c7a7ccbf473e789dba4721b9004e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0c0660b51b15c83e4025981bf71b149b" id="r_a0c0660b51b15c83e4025981bf71b149b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1ValidatorKeys.html">ValidatorKeys</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a0c0660b51b15c83e4025981bf71b149b">validatorKeys_</a></td></tr>
|
|
<tr class="separator:a0c0660b51b15c83e4025981bf71b149b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae5dae1ff6ce46d6fa64c3d919182c99d" id="r_ae5dae1ff6ce46d6fa64c3d919182c99d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ae5dae1ff6ce46d6fa64c3d919182c99d">valCookie_</a></td></tr>
|
|
<tr class="separator:ae5dae1ff6ce46d6fa64c3d919182c99d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa5623840f4cbef71d53367ac3c57860d" id="r_aa5623840f4cbef71d53367ac3c57860d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aa5623840f4cbef71d53367ac3c57860d">acquiringLedger_</a></td></tr>
|
|
<tr class="separator:aa5623840f4cbef71d53367ac3c57860d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9156cc0d4b3ae9a8cf33ca92a2d3e03e" id="r_a9156cc0d4b3ae9a8cf33ca92a2d3e03e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1ConsensusParms.html">ConsensusParms</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a9156cc0d4b3ae9a8cf33ca92a2d3e03e">parms_</a></td></tr>
|
|
<tr class="separator:a9156cc0d4b3ae9a8cf33ca92a2d3e03e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abc330dd38a468664dcc8cc51ff1ed409" id="r_abc330dd38a468664dcc8cc51ff1ed409"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#abc330dd38a468664dcc8cc51ff1ed409">lastValidationTime_</a></td></tr>
|
|
<tr class="separator:abc330dd38a468664dcc8cc51ff1ed409"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef35cd8cb3b47f1419078d29b600722e" id="r_aef35cd8cb3b47f1419078d29b600722e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aef35cd8cb3b47f1419078d29b600722e">validating_</a> {false}</td></tr>
|
|
<tr class="separator:aef35cd8cb3b47f1419078d29b600722e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2be0907f2d6692aa6f7c0e019f456b33" id="r_a2be0907f2d6692aa6f7c0e019f456b33"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a2be0907f2d6692aa6f7c0e019f456b33">prevProposers_</a> {0}</td></tr>
|
|
<tr class="separator:a2be0907f2d6692aa6f7c0e019f456b33"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3ebbf5d4149bd5872440f0778cd27b7" id="r_ae3ebbf5d4149bd5872440f0778cd27b7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ae3ebbf5d4149bd5872440f0778cd27b7">prevRoundTime_</a></td></tr>
|
|
<tr class="separator:ae3ebbf5d4149bd5872440f0778cd27b7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2085bf2fb2455d014c97c52a8dcd9c0f" id="r_a2085bf2fb2455d014c97c52a8dcd9c0f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a2085bf2fb2455d014c97c52a8dcd9c0f">mode_</a> {<a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563eaea5234685f43dcab142e132c0e7be2ce">ConsensusMode::observing</a>}</td></tr>
|
|
<tr class="separator:a2085bf2fb2455d014c97c52a8dcd9c0f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a680ee42fcc8e44fb714bd82ec20b3ba3" id="r_a680ee42fcc8e44fb714bd82ec20b3ba3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLCensorshipDetector.html">RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a680ee42fcc8e44fb714bd82ec20b3ba3">censorshipDetector_</a></td></tr>
|
|
<tr class="separator:a680ee42fcc8e44fb714bd82ec20b3ba3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab1300e3b6790124700c75d9fd909fa0c" id="r_ab1300e3b6790124700c75d9fd909fa0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1NegativeUNLVote.html">NegativeUNLVote</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ab1300e3b6790124700c75d9fd909fa0c">nUnlVote_</a></td></tr>
|
|
<tr class="separator:ab1300e3b6790124700c75d9fd909fa0c"><td class="memSeparator" colspan="2"> </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:a0b382efe42c090f4db7ec84cb757bf17" id="r_a0b382efe42c090f4db7ec84cb757bf17"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a0b382efe42c090f4db7ec84cb757bf17">Consensus< Adaptor ></a></td></tr>
|
|
<tr class="separator:a0b382efe42c090f4db7ec84cb757bf17"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00040">40</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a id="a7070e9294942bca3a365b8f75003f710" name="a7070e9294942bca3a365b8f75003f710"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7070e9294942bca3a365b8f75003f710">◆ </a></span>Ledger_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a7070e9294942bca3a365b8f75003f710">ripple::RCLConsensus::Adaptor::Ledger_t</a> = <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00074">74</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0149934874e80620fff45d1525b2c142" name="a0149934874e80620fff45d1525b2c142"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0149934874e80620fff45d1525b2c142">◆ </a></span>NodeID_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a0149934874e80620fff45d1525b2c142">ripple::RCLConsensus::Adaptor::NodeID_t</a> = <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00075">75</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a883e88cbd482098a2977c0da777d0474" name="a883e88cbd482098a2977c0da777d0474"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a883e88cbd482098a2977c0da777d0474">◆ </a></span>NodeKey_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">ripple::RCLConsensus::Adaptor::NodeKey_t</a> = <a class="el" href="classripple_1_1PublicKey.html">PublicKey</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00076">76</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a09d0f97923419fce09b3411d35852fd8" name="a09d0f97923419fce09b3411d35852fd8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a09d0f97923419fce09b3411d35852fd8">◆ </a></span>TxSet_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a09d0f97923419fce09b3411d35852fd8">ripple::RCLConsensus::Adaptor::TxSet_t</a> = <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00077">77</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aad99e4eb83e29495e71cdae4cd3779f7" name="aad99e4eb83e29495e71cdae4cd3779f7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aad99e4eb83e29495e71cdae4cd3779f7">◆ </a></span>PeerPosition_t</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#aad99e4eb83e29495e71cdae4cd3779f7">ripple::RCLConsensus::Adaptor::PeerPosition_t</a> = <a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00078">78</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1de8858ea7f1779adc6e57cf19a6bc9e" name="a1de8858ea7f1779adc6e57cf19a6bc9e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1de8858ea7f1779adc6e57cf19a6bc9e">◆ </a></span>Result</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">ripple::RCLConsensus::Adaptor::Result</a> = <a class="el" href="structripple_1_1ConsensusResult.html">ConsensusResult</a><<a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a>></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00080">80</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a4c0ffe5a89562947a789cd6b6ac51a94" name="a4c0ffe5a89562947a789cd6b6ac51a94"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c0ffe5a89562947a789cd6b6ac51a94">◆ </a></span>Adaptor()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::RCLConsensus::Adaptor::Adaptor </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> & </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>< <a class="el" href="classripple_1_1FeeVote.html">FeeVote</a> > && </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> & </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> & </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> & </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_1ValidatorKeys.html">ValidatorKeys</a> const & </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> </td>
|
|
<td class="paramname"><em>journal</em> </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="RCLConsensus_8cpp_source.html#l00057">57</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a52d6c6005bc8066ec68d7e81038a6906" name="a52d6c6005bc8066ec68d7e81038a6906"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a52d6c6005bc8066ec68d7e81038a6906">◆ </a></span>validating()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLConsensus::Adaptor::validating </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#l00092">92</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab74105efd959c639a0b7bb1b21b32369" name="ab74105efd959c639a0b7bb1b21b32369"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab74105efd959c639a0b7bb1b21b32369">◆ </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::Adaptor::prevProposers </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#l00098">98</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4c7926d71c0a202f59e77470d0428a1b" name="a4c7926d71c0a202f59e77470d0428a1b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4c7926d71c0a202f59e77470d0428a1b">◆ </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::Adaptor::prevRoundTime </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#l00104">104</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a473f1ae7edc6969b6ba252d45bda06e1" name="a473f1ae7edc6969b6ba252d45bda06e1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a473f1ae7edc6969b6ba252d45bda06e1">◆ </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::Adaptor::mode </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#l00110">110</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aeabb611a96a6d3e34fbeba94fd462bcd" name="aeabb611a96a6d3e34fbeba94fd462bcd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aeabb611a96a6d3e34fbeba94fd462bcd">◆ </a></span>preStartRound()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLConsensus::Adaptor::preStartRound </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>prevLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="namespaceripple.html#a4e412a5834900d9affa8db3ac1a27209">NodeID</a> > const & </td>
|
|
<td class="paramname"><em>nowTrusted</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called before kicking off a new consensus round. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">prevLedger</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> that will be prior ledger for next round </td></tr>
|
|
<tr><td class="paramname">nowTrusted</td><td>the new validators </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Whether we enter the round proposing </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00974">974</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad0aa2492ff95815e202bd5801b37e030" name="ad0aa2492ff95815e202bd5801b37e030"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad0aa2492ff95815e202bd5801b37e030">◆ </a></span>haveValidated()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLConsensus::Adaptor::haveValidated </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_8cpp_source.html#l01024">1024</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9f9e5d015fc6b18e3726ce51658b257c" name="a9f9e5d015fc6b18e3726ce51658b257c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9f9e5d015fc6b18e3726ce51658b257c">◆ </a></span>getValidLedgerIndex()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ripple::RCLConsensus::Adaptor::getValidLedgerIndex </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_8cpp_source.html#l01030">1030</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af8d2a95620b4b70e89890757d9bfb528" name="af8d2a95620b4b70e89890757d9bfb528"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af8d2a95620b4b70e89890757d9bfb528">◆ </a></span>getQuorumKeys()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>, <a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">RCLConsensus::Adaptor::NodeKey_t</a> > > ripple::RCLConsensus::Adaptor::getQuorumKeys </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_8cpp_source.html#l01036">1036</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a64490ffd82ff2b75da2406bb52fcd7dd" name="a64490ffd82ff2b75da2406bb52fcd7dd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a64490ffd82ff2b75da2406bb52fcd7dd">◆ </a></span>laggards()</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::Adaptor::laggards </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html#aaad5276a8dd4c15270ed5b847cf511cd">Ledger_t::Seq</a> const </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a7750eec5e079354285f1d60cfd0247ca">hash_set</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a883e88cbd482098a2977c0da777d0474">NodeKey_t</a> > & </td>
|
|
<td class="paramname"><em>trustedKeys</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l01042">1042</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a89732653d5e60191140d595d9192bc83" name="a89732653d5e60191140d595d9192bc83"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a89732653d5e60191140d595d9192bc83">◆ </a></span>validator()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLConsensus::Adaptor::validator </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Whether I am a validator. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>whether I am a validator. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l01050">1050</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af204a12bd25345da7fbdb8d267a1e23f" name="af204a12bd25345da7fbdb8d267a1e23f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af204a12bd25345da7fbdb8d267a1e23f">◆ </a></span>updateOperatingMode()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::updateOperatingMode </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const </td>
|
|
<td class="paramname"><em>positions</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Update operating mode based on current peer positions. </p>
|
|
<p>If our current ledger has no agreement from the network, then we cannot be in the omFULL mode.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">positions</td><td><a class="el" href="classripple_1_1Number.html">Number</a> of current peer positions. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l01056">1056</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab8d7357f87f1c80f0ba44fa58af654ff" name="ab8d7357f87f1c80f0ba44fa58af654ff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab8d7357f87f1c80f0ba44fa58af654ff">◆ </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 & ripple::RCLConsensus::Adaptor::parms </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p><a class="el" href="classripple_1_1Consensus.html" title="Generic implementation of consensus algorithm.">Consensus</a> simulation parameters. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00159">159</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a93589fe1373e60df4313330b0ca40ecb" name="a93589fe1373e60df4313330b0ca40ecb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a93589fe1373e60df4313330b0ca40ecb">◆ </a></span>acquireLedger()</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/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> > ripple::RCLConsensus::Adaptor::acquireLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const & </td>
|
|
<td class="paramname"><em>hash</em></td><td>)</td>
|
|
<td></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>Attempt to acquire a specific ledger. </p>
|
|
<p>If not available, asynchronously acquires from the network.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">hash</td><td>The ID/hash of the ledger acquire </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Optional ledger, will be seated if we locally had the ledger </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00107">107</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3c19242b4c7feb5d9ce80c7f49f00646" name="a3c19242b4c7feb5d9ce80c7f49f00646"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3c19242b4c7feb5d9ce80c7f49f00646">◆ </a></span>share() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::share </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxPeerPos.html">RCLCxPeerPos</a> const & </td>
|
|
<td class="paramname"><em>peerPos</em></td><td>)</td>
|
|
<td></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>Share the given proposal with all peers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">peerPos</td><td>The peer position to share. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00148">148</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4444940bd7637bee7b646ca61530f0b5" name="a4444940bd7637bee7b646ca61530f0b5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4444940bd7637bee7b646ca61530f0b5">◆ </a></span>share() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::share </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxTx.html">RCLCxTx</a> const & </td>
|
|
<td class="paramname"><em>tx</em></td><td>)</td>
|
|
<td></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>Share disputed transaction to peers. </p>
|
|
<p>Only share if the provided transaction hasn't been shared recently.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">tx</td><td>The disputed transaction to share. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00172">172</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abd952b4943d59db7baeed2173c2abe8e" name="abd952b4943d59db7baeed2173c2abe8e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abd952b4943d59db7baeed2173c2abe8e">◆ </a></span>acquireTxSet()</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/utility/optional.html">std::optional</a>< <a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> > ripple::RCLConsensus::Adaptor::acquireTxSet </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html#a8dbf7a38f9f988c6da525b721c64019e">RCLTxSet::ID</a> const & </td>
|
|
<td class="paramname"><em>setId</em></td><td>)</td>
|
|
<td></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>Acquire the transaction set associated with a proposal. </p>
|
|
<p>If the transaction set is not available locally, will attempt acquire it from the network.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">setId</td><td>The transaction set ID associated with the proposal </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Optional set of transactions, seated if available. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00244">244</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac97ef5d20d6f7ec91992dbc344f9d77a" name="ac97ef5d20d6f7ec91992dbc344f9d77a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac97ef5d20d6f7ec91992dbc344f9d77a">◆ </a></span>hasOpenTransactions()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::RCLConsensus::Adaptor::hasOpenTransactions </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</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>Whether the open ledger has any transactions. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00254">254</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aecfa90103c1ac29bb861acc866e16230" name="aecfa90103c1ac29bb861acc866e16230"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aecfa90103c1ac29bb861acc866e16230">◆ </a></span>proposersValidated()</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/types/size_t.html">std::size_t</a> ripple::RCLConsensus::Adaptor::proposersValidated </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const & </td>
|
|
<td class="paramname"><em>h</em></td><td>)</td>
|
|
<td> const</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><a class="el" href="classripple_1_1Number.html">Number</a> of proposers that have validated the given ledger. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">h</td><td>The hash of the ledger of interest </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>the number of proposers that validated a ledger </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00260">260</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab10285a854623f41080295ff41f41d12" name="ab10285a854623f41080295ff41f41d12"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab10285a854623f41080295ff41f41d12">◆ </a></span>proposersFinished()</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/types/size_t.html">std::size_t</a> ripple::RCLConsensus::Adaptor::proposersFinished </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>ledger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> const & </td>
|
|
<td class="paramname"><em>h</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</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><a class="el" href="classripple_1_1Number.html">Number</a> of proposers that have validated a ledger descended from requested ledger. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ledger</td><td>The current working ledger </td></tr>
|
|
<tr><td class="paramname">h</td><td>The hash of the preferred working ledger </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of validating peers that have validated a ledger descended from the preferred working ledger. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00266">266</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a04003c395b5a8519537fd8388bc4fda7" name="a04003c395b5a8519537fd8388bc4fda7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a04003c395b5a8519537fd8388bc4fda7">◆ </a></span>propose()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::propose </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxPeerPos.html#afef6574cc04e0877e8f23f76cc688390">RCLCxPeerPos::Proposal</a> const & </td>
|
|
<td class="paramname"><em>proposal</em></td><td>)</td>
|
|
<td></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>Propose the given position to my peers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">proposal</td><td>Our proposed position </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00193">193</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af85c22219005f9061326ab12bd3e0a81" name="af85c22219005f9061326ab12bd3e0a81"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af85c22219005f9061326ab12bd3e0a81">◆ </a></span>share() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::share </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const & </td>
|
|
<td class="paramname"><em>txns</em></td><td>)</td>
|
|
<td></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>Share the given tx set to peers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">txns</td><td>The TxSet to share. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00238">238</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aec8ba6a5bc49a937911f50c264a48439" name="aec8ba6a5bc49a937911f50c264a48439"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aec8ba6a5bc49a937911f50c264a48439">◆ </a></span>getPrevLedger()</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="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ripple::RCLConsensus::Adaptor::getPrevLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> </td>
|
|
<td class="paramname"><em>ledgerID</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>ledger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> </td>
|
|
<td class="paramname"><em>mode</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Get the ID of the previous ledger/last closed ledger(LCL) on the network. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ledgerID</td><td>ID of previous ledger used by consensus </td></tr>
|
|
<tr><td class="paramname">ledger</td><td>Previous ledger consensus has available </td></tr>
|
|
<tr><td class="paramname">mode</td><td>Current consensus mode </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The id of the last closed network</dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>ledgerID may not match ledger.id() if we haven't acquired the ledger matching ledgerID from the network </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00276">276</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a602cb9acaeb931bb5a7b5a74de5f5280" name="a602cb9acaeb931bb5a7b5a74de5f5280"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a602cb9acaeb931bb5a7b5a74de5f5280">◆ </a></span>onModeChange()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::onModeChange </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> </td>
|
|
<td class="paramname"><em>before</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> </td>
|
|
<td class="paramname"><em>after</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Notified of change in consensus mode. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">before</td><td>The prior consensus mode </td></tr>
|
|
<tr><td class="paramname">after</td><td>The new consensus mode </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00889">889</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2f168067d1fbfbee91c628629cd5017a" name="a2f168067d1fbfbee91c628629cd5017a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2f168067d1fbfbee91c628629cd5017a">◆ </a></span>onClose()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">auto ripple::RCLConsensus::Adaptor::onClose </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>ledger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> const & </td>
|
|
<td class="paramname"><em>closeTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> </td>
|
|
<td class="paramname"><em>mode</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Close the open ledger and return initial consensus position. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ledger</td><td>the ledger we are changing to </td></tr>
|
|
<tr><td class="paramname">closeTime</td><td>When consensus closed the ledger </td></tr>
|
|
<tr><td class="paramname">mode</td><td>Current consensus mode </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Tentative consensus result </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00298">298</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad40fb423038c68c5f122a7bd9b1b2a36" name="ad40fb423038c68c5f122a7bd9b1b2a36"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad40fb423038c68c5f122a7bd9b1b2a36">◆ </a></span>onAccept()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::onAccept </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const & </td>
|
|
<td class="paramname"><em>result</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>prevLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> const & </td>
|
|
<td class="paramname"><em>closeResolution</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const & </td>
|
|
<td class="paramname"><em>rawCloseTimes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const & </td>
|
|
<td class="paramname"><em>mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> && </td>
|
|
<td class="paramname"><em>consensusJson</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool const </td>
|
|
<td class="paramname"><em>validating</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Process the accepted ledger. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">result</td><td>The result of consensus </td></tr>
|
|
<tr><td class="paramname">prevLedger</td><td>The closed ledger consensus worked from </td></tr>
|
|
<tr><td class="paramname">closeResolution</td><td>The resolution used in agreeing on an effective closeTime </td></tr>
|
|
<tr><td class="paramname">rawCloseTimes</td><td>The unrounded closetimes of ourself and our peers </td></tr>
|
|
<tr><td class="paramname">mode</td><td>Our participating mode at the time consensus was declared </td></tr>
|
|
<tr><td class="paramname">consensusJson</td><td><a class="el" href="namespaceJson.html" title="JSON (JavaScript Object Notation).">Json</a> representation of consensus state </td></tr>
|
|
<tr><td class="paramname">validating</td><td>whether this is a validator </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00412">412</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a71558db36f2c6e246d00408955a8eb7f" name="a71558db36f2c6e246d00408955a8eb7f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a71558db36f2c6e246d00408955a8eb7f">◆ </a></span>onForceAccept()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::onForceAccept </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const & </td>
|
|
<td class="paramname"><em>result</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>prevLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> const & </td>
|
|
<td class="paramname"><em>closeResolution</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const & </td>
|
|
<td class="paramname"><em>rawCloseTimes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const & </td>
|
|
<td class="paramname"><em>mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> && </td>
|
|
<td class="paramname"><em>consensusJson</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Process the accepted ledger that was a result of simulation/force accept. </p>
|
|
<p><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ad40fb423038c68c5f122a7bd9b1b2a36">onAccept</a> </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00394">394</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af18748b9a1f24b92d503f3a1859d0939" name="af18748b9a1f24b92d503f3a1859d0939"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af18748b9a1f24b92d503f3a1859d0939">◆ </a></span>notify()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::notify </td>
|
|
<td>(</td>
|
|
<td class="paramtype">protocol::NodeEvent </td>
|
|
<td class="paramname"><em>ne</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>ledger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>haveCorrectLCL</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Notify peers of a consensus state change. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ne</td><td>Event type for notification </td></tr>
|
|
<tr><td class="paramname">ledger</td><td>The ledger at the time of the state change </td></tr>
|
|
<tr><td class="paramname">haveCorrectLCL</td><td>Whether we believe we have the correct LCL. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00715">715</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a44b703ba75ddf081e1d1e4f026137ebe" name="a44b703ba75ddf081e1d1e4f026137ebe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a44b703ba75ddf081e1d1e4f026137ebe">◆ </a></span>doAccept()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::doAccept </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#a1de8858ea7f1779adc6e57cf19a6bc9e">Result</a> const & </td>
|
|
<td class="paramname"><em>result</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>prevLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> </td>
|
|
<td class="paramname"><em>closeResolution</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1ConsensusCloseTimes.html">ConsensusCloseTimes</a> const & </td>
|
|
<td class="paramname"><em>rawCloseTimes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a> const & </td>
|
|
<td class="paramname"><em>mode</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> && </td>
|
|
<td class="paramname"><em>consensusJson</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Accept a new ledger based on the given transactions. </p>
|
|
<p><a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html#ad40fb423038c68c5f122a7bd9b1b2a36">onAccept</a> </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00443">443</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8ca18b539a9a017ac1210c8104ffcc74" name="a8ca18b539a9a017ac1210c8104ffcc74"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ca18b539a9a017ac1210c8104ffcc74">◆ </a></span>buildLCL()</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_1RCLCxLedger.html">RCLCxLedger</a> ripple::RCLConsensus::Adaptor::buildLCL </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>previousLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1CanonicalTXSet.html">CanonicalTXSet</a> & </td>
|
|
<td class="paramname"><em>retriableTxs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> </td>
|
|
<td class="paramname"><em>closeTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>closeTimeCorrect</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NetClock.html#afe3767203cd971a00067671641bc7e16">NetClock::duration</a> </td>
|
|
<td class="paramname"><em>closeResolution</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a> </td>
|
|
<td class="paramname"><em>roundTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> > & </td>
|
|
<td class="paramname"><em>failedTxs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Build the new last closed ledger. </p>
|
|
<p>Accept the given the provided set of consensus transactions and build the last closed ledger. Since consensus just agrees on which transactions to apply, but not whether they make it into the closed ledger, this function also populates retriableTxs with those that can be retried in the next round.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">previousLedger</td><td>Prior ledger building upon </td></tr>
|
|
<tr><td class="paramname">retriableTxs</td><td>On entry, the set of transactions to apply to the ledger; on return, the set of transactions to retry in the next round. </td></tr>
|
|
<tr><td class="paramname">closeTime</td><td>The time the ledger closed </td></tr>
|
|
<tr><td class="paramname">closeTimeCorrect</td><td>Whether consensus agreed on close time </td></tr>
|
|
<tr><td class="paramname">closeResolution</td><td>Resolution used to determine consensus close time </td></tr>
|
|
<tr><td class="paramname">roundTime</td><td>Duration of this consensus round </td></tr>
|
|
<tr><td class="paramname">failedTxs</td><td>Populate with transactions that we could not successfully apply. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The newly built ledger </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00754">754</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae0bc8e2bb64629ac624fd6b106ec56cb" name="ae0bc8e2bb64629ac624fd6b106ec56cb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae0bc8e2bb64629ac624fd6b106ec56cb">◆ </a></span>validate()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::RCLConsensus::Adaptor::validate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCxLedger.html">RCLCxLedger</a> const & </td>
|
|
<td class="paramname"><em>ledger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLTxSet.html">RCLTxSet</a> const & </td>
|
|
<td class="paramname"><em>txns</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>proposing</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></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>Validate the given ledger and share with peers as necessary. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ledger</td><td>The ledger to validate </td></tr>
|
|
<tr><td class="paramname">txns</td><td>The consensus transaction set </td></tr>
|
|
<tr><td class="paramname">proposing</td><td>Whether we were proposing transactions while generating this ledger. If we are not proposing, a validation can still be sent to inform peers that we know we aren't fully participating in consensus but are still around and trying to catch up. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8cpp_source.html#l00797">797</a> of file <a class="el" href="RCLConsensus_8cpp_source.html">RCLConsensus.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
|
|
<a id="a0b382efe42c090f4db7ec84cb757bf17" name="a0b382efe42c090f4db7ec84cb757bf17"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0b382efe42c090f4db7ec84cb757bf17">◆ </a></span>Consensus< Adaptor ></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">friend class <a class="el" href="classripple_1_1Consensus.html">Consensus</a>< <a class="el" href="classripple_1_1RCLConsensus_1_1Adaptor.html">Adaptor</a> ></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 class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00159">159</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="a31110283db0239906f81063edb36629e" name="a31110283db0239906f81063edb36629e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a31110283db0239906f81063edb36629e">◆ </a></span>app_</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_1Application.html">Application</a>& ripple::RCLConsensus::Adaptor::app_</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#l00042">42</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a97dfe43b1e366027bc6a7a28f88e0190" name="a97dfe43b1e366027bc6a7a28f88e0190"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a97dfe43b1e366027bc6a7a28f88e0190">◆ </a></span>feeVote_</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/memory/unique_ptr.html">std::unique_ptr</a><<a class="el" href="classripple_1_1FeeVote.html">FeeVote</a>> ripple::RCLConsensus::Adaptor::feeVote_</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#l00043">43</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aca0971a5e4f572f68f3b1327e6ea91e7" name="aca0971a5e4f572f68f3b1327e6ea91e7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aca0971a5e4f572f68f3b1327e6ea91e7">◆ </a></span>ledgerMaster_</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_1LedgerMaster.html">LedgerMaster</a>& ripple::RCLConsensus::Adaptor::ledgerMaster_</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#l00044">44</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af3343ef7ec1a6a05b1e9fd380634c866" name="af3343ef7ec1a6a05b1e9fd380634c866"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af3343ef7ec1a6a05b1e9fd380634c866">◆ </a></span>localTxs_</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_1LocalTxs.html">LocalTxs</a>& ripple::RCLConsensus::Adaptor::localTxs_</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#l00045">45</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a221cf22a0961dc63eaefc766f5cf4caf" name="a221cf22a0961dc63eaefc766f5cf4caf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a221cf22a0961dc63eaefc766f5cf4caf">◆ </a></span>inboundTransactions_</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_1InboundTransactions.html">InboundTransactions</a>& ripple::RCLConsensus::Adaptor::inboundTransactions_</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#l00046">46</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1f42c7a7ccbf473e789dba4721b9004e" name="a1f42c7a7ccbf473e789dba4721b9004e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f42c7a7ccbf473e789dba4721b9004e">◆ </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::Adaptor::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#l00047">47</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0c0660b51b15c83e4025981bf71b149b" name="a0c0660b51b15c83e4025981bf71b149b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0c0660b51b15c83e4025981bf71b149b">◆ </a></span>validatorKeys_</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_1ValidatorKeys.html">ValidatorKeys</a> const& ripple::RCLConsensus::Adaptor::validatorKeys_</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#l00050">50</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae5dae1ff6ce46d6fa64c3d919182c99d" name="ae5dae1ff6ce46d6fa64c3d919182c99d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae5dae1ff6ce46d6fa64c3d919182c99d">◆ </a></span>valCookie_</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/types/integer.html">std::uint64_t</a> const ripple::RCLConsensus::Adaptor::valCookie_</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#l00053">53</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa5623840f4cbef71d53367ac3c57860d" name="aa5623840f4cbef71d53367ac3c57860d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa5623840f4cbef71d53367ac3c57860d">◆ </a></span>acquiringLedger_</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="namespaceripple.html#af5a72d3e0d9b6913c13f688390b90796">LedgerHash</a> ripple::RCLConsensus::Adaptor::acquiringLedger_</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#l00056">56</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9156cc0d4b3ae9a8cf33ca92a2d3e03e" name="a9156cc0d4b3ae9a8cf33ca92a2d3e03e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9156cc0d4b3ae9a8cf33ca92a2d3e03e">◆ </a></span>parms_</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="structripple_1_1ConsensusParms.html">ConsensusParms</a> ripple::RCLConsensus::Adaptor::parms_</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#l00057">57</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abc330dd38a468664dcc8cc51ff1ed409" name="abc330dd38a468664dcc8cc51ff1ed409"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abc330dd38a468664dcc8cc51ff1ed409">◆ </a></span>lastValidationTime_</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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> ripple::RCLConsensus::Adaptor::lastValidationTime_</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#l00060">60</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aef35cd8cb3b47f1419078d29b600722e" name="aef35cd8cb3b47f1419078d29b600722e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aef35cd8cb3b47f1419078d29b600722e">◆ </a></span>validating_</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/atomic/atomic.html">std::atomic</a><bool> ripple::RCLConsensus::Adaptor::validating_ {false}</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#l00064">64</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2be0907f2d6692aa6f7c0e019f456b33" name="a2be0907f2d6692aa6f7c0e019f456b33"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2be0907f2d6692aa6f7c0e019f456b33">◆ </a></span>prevProposers_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>> ripple::RCLConsensus::Adaptor::prevProposers_ {0}</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#l00065">65</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae3ebbf5d4149bd5872440f0778cd27b7" name="ae3ebbf5d4149bd5872440f0778cd27b7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae3ebbf5d4149bd5872440f0778cd27b7">◆ </a></span>prevRoundTime_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>> ripple::RCLConsensus::Adaptor::prevRoundTime_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
|
|
<div class="line"> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::milliseconds</a>{0}}</div>
|
|
<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>
|
|
</div><!-- fragment -->
|
|
<p class="definition">Definition at line <a class="el" href="RCLConsensus_8h_source.html#l00066">66</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2085bf2fb2455d014c97c52a8dcd9c0f" name="a2085bf2fb2455d014c97c52a8dcd9c0f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2085bf2fb2455d014c97c52a8dcd9c0f">◆ </a></span>mode_</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/atomic/atomic.html">std::atomic</a><<a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563e">ConsensusMode</a>> ripple::RCLConsensus::Adaptor::mode_ {<a class="el" href="namespaceripple.html#a33f8b6e68b5f63faf2e9755cc251563eaea5234685f43dcab142e132c0e7be2ce">ConsensusMode::observing</a>}</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#l00068">68</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a680ee42fcc8e44fb714bd82ec20b3ba3" name="a680ee42fcc8e44fb714bd82ec20b3ba3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a680ee42fcc8e44fb714bd82ec20b3ba3">◆ </a></span>censorshipDetector_</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_1RCLCensorshipDetector.html">RCLCensorshipDetector</a><<a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>> ripple::RCLConsensus::Adaptor::censorshipDetector_</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#l00070">70</a> of file <a class="el" href="RCLConsensus_8h_source.html">RCLConsensus.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab1300e3b6790124700c75d9fd909fa0c" name="ab1300e3b6790124700c75d9fd909fa0c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab1300e3b6790124700c75d9fd909fa0c">◆ </a></span>nUnlVote_</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_1NegativeUNLVote.html">NegativeUNLVote</a> ripple::RCLConsensus::Adaptor::nUnlVote_</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#l00071">71</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 <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>
|