Files
rippled/FeeVote_8h_source.html
2022-12-13 19:00:31 +00:00

167 lines
22 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: FeeVote.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_9f69212e4c6e2ca9ec5ab59cd7b6275c.html">app</a></li><li class="navelem"><a class="el" href="dir_29f79f6f29a0be0eebc6c46bea51c866.html">misc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">FeeVote.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/basics/BasicConfig.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;ripple/ledger/ReadView.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/STValidation.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/SystemParameters.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;ripple/shamap/SHAMap.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1FeeVote.html">FeeVote</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structripple_1_1FeeVote_1_1Setup.html"> 40</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structripple_1_1FeeVote_1_1Setup.html">Setup</a></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; {</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structripple_1_1FeeVote_1_1Setup.html#a97f426b8d134160cbe1ba12478574007"> 43</a></span>&#160; <a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a> <a class="code" href="structripple_1_1FeeVote_1_1Setup.html#a97f426b8d134160cbe1ba12478574007">reference_fee</a>{10};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structripple_1_1FeeVote_1_1Setup.html#ab89006acb6fbedb779f1efe3ca08f957"> 46</a></span>&#160; <span class="keyword">static</span> constexpr <a class="code" href="classripple_1_1feeunit_1_1TaggedFee.html">FeeUnit32</a> <a class="code" href="structripple_1_1FeeVote_1_1Setup.html#ab89006acb6fbedb779f1efe3ca08f957">reference_fee_units</a>{10};</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structripple_1_1FeeVote_1_1Setup.html#a8a44488a31dc71056448b1e25392b34e"> 49</a></span>&#160; <a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a> <a class="code" href="structripple_1_1FeeVote_1_1Setup.html#a8a44488a31dc71056448b1e25392b34e">account_reserve</a>{10 * <a class="code" href="namespaceripple.html#afa493631a6ea5b71b91ceb86576fc328">DROPS_PER_XRP</a>};</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structripple_1_1FeeVote_1_1Setup.html#a4a66b205dae39ec733f4f17490808072"> 52</a></span>&#160; <a class="code" href="classripple_1_1XRPAmount.html">XRPAmount</a> <a class="code" href="structripple_1_1FeeVote_1_1Setup.html#a4a66b205dae39ec733f4f17490808072">owner_reserve</a>{2 * <a class="code" href="namespaceripple.html#afa493631a6ea5b71b91ceb86576fc328">DROPS_PER_XRP</a>};</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; };</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590">~FeeVote</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <a class="code" href="classripple_1_1FeeVote.html#a00796ab7d861859bd50b17e2bc09e314">doValidation</a>(<a class="code" href="structripple_1_1Fees.html">Fees</a> <span class="keyword">const</span>&amp; lastFees, <a class="code" href="classripple_1_1STValidation.html">STValidation</a>&amp; val) = 0;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="classripple_1_1FeeVote.html#a0891027717d974092b4a708b3cb03acc">doVoting</a>(</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;ReadView const&gt;</a> <span class="keyword">const</span>&amp; lastClosedLedger,</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;STValidation&gt;</a>&gt; <span class="keyword">const</span>&amp; parentValidations,</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;SHAMap&gt;</a> <span class="keyword">const</span>&amp; initialPosition) = 0;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;};</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;FeeVote::Setup</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<a class="code" href="namespaceripple.html#acbafe6bd675116b7d1c63c314fcd369d">setup_FeeVote</a>(Section <span class="keyword">const</span>&amp; section);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;FeeVote&gt;</a></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<a class="code" href="namespaceripple.html#a0255816875fa12eac9b8dccf1fbcf592">make_FeeVote</a>(FeeVote::Setup <span class="keyword">const</span>&amp; setup, <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> journal);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_html_acbafe6bd675116b7d1c63c314fcd369d"><div class="ttname"><a href="namespaceripple.html#acbafe6bd675116b7d1c63c314fcd369d">ripple::setup_FeeVote</a></div><div class="ttdeci">FeeVote::Setup setup_FeeVote(Section const &amp;section)</div><div class="ttdoc">Build FeeVote::Setup from a config section.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVoteImpl_8cpp_source.html#l00259">FeeVoteImpl.cpp:259</a></div></div>
<div class="ttc" id="astructripple_1_1FeeVote_1_1Setup_html_a4a66b205dae39ec733f4f17490808072"><div class="ttname"><a href="structripple_1_1FeeVote_1_1Setup.html#a4a66b205dae39ec733f4f17490808072">ripple::FeeVote::Setup::owner_reserve</a></div><div class="ttdeci">XRPAmount owner_reserve</div><div class="ttdoc">The per-owned item reserve requirement in drops.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00052">FeeVote.h:52</a></div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="anamespaceripple_html_a0255816875fa12eac9b8dccf1fbcf592"><div class="ttname"><a href="namespaceripple.html#a0255816875fa12eac9b8dccf1fbcf592">ripple::make_FeeVote</a></div><div class="ttdeci">std::unique_ptr&lt; FeeVote &gt; make_FeeVote(FeeVote::Setup const &amp;setup, beast::Journal journal)</div><div class="ttdoc">Create an instance of the FeeVote logic.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVoteImpl_8cpp_source.html#l00279">FeeVoteImpl.cpp:279</a></div></div>
<div class="ttc" id="aclassripple_1_1FeeVote_html"><div class="ttname"><a href="classripple_1_1FeeVote.html">ripple::FeeVote</a></div><div class="ttdoc">Manager to process fee votes.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00032">FeeVote.h:32</a></div></div>
<div class="ttc" id="astructripple_1_1FeeVote_1_1Setup_html_a97f426b8d134160cbe1ba12478574007"><div class="ttname"><a href="structripple_1_1FeeVote_1_1Setup.html#a97f426b8d134160cbe1ba12478574007">ripple::FeeVote::Setup::reference_fee</a></div><div class="ttdeci">XRPAmount reference_fee</div><div class="ttdoc">The cost of a reference transaction in drops.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00043">FeeVote.h:43</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1FeeVote_html_a0891027717d974092b4a708b3cb03acc"><div class="ttname"><a href="classripple_1_1FeeVote.html#a0891027717d974092b4a708b3cb03acc">ripple::FeeVote::doVoting</a></div><div class="ttdeci">virtual void doVoting(std::shared_ptr&lt; ReadView const &gt; const &amp;lastClosedLedger, std::vector&lt; std::shared_ptr&lt; STValidation &gt;&gt; const &amp;parentValidations, std::shared_ptr&lt; SHAMap &gt; const &amp;initialPosition)=0</div><div class="ttdoc">Cast our local vote on the fee.</div></div>
<div class="ttc" id="astructripple_1_1FeeVote_1_1Setup_html"><div class="ttname"><a href="structripple_1_1FeeVote_1_1Setup.html">ripple::FeeVote::Setup</a></div><div class="ttdoc">Fee schedule to vote for.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00040">FeeVote.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1STValidation_html"><div class="ttname"><a href="classripple_1_1STValidation.html">ripple::STValidation</a></div><div class="ttdef"><b>Definition:</b> <a href="STValidation_8h_source.html#l00044">STValidation.h:44</a></div></div>
<div class="ttc" id="astructripple_1_1Fees_html"><div class="ttname"><a href="structripple_1_1Fees.html">ripple::Fees</a></div><div class="ttdoc">Reflects the fee settings for a particular ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00049">ReadView.h:49</a></div></div>
<div class="ttc" id="astructripple_1_1FeeVote_1_1Setup_html_a8a44488a31dc71056448b1e25392b34e"><div class="ttname"><a href="structripple_1_1FeeVote_1_1Setup.html#a8a44488a31dc71056448b1e25392b34e">ripple::FeeVote::Setup::account_reserve</a></div><div class="ttdeci">XRPAmount account_reserve</div><div class="ttdoc">The account reserve requirement in drops.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00049">FeeVote.h:49</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:58</a></div></div>
<div class="ttc" id="aclassripple_1_1feeunit_1_1TaggedFee_html"><div class="ttname"><a href="classripple_1_1feeunit_1_1TaggedFee.html">ripple::feeunit::TaggedFee</a></div><div class="ttdef"><b>Definition:</b> <a href="FeeUnits_8h_source.html#l00070">FeeUnits.h:70</a></div></div>
<div class="ttc" id="astructripple_1_1FeeVote_1_1Setup_html_ab89006acb6fbedb779f1efe3ca08f957"><div class="ttname"><a href="structripple_1_1FeeVote_1_1Setup.html#ab89006acb6fbedb779f1efe3ca08f957">ripple::FeeVote::Setup::reference_fee_units</a></div><div class="ttdeci">static constexpr FeeUnit32 reference_fee_units</div><div class="ttdoc">The cost of a reference transaction in fee units.</div><div class="ttdef"><b>Definition:</b> <a href="FeeVote_8h_source.html#l00046">FeeVote.h:46</a></div></div>
<div class="ttc" id="anamespaceripple_html_afa493631a6ea5b71b91ceb86576fc328"><div class="ttname"><a href="namespaceripple.html#afa493631a6ea5b71b91ceb86576fc328">ripple::DROPS_PER_XRP</a></div><div class="ttdeci">constexpr XRPAmount DROPS_PER_XRP</div><div class="ttdoc">Number of drops per 1 XRP.</div><div class="ttdef"><b>Definition:</b> <a href="XRPAmount_8h_source.html#l00250">XRPAmount.h:250</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1FeeVote_html_a5261d52f9ef186c07a98cdfc2c73a590"><div class="ttname"><a href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590">ripple::FeeVote::~FeeVote</a></div><div class="ttdeci">virtual ~FeeVote()=default</div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1FeeVote_html_a00796ab7d861859bd50b17e2bc09e314"><div class="ttname"><a href="classripple_1_1FeeVote.html#a00796ab7d861859bd50b17e2bc09e314">ripple::FeeVote::doValidation</a></div><div class="ttdeci">virtual void doValidation(Fees const &amp;lastFees, STValidation &amp;val)=0</div><div class="ttdoc">Add local fee preference to validation.</div></div>
<div class="ttc" id="aclassripple_1_1XRPAmount_html"><div class="ttname"><a href="classripple_1_1XRPAmount.html">ripple::XRPAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="XRPAmount_8h_source.html#l00046">XRPAmount.h:46</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>