mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
341 lines
18 KiB
HTML
341 lines
18 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_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="#aripple_1_1FeeVoteImpl_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aripple_1_1FeeVoteImpl_inherit__map" id="aripple_1_1FeeVoteImpl_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,79,153,104"/>
|
|
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="20,5,139,31"/>
|
|
<area shape="poly" title=" " alt="" coords="82,44,82,79,77,79,77,44"/>
|
|
</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="#aripple_1_1FeeVoteImpl_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1FeeVoteImpl_coll__map" id="aripple_1_1FeeVoteImpl_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="865,127,1013,153"/>
|
|
<area shape="rect" href="classripple_1_1FeeVote.html" title="Manager to process fee votes." alt="" coords="637,78,756,103"/>
|
|
<area shape="poly" title=" " alt="" coords="770,103,842,117,877,125,876,130,841,123,769,108"/>
|
|
<area shape="rect" href="structripple_1_1FeeSetup.html" title="Fee schedule for startup / standalone, and to vote for." alt="" coords="633,127,760,153"/>
|
|
<area shape="poly" title=" " alt="" coords="774,137,865,137,865,143,774,143"/>
|
|
<area shape="rect" href="classripple_1_1XRPAmount.html" title=" " alt="" coords="329,127,471,153"/>
|
|
<area shape="poly" title=" " alt="" coords="485,137,633,137,633,143,485,143"/>
|
|
<area shape="rect" title=" " alt="" coords="35,5,201,45"/>
|
|
<area shape="poly" title=" " alt="" coords="210,47,232,55,313,91,377,125,375,130,310,96,230,60,208,52"/>
|
|
<area shape="rect" title=" " alt="" coords="5,70,231,95"/>
|
|
<area shape="poly" title=" " alt="" coords="195,96,337,125,336,130,194,101"/>
|
|
<area shape="rect" title=" " alt="" coords="13,120,223,160"/>
|
|
<area shape="poly" title=" " alt="" coords="237,137,328,137,328,143,237,143"/>
|
|
<area shape="rect" title=" " alt="" coords="11,184,225,224"/>
|
|
<area shape="poly" title=" " alt="" coords="220,178,342,150,344,155,221,183"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="71,249,165,274"/>
|
|
<area shape="poly" title=" " alt="" coords="178,249,230,234,268,216,301,190,312,176,325,162,347,150,350,155,328,166,316,179,305,194,270,220,232,238,180,254"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="641,177,752,202"/>
|
|
<area shape="poly" title=" " alt="" coords="765,173,841,157,876,150,877,155,842,163,766,178"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="327,177,473,202"/>
|
|
<area shape="poly" title=" " alt="" coords="487,187,641,187,641,192,487,192"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a682d4fa14c73f4cf80a7625b1380fb3b" id="r_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" id="r_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. <br /></td></tr>
|
|
<tr class="separator:a095335a98bfd73cd42e017accbc700fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a660713734e9873665621ff44c733d4ba" id="r_a660713734e9873665621ff44c733d4ba"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#a660713734e9873665621ff44c733d4ba">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:a660713734e9873665621ff44c733d4ba"><td class="mdescLeft"> </td><td class="mdescRight">Cast our local vote on the fee. <br /></td></tr>
|
|
<tr class="separator:a660713734e9873665621ff44c733d4ba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a16cac8d8937ea15f0fa3bc9295c8d4f7" id="r_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:aefac77d6506cea31bd8c3775ece06a4a" id="r_aefac77d6506cea31bd8c3775ece06a4a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1FeeVoteImpl.html#aefac77d6506cea31bd8c3775ece06a4a">journal_</a></td></tr>
|
|
<tr class="separator:aefac77d6506cea31bd8c3775ece06a4a"><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#l00073">73</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" name="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#l00095">95</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" name="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#l00101">101</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a660713734e9873665621ff44c733d4ba" name="a660713734e9873665621ff44c733d4ba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a660713734e9873665621ff44c733d4ba">◆ </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#a352f6c134d2890d36d07224e73034a8e">ripple::FeeVote</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="FeeVoteImpl_8cpp_source.html#l00177">177</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" name="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#l00076">76</a> of file <a class="el" href="FeeVoteImpl_8cpp_source.html">FeeVoteImpl.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aefac77d6506cea31bd8c3775ece06a4a" name="aefac77d6506cea31bd8c3775ece06a4a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aefac77d6506cea31bd8c3775ece06a4a">◆ </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"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const 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#l00077">77</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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|