mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 04:55:52 +00:00
1270 lines
75 KiB
HTML
1270 lines
75 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::AmendmentTableImpl Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1AmendmentTableImpl.html">AmendmentTableImpl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<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="classripple_1_1AmendmentTableImpl-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ripple::AmendmentTableImpl Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Track the list of "amendments".
|
|
<a href="classripple_1_1AmendmentTableImpl.html#details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for ripple::AmendmentTableImpl:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1AmendmentTableImpl__inherit__graph.png" border="0" usemap="#ripple_1_1AmendmentTableImpl_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="ripple_1_1AmendmentTableImpl_inherit__map" id="ripple_1_1AmendmentTableImpl_inherit__map">
|
|
<area shape="rect" title="Track the list of "amendments"." alt="" coords="5,80,216,107"/>
|
|
<area shape="rect" href="classripple_1_1AmendmentTable.html" title="The amendment table stores the list of enabled and potential amendments." alt="" coords="20,5,201,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::AmendmentTableImpl:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1AmendmentTableImpl__coll__graph.png" border="0" usemap="#ripple_1_1AmendmentTableImpl_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="ripple_1_1AmendmentTableImpl_coll__map" id="ripple_1_1AmendmentTableImpl_coll__map">
|
|
<area shape="rect" title="Track the list of "amendments"." alt="" coords="2747,239,2957,265"/>
|
|
<area shape="rect" href="classripple_1_1AmendmentTable.html" title="The amendment table stores the list of enabled and potential amendments." alt="" coords="2337,5,2519,32"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,136,108,163"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,219,389,261"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="2351,239,2505,265"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="2343,173,2513,214"/>
|
|
<area shape="rect" href="classripple_1_1AmendmentSet.html" title="The status of all amendments requested in a given window." alt="" coords="2024,205,2192,232"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1012,399,1164,455"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32-bits." alt="" coords="507,217,648,258"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_set.html" title=" " alt="" coords="781,187,988,243"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_set.html" title=" " alt="" coords="810,267,959,323"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="785,107,985,163"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,168,349,195"/>
|
|
<area shape="rect" href="classripple_1_1Rules.html" title="Rules controlling protocol behavior." alt="" coords="1803,205,1905,232"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1499,198,1670,239"/>
|
|
<area shape="rect" href="classripple_1_1Rules_1_1Impl.html" title=" " alt="" coords="1188,211,1327,237"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="807,347,962,389"/>
|
|
<area shape="rect" href="classripple_1_1DatabaseCon.html" title=" " alt="" coords="2351,289,2505,316"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2023,325,2193,366"/>
|
|
<area shape="rect" href="classripple_1_1Checkpointer.html" title=" " alt="" coords="1777,333,1931,360"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="1481,327,1688,369"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="2029,391,2187,417"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2028,259,2188,301"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="2382,340,2474,367"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/optional.html" title=" " alt="" coords="2345,391,2511,433"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="2373,457,2483,484"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="2035,457,2181,484"/>
|
|
<area shape="rect" href="structripple_1_1AmendmentState.html" title="Current state of an amendment." alt="" coords="487,116,668,143"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="262,113,349,140"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ad8ae023b65df83333c31ccfbd08246f6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#ad8ae023b65df83333c31ccfbd08246f6">AmendmentTableImpl</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &app, <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> majorityTime, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1AmendmentTable_1_1FeatureInfo.html">FeatureInfo</a> > const &supported, <a class="el" href="classripple_1_1Section.html">Section</a> const &enabled, <a class="el" href="classripple_1_1Section.html">Section</a> const &vetoed, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
|
|
<tr class="separator:ad8ae023b65df83333c31ccfbd08246f6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0ce3359d4362a4d0fdd0b84c39b6ff95"><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_1AmendmentTableImpl.html#a0ce3359d4362a4d0fdd0b84c39b6ff95">find</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &name) const override</td></tr>
|
|
<tr class="separator:a0ce3359d4362a4d0fdd0b84c39b6ff95"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3ed0fa478f3811768ffa240db7effeed"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a3ed0fa478f3811768ffa240db7effeed">veto</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment) override</td></tr>
|
|
<tr class="separator:a3ed0fa478f3811768ffa240db7effeed"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d1704ba32d8c87761c27236cde40f88"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a0d1704ba32d8c87761c27236cde40f88">unVeto</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment) override</td></tr>
|
|
<tr class="separator:a0d1704ba32d8c87761c27236cde40f88"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a195a61b5c9f813b5c275ae50a7b40e25"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a195a61b5c9f813b5c275ae50a7b40e25">enable</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment) override</td></tr>
|
|
<tr class="separator:a195a61b5c9f813b5c275ae50a7b40e25"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a630f159b4f3029034ac3c5b91b48e08c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a630f159b4f3029034ac3c5b91b48e08c">isEnabled</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment) const override</td></tr>
|
|
<tr class="separator:a630f159b4f3029034ac3c5b91b48e08c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adce6a4a3f12e891ffdb1a59a547ea11a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#adce6a4a3f12e891ffdb1a59a547ea11a">isSupported</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment) const override</td></tr>
|
|
<tr class="separator:adce6a4a3f12e891ffdb1a59a547ea11a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab6e23bf02b70c350ab4597605b235a15"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15">hasUnsupportedEnabled</a> () const override</td></tr>
|
|
<tr class="memdesc:ab6e23bf02b70c350ab4597605b235a15"><td class="mdescLeft"> </td><td class="mdescRight">returns true if one or more amendments on the network have been enabled that this server does not support <a href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15">More...</a><br /></td></tr>
|
|
<tr class="separator:ab6e23bf02b70c350ab4597605b235a15"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae591250cf5ab06c0310da46a9e5543fb"><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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#ae591250cf5ab06c0310da46a9e5543fb">firstUnsupportedExpected</a> () const override</td></tr>
|
|
<tr class="separator:ae591250cf5ab06c0310da46a9e5543fb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c84b0a42b131a8c6392a993bc4b4c4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a9c84b0a42b131a8c6392a993bc4b4c4c">getJson</a> () const override</td></tr>
|
|
<tr class="separator:a9c84b0a42b131a8c6392a993bc4b4c4c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8780f13856e21995bfa5001959d5bff4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a8780f13856e21995bfa5001959d5bff4">getJson</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &) const override</td></tr>
|
|
<tr class="memdesc:a8780f13856e21995bfa5001959d5bff4"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6" title="object value (collection of name/value pairs).">Json::objectValue</a>. <a href="classripple_1_1AmendmentTableImpl.html#a8780f13856e21995bfa5001959d5bff4">More...</a><br /></td></tr>
|
|
<tr class="separator:a8780f13856e21995bfa5001959d5bff4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a203420f15319808ab19dbc3903a32444"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444">needValidatedLedger</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> seq) const override</td></tr>
|
|
<tr class="memdesc:a203420f15319808ab19dbc3903a32444"><td class="mdescLeft"> </td><td class="mdescRight">Called to determine whether the amendment logic needs to process a new validated ledger. <a href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444">More...</a><br /></td></tr>
|
|
<tr class="separator:a203420f15319808ab19dbc3903a32444"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a1de10b5b7e51cc4f20f2636503c2e6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a5a1de10b5b7e51cc4f20f2636503c2e6">doValidatedLedger</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> seq, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > const &enabled, <a class="el" href="namespaceripple.html#a9722ac6213471ba4b92259afc6edc2b1">majorityAmendments_t</a> const &majority) override</td></tr>
|
|
<tr class="separator:a5a1de10b5b7e51cc4f20f2636503c2e6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a941314eb1dff68fb625f7a44378845b9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9">doValidation</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > const &enabledAmendments) const override</td></tr>
|
|
<tr class="separator:a941314eb1dff68fb625f7a44378845b9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a38055e674ea217fa366b5bf954d4cd72"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a38055e674ea217fa366b5bf954d4cd72">getDesired</a> () const override</td></tr>
|
|
<tr class="separator:a38055e674ea217fa366b5bf954d4cd72"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4eac7bf3be538741f7fa066c18b04fae"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a4eac7bf3be538741f7fa066c18b04fae">doVoting</a> (<a class="el" href="classripple_1_1Rules.html">Rules</a> const &rules, <a class="el" href="classripple_1_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> closeTime, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > const &enabledAmendments, <a class="el" href="namespaceripple.html#a9722ac6213471ba4b92259afc6edc2b1">majorityAmendments_t</a> const &majorityAmendments, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1STValidation.html">STValidation</a> >> const &validations) override</td></tr>
|
|
<tr class="separator:a4eac7bf3be538741f7fa066c18b04fae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac721ac20262609226483f1436b0df02f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTable.html#ac721ac20262609226483f1436b0df02f">doValidatedLedger</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const > const &lastValidatedLedger)</td></tr>
|
|
<tr class="memdesc:ac721ac20262609226483f1436b0df02f"><td class="mdescLeft"> </td><td class="mdescRight">Called when a new fully-validated ledger is accepted. <a href="classripple_1_1AmendmentTable.html#ac721ac20262609226483f1436b0df02f">More...</a><br /></td></tr>
|
|
<tr class="separator:ac721ac20262609226483f1436b0df02f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae4402ab8248766bc7556bdbb93225943"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTable.html#ae4402ab8248766bc7556bdbb93225943">doVoting</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const > const &lastClosedLedger, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1STValidation.html">STValidation</a> >> const &parentValidations, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1SHAMap.html">SHAMap</a> > const &initialPosition)</td></tr>
|
|
<tr class="separator:ae4402ab8248766bc7556bdbb93225943"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:a6a02743339c64f66083284b3098c8345"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a6a02743339c64f66083284b3098c8345">add</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment, <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const &lock)</td></tr>
|
|
<tr class="separator:a6a02743339c64f66083284b3098c8345"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e8319c611d4172c5d10e88288b5b98e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">get</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment, <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const &lock)</td></tr>
|
|
<tr class="separator:a9e8319c611d4172c5d10e88288b5b98e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:accf7c7c2e4b9eb4c479e05487cc30b7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> const * </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#accf7c7c2e4b9eb4c479e05487cc30b7c">get</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment, <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const &lock) const</td></tr>
|
|
<tr class="separator:accf7c7c2e4b9eb4c479e05487cc30b7c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4f1d0bde577c66d4c238a3f6bfd8fc6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a4f1d0bde577c66d4c238a3f6bfd8fc6a">injectJson</a> (<a class="el" href="classJson_1_1Value.html">Json::Value</a> &v, <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment, <a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> const &state, <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const &lock) const</td></tr>
|
|
<tr class="separator:a4f1d0bde577c66d4c238a3f6bfd8fc6a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0421687816b7b1bb4805d5c04048f8a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">persistVote</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amendment, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &name, <a class="el" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> vote) const</td></tr>
|
|
<tr class="separator:ab0421687816b7b1bb4805d5c04048f8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a08ceef79750994d25c0b416c378eecc0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a></td></tr>
|
|
<tr class="separator:a08ceef79750994d25c0b416c378eecc0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7cca5bba8dff04a84023969c1499160f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a46c521271235f4e2715d7fa8b68940ca">hash_map</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a7cca5bba8dff04a84023969c1499160f">amendmentMap_</a></td></tr>
|
|
<tr class="separator:a7cca5bba8dff04a84023969c1499160f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aefbfbe13885b57244364ab17906ebb8c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#aefbfbe13885b57244364ab17906ebb8c">lastUpdateSeq_</a></td></tr>
|
|
<tr class="separator:aefbfbe13885b57244364ab17906ebb8c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c9272ffee37521dc61aa8baab7b8c10"><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a9c9272ffee37521dc61aa8baab7b8c10">majorityTime_</a></td></tr>
|
|
<tr class="separator:a9c9272ffee37521dc61aa8baab7b8c10"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51e688abb62a1f399751971156723aae"><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_1AmendmentSet.html">AmendmentSet</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a51e688abb62a1f399751971156723aae">lastVote_</a></td></tr>
|
|
<tr class="separator:a51e688abb62a1f399751971156723aae"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac17353f2946a09f26809d15b3c24cc48"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#ac17353f2946a09f26809d15b3c24cc48">unsupportedEnabled_</a></td></tr>
|
|
<tr class="separator:ac17353f2946a09f26809d15b3c24cc48"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a28b850ba0b75947c44fd4c5e1355e67f"><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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">firstUnsupportedExpected_</a></td></tr>
|
|
<tr class="separator:a28b850ba0b75947c44fd4c5e1355e67f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf114c1d54cf39de4ad5ba1bcd804547"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#aaf114c1d54cf39de4ad5ba1bcd804547">j_</a></td></tr>
|
|
<tr class="separator:aaf114c1d54cf39de4ad5ba1bcd804547"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a154a5c8e4a4839ec9db272a1b85a7b93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1AmendmentTableImpl.html#a154a5c8e4a4839ec9db272a1b85a7b93">db_</a></td></tr>
|
|
<tr class="separator:a154a5c8e4a4839ec9db272a1b85a7b93"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Track the list of "amendments". </p>
|
|
<p>An "amendment" is an option that can affect transaction processing rules. Amendments are proposed and then adopted or rejected by the network. An Amendment is uniquely identified by its AmendmentID, a 256-bit key. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00198">198</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ad8ae023b65df83333c31ccfbd08246f6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad8ae023b65df83333c31ccfbd08246f6">◆ </a></span>AmendmentTableImpl()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::AmendmentTableImpl::AmendmentTableImpl </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/chrono/duration.html">std::chrono::seconds</a> </td>
|
|
<td class="paramname"><em>majorityTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1AmendmentTable_1_1FeatureInfo.html">FeatureInfo</a> > const & </td>
|
|
<td class="paramname"><em>supported</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Section.html">Section</a> const & </td>
|
|
<td class="paramname"><em>enabled</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Section.html">Section</a> const & </td>
|
|
<td class="paramname"><em>vetoed</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="AmendmentTable_8cpp_source.html#l00314">314</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a6a02743339c64f66083284b3098c8345"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6a02743339c64f66083284b3098c8345">◆ </a></span>add()</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_1AmendmentState.html">AmendmentState</a> & ripple::AmendmentTableImpl::add </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const & </td>
|
|
<td class="paramname"><em>lock</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 class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00456">456</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9e8319c611d4172c5d10e88288b5b98e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9e8319c611d4172c5d10e88288b5b98e">◆ </a></span>get() <span class="overload">[1/2]</span></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_1AmendmentState.html">AmendmentState</a> * ripple::AmendmentTableImpl::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const & </td>
|
|
<td class="paramname"><em>lock</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 class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00465">465</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="accf7c7c2e4b9eb4c479e05487cc30b7c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#accf7c7c2e4b9eb4c479e05487cc30b7c">◆ </a></span>get() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> const * ripple::AmendmentTableImpl::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const & </td>
|
|
<td class="paramname"><em>lock</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 class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00475">475</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4f1d0bde577c66d4c238a3f6bfd8fc6a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4f1d0bde577c66d4c238a3f6bfd8fc6a">◆ </a></span>injectJson()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::AmendmentTableImpl::injectJson </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> & </td>
|
|
<td class="paramname"><em>v</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a> const & </td>
|
|
<td class="paramname"><em>state</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> > const & </td>
|
|
<td class="paramname"><em>lock</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 class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00744">744</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab0421687816b7b1bb4805d5c04048f8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab0421687816b7b1bb4805d5c04048f8a">◆ </a></span>persistVote()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::AmendmentTableImpl::persistVote </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> </td>
|
|
<td class="paramname"><em>vote</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 class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00503">503</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0ce3359d4362a4d0fdd0b84c39b6ff95"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0ce3359d4362a4d0fdd0b84c39b6ff95">◆ </a></span>find()</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::AmendmentTableImpl::find </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#aca7fd10cd15869ffea10ee5d769ad744">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00489">489</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3ed0fa478f3811768ffa240db7effeed"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3ed0fa478f3811768ffa240db7effeed">◆ </a></span>veto()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::veto </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#a5a0a3c98955ce15af2458780544edb71">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00514">514</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0d1704ba32d8c87761c27236cde40f88"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0d1704ba32d8c87761c27236cde40f88">◆ </a></span>unVeto()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::unVeto </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ad57021ddc7e6f87d04dd57fba582eb31">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00527">527</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a195a61b5c9f813b5c275ae50a7b40e25"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a195a61b5c9f813b5c275ae50a7b40e25">◆ </a></span>enable()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::enable </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ac9e23d71814bcf7c601f37e0b9323b1a">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00540">540</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a630f159b4f3029034ac3c5b91b48e08c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a630f159b4f3029034ac3c5b91b48e08c">◆ </a></span>isEnabled()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::isEnabled </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ade548ac91394d89376f0a8bfb1ebd903">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00561">561</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adce6a4a3f12e891ffdb1a59a547ea11a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adce6a4a3f12e891ffdb1a59a547ea11a">◆ </a></span>isSupported()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::isSupported </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#a5fce75b79a87e541918be639a28f3c87">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00569">569</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab6e23bf02b70c350ab4597605b235a15"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab6e23bf02b70c350ab4597605b235a15">◆ </a></span>hasUnsupportedEnabled()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::hasUnsupportedEnabled </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>returns true if one or more amendments on the network have been enabled that this server does not support </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if an unsupported feature is enabled on the network </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#a8eee69252a4b7961d0d8cd411896eeb9">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00577">577</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae591250cf5ab06c0310da46a9e5543fb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae591250cf5ab06c0310da46a9e5543fb">◆ </a></span>firstUnsupportedExpected()</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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a> > ripple::AmendmentTableImpl::firstUnsupportedExpected </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#af59e59a074e1dbef4faf0eef0c9dcfa7">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00584">584</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9c84b0a42b131a8c6392a993bc4b4c4c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9c84b0a42b131a8c6392a993bc4b4c4c">◆ </a></span>getJson() <span class="overload">[1/2]</span></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="classJson_1_1Value.html">Json::Value</a> ripple::AmendmentTableImpl::getJson </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ac63a31d38346fba5d5ca78c4894af31a">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00778">778</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8780f13856e21995bfa5001959d5bff4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8780f13856e21995bfa5001959d5bff4">◆ </a></span>getJson() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classJson_1_1Value.html">Json::Value</a> ripple::AmendmentTableImpl::getJson </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>amendment</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns a <a class="el" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6" title="object value (collection of name/value pairs).">Json::objectValue</a>. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#a679a2a34193d9788688eb8456631bc49">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00796">796</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a203420f15319808ab19dbc3903a32444"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a203420f15319808ab19dbc3903a32444">◆ </a></span>needValidatedLedger()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::needValidatedLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> </td>
|
|
<td class="paramname"><em>seq</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called to determine whether the amendment logic needs to process a new validated ledger. </p>
|
|
<p>(If it could have changed things.) </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ae37ca6d253d452ae23a6e160d9180e05">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00696">696</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5a1de10b5b7e51cc4f20f2636503c2e6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a1de10b5b7e51cc4f20f2636503c2e6">◆ </a></span>doValidatedLedger() <span class="overload">[1/2]</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::AmendmentTableImpl::doValidatedLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> </td>
|
|
<td class="paramname"><em>seq</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#a356c68147333a9a48a344718038576d9">uint256</a> > const & </td>
|
|
<td class="paramname"><em>enabled</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a9722ac6213471ba4b92259afc6edc2b1">majorityAmendments_t</a> const & </td>
|
|
<td class="paramname"><em>majority</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#a48f050b47af8f00cafd237e2cddb2929">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00707">707</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a941314eb1dff68fb625f7a44378845b9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a941314eb1dff68fb625f7a44378845b9">◆ </a></span>doValidation()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > ripple::AmendmentTableImpl::doValidation </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#a356c68147333a9a48a344718038576d9">uint256</a> > const & </td>
|
|
<td class="paramname"><em>enabledAmendments</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#af8412c322ac2c2f3410548358630c9d7">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00591">591</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a38055e674ea217fa366b5bf954d4cd72"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a38055e674ea217fa366b5bf954d4cd72">◆ </a></span>getDesired()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > ripple::AmendmentTableImpl::getDesired </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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ac12013d542d0fc1638f9ab4220896580">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00618">618</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4eac7bf3be538741f7fa066c18b04fae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4eac7bf3be538741f7fa066c18b04fae">◆ </a></span>doVoting() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > ripple::AmendmentTableImpl::doVoting </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Rules.html">Rules</a> const & </td>
|
|
<td class="paramname"><em>rules</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"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > const & </td>
|
|
<td class="paramname"><em>enabledAmendments</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a9722ac6213471ba4b92259afc6edc2b1">majorityAmendments_t</a> const & </td>
|
|
<td class="paramname"><em>majorityAmendments</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1STValidation.html">STValidation</a> >> const & </td>
|
|
<td class="paramname"><em>validations</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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1AmendmentTable.html#ab69ef448949faf9d80e80760d6574381">ripple::AmendmentTable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00625">625</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac721ac20262609226483f1436b0df02f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac721ac20262609226483f1436b0df02f">◆ </a></span>doValidatedLedger() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::AmendmentTable::doValidatedLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const > const & </td>
|
|
<td class="paramname"><em>lastValidatedLedger</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called when a new fully-validated ledger is accepted. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8h_source.html#l00092">92</a> of file <a class="el" href="AmendmentTable_8h_source.html">AmendmentTable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae4402ab8248766bc7556bdbb93225943"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae4402ab8248766bc7556bdbb93225943">◆ </a></span>doVoting() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::AmendmentTable::doVoting </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1ReadView.html">ReadView</a> const > const & </td>
|
|
<td class="paramname"><em>lastClosedLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1STValidation.html">STValidation</a> >> const & </td>
|
|
<td class="paramname"><em>parentValidations</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1SHAMap.html">SHAMap</a> > const & </td>
|
|
<td class="paramname"><em>initialPosition</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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8h_source.html#l00143">143</a> of file <a class="el" href="AmendmentTable_8h_source.html">AmendmentTable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a08ceef79750994d25c0b416c378eecc0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a08ceef79750994d25c0b416c378eecc0">◆ </a></span>mutex_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> ripple::AmendmentTableImpl::mutex_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="AmendmentTable_8cpp_source.html#l00201">201</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7cca5bba8dff04a84023969c1499160f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7cca5bba8dff04a84023969c1499160f">◆ </a></span>amendmentMap_</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#a46c521271235f4e2715d7fa8b68940ca">hash_map</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="structripple_1_1AmendmentState.html">AmendmentState</a>> ripple::AmendmentTableImpl::amendmentMap_</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="AmendmentTable_8cpp_source.html#l00203">203</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aefbfbe13885b57244364ab17906ebb8c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aefbfbe13885b57244364ab17906ebb8c">◆ </a></span>lastUpdateSeq_</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::uint32_t</a> ripple::AmendmentTableImpl::lastUpdateSeq_</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="AmendmentTable_8cpp_source.html#l00204">204</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9c9272ffee37521dc61aa8baab7b8c10"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9c9272ffee37521dc61aa8baab7b8c10">◆ </a></span>majorityTime_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> ripple::AmendmentTableImpl::majorityTime_</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="AmendmentTable_8cpp_source.html#l00207">207</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a51e688abb62a1f399751971156723aae"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a51e688abb62a1f399751971156723aae">◆ </a></span>lastVote_</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_1AmendmentSet.html">AmendmentSet</a>> ripple::AmendmentTableImpl::lastVote_</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="AmendmentTable_8cpp_source.html#l00211">211</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac17353f2946a09f26809d15b3c24cc48"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac17353f2946a09f26809d15b3c24cc48">◆ </a></span>unsupportedEnabled_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::AmendmentTableImpl::unsupportedEnabled_</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="AmendmentTable_8cpp_source.html#l00214">214</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a28b850ba0b75947c44fd4c5e1355e67f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a28b850ba0b75947c44fd4c5e1355e67f">◆ </a></span>firstUnsupportedExpected_</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_1NetClock.html#a4c2428e178dca6689fa3fb4be0657107">NetClock::time_point</a>> ripple::AmendmentTableImpl::firstUnsupportedExpected_</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="AmendmentTable_8cpp_source.html#l00219">219</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf114c1d54cf39de4ad5ba1bcd804547"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf114c1d54cf39de4ad5ba1bcd804547">◆ </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">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> ripple::AmendmentTableImpl::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="AmendmentTable_8cpp_source.html#l00221">221</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a154a5c8e4a4839ec9db272a1b85a7b93"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a154a5c8e4a4839ec9db272a1b85a7b93">◆ </a></span>db_</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_1DatabaseCon.html">DatabaseCon</a>& ripple::AmendmentTableImpl::db_</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="AmendmentTable_8cpp_source.html#l00224">224</a> of file <a class="el" href="AmendmentTable_8cpp_source.html">AmendmentTable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|