mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
325 lines
17 KiB
HTML
325 lines
17 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::FeeVoteImpl 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_1FeeVoteImpl.html">FeeVoteImpl</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classripple_1_1FeeVoteImpl-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ripple::FeeVoteImpl Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for ripple::FeeVoteImpl:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1FeeVoteImpl__inherit__graph.png" border="0" usemap="#ripple_1_1FeeVoteImpl_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="ripple_1_1FeeVoteImpl_inherit__map" id="ripple_1_1FeeVoteImpl_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,80,152,107"/>
|
|
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="19,5,138,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::FeeVoteImpl:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1FeeVoteImpl__coll__graph.png" border="0" usemap="#ripple_1_1FeeVoteImpl_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="ripple_1_1FeeVoteImpl_coll__map" id="ripple_1_1FeeVoteImpl_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="861,130,1008,157"/>
|
|
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="633,79,752,106"/>
|
|
<area shape="rect" href="structripple_1_1FeeSetup.html" title="Fee schedule for startup / standalone, and to vote for." alt="" coords="629,130,756,157"/>
|
|
<area shape="rect" href="classripple_1_1XRPAmount.html" title=" " alt="" coords="329,130,471,157"/>
|
|
<area shape="rect" title=" " alt="" coords="35,5,201,47"/>
|
|
<area shape="rect" title=" " alt="" coords="5,71,231,98"/>
|
|
<area shape="rect" title=" " alt="" coords="13,123,223,164"/>
|
|
<area shape="rect" title=" " alt="" coords="11,188,225,229"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="71,254,165,281"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="637,181,748,207"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="327,181,473,207"/>
|
|
</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:a682d4fa14c73f4cf80a7625b1380fb3b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#a682d4fa14c73f4cf80a7625b1380fb3b">FeeVoteImpl</a> (<a class="el" href="structripple_1_1FeeSetup.html">FeeSetup</a> const &setup, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
|
|
<tr class="separator:a682d4fa14c73f4cf80a7625b1380fb3b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a095335a98bfd73cd42e017accbc700fa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#a095335a98bfd73cd42e017accbc700fa">doValidation</a> (<a class="el" href="structripple_1_1Fees.html">Fees</a> const &lastFees, <a class="el" href="classripple_1_1Rules.html">Rules</a> const &rules, <a class="el" href="classripple_1_1STValidation.html">STValidation</a> &val) override</td></tr>
|
|
<tr class="memdesc:a095335a98bfd73cd42e017accbc700fa"><td class="mdescLeft"> </td><td class="mdescRight">Add local fee preference to validation. <a href="classripple_1_1FeeVoteImpl.html#a095335a98bfd73cd42e017accbc700fa">More...</a><br /></td></tr>
|
|
<tr class="separator:a095335a98bfd73cd42e017accbc700fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad264dda6949150323ec3360ef094ecc5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#ad264dda6949150323ec3360ef094ecc5">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) override</td></tr>
|
|
<tr class="memdesc:ad264dda6949150323ec3360ef094ecc5"><td class="mdescLeft"> </td><td class="mdescRight">Cast our local vote on the fee. <a href="classripple_1_1FeeVoteImpl.html#ad264dda6949150323ec3360ef094ecc5">More...</a><br /></td></tr>
|
|
<tr class="separator:ad264dda6949150323ec3360ef094ecc5"><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:a16cac8d8937ea15f0fa3bc9295c8d4f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1FeeSetup.html">FeeSetup</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#a16cac8d8937ea15f0fa3bc9295c8d4f7">target_</a></td></tr>
|
|
<tr class="separator:a16cac8d8937ea15f0fa3bc9295c8d4f7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2de72b0b3f3a4dc5b412843d25fc57be"><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_1FeeVoteImpl.html#a2de72b0b3f3a4dc5b412843d25fc57be">journal_</a></td></tr>
|
|
<tr class="separator:a2de72b0b3f3a4dc5b412843d25fc57be"><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="FeeVoteImpl_8cpp_source.html#l00093">93</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a682d4fa14c73f4cf80a7625b1380fb3b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a682d4fa14c73f4cf80a7625b1380fb3b">◆ </a></span>FeeVoteImpl()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::FeeVoteImpl::FeeVoteImpl </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1FeeSetup.html">FeeSetup</a> const & </td>
|
|
<td class="paramname"><em>setup</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="FeeVoteImpl_8cpp_source.html#l00115">115</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a095335a98bfd73cd42e017accbc700fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a095335a98bfd73cd42e017accbc700fa">◆ </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">void ripple::FeeVoteImpl::doValidation </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1Fees.html">Fees</a> const & </td>
|
|
<td class="paramname"><em>lastFees</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></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_1STValidation.html">STValidation</a> & </td>
|
|
<td class="paramname"><em>val</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>Add local fee preference to validation. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lastClosedLedger</td><td></td></tr>
|
|
<tr><td class="paramname">baseValidation</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954">ripple::FeeVote</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="FeeVoteImpl_8cpp_source.html#l00121">121</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad264dda6949150323ec3360ef094ecc5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad264dda6949150323ec3360ef094ecc5">◆ </a></span>doVoting()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::FeeVoteImpl::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">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Cast our local vote on the fee. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">lastClosedLedger</td><td></td></tr>
|
|
<tr><td class="paramname">initialPosition</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1FeeVote.html#a0891027717d974092b4a708b3cb03acc">ripple::FeeVote</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="FeeVoteImpl_8cpp_source.html#l00197">197</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a16cac8d8937ea15f0fa3bc9295c8d4f7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a16cac8d8937ea15f0fa3bc9295c8d4f7">◆ </a></span>target_</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_1FeeSetup.html">FeeSetup</a> ripple::FeeVoteImpl::target_</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="FeeVoteImpl_8cpp_source.html#l00096">96</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a2de72b0b3f3a4dc5b412843d25fc57be"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2de72b0b3f3a4dc5b412843d25fc57be">◆ </a></span>journal_</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::FeeVoteImpl::journal_</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="FeeVoteImpl_8cpp_source.html#l00097">97</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.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>
|