mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
deploy: c17676a9be
This commit is contained in:
@@ -100,44 +100,45 @@ $(function() {
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/ledger/ReadView.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/shamap/SHAMap.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/protocol/STValidation.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html"> 30</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1FeeVote.html">FeeVote</a></div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>{</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590"> 33</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590">~FeeVote</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954"> 41</a></span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954">doValidation</a>(</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_struct" href="structripple_1_1Fees.html">Fees</a> <span class="keyword">const</span>& lastFees,</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_class" href="classripple_1_1STValidation.html">STValidation</a>& val) = 0;</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a352f6c134d2890d36d07224e73034a8e"> 52</a></span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a352f6c134d2890d36d07224e73034a8e">doVoting</a>(</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& lastClosedLedger,</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<STValidation></a>> <span class="keyword">const</span>& parentValidations,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMap></a> <span class="keyword">const</span>& initialPosition) = 0;</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>};</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1FeeSetup.html">FeeSetup</a>;</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<FeeVote></a></div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><a class="code hl_function" href="namespaceripple.html#a56634a05bfc2b4f7c95169c75f370554">make_FeeVote</a>(<a class="code hl_struct" href="structripple_1_1FeeSetup.html">FeeSetup</a> <span class="keyword">const</span>& setup, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal);</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/protocol/STValidation.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html"> 31</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1FeeVote.html">FeeVote</a></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>{</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590"> 34</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a5261d52f9ef186c07a98cdfc2c73a590">~FeeVote</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954"> 42</a></span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954">doValidation</a>(</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_struct" href="structripple_1_1Fees.html">Fees</a> <span class="keyword">const</span>& lastFees,</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_class" href="classripple_1_1STValidation.html">STValidation</a>& val) = 0;</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1FeeVote.html#a352f6c134d2890d36d07224e73034a8e"> 53</a></span> <a class="code hl_function" href="classripple_1_1FeeVote.html#a352f6c134d2890d36d07224e73034a8e">doVoting</a>(</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& lastClosedLedger,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<STValidation></a>> <span class="keyword">const</span>& parentValidations,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMap></a> <span class="keyword">const</span>& initialPosition) = 0;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span>};</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1FeeSetup.html">FeeSetup</a>;</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<FeeVote></a></div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span><a class="code hl_function" href="namespaceripple.html#a56634a05bfc2b4f7c95169c75f370554">make_FeeVote</a>(<a class="code hl_struct" href="structripple_1_1FeeSetup.html">FeeSetup</a> <span class="keyword">const</span>& setup, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal);</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="preprocessor">#endif</span></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#l00059">Journal.h:60</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#l00030">FeeVote.h:31</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#l00031">FeeVote.h:32</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1FeeVote_html_a352f6c134d2890d36d07224e73034a8e"><div class="ttname"><a href="classripple_1_1FeeVote.html#a352f6c134d2890d36d07224e73034a8e">ripple::FeeVote::doVoting</a></div><div class="ttdeci">virtual void doVoting(std::shared_ptr< ReadView const > const &lastClosedLedger, std::vector< std::shared_ptr< STValidation > > const &parentValidations, std::shared_ptr< SHAMap > const &initialPosition)=0</div><div class="ttdoc">Cast our local vote on the fee.</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="aclassripple_1_1FeeVote_html_a8fc2834bb93eb35138b36f9b7a29f954"><div class="ttname"><a href="classripple_1_1FeeVote.html#a8fc2834bb93eb35138b36f9b7a29f954">ripple::FeeVote::doValidation</a></div><div class="ttdeci">virtual void doValidation(Fees const &lastFees, Rules const &rules, STValidation &val)=0</div><div class="ttdoc">Add local fee preference to validation.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Rules_html"><div class="ttname"><a href="classripple_1_1Rules.html">ripple::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition:</b> <a href="Rules_8h_source.html#l00034">Rules.h:35</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#l00046">STValidation.h:47</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="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a56634a05bfc2b4f7c95169c75f370554"><div class="ttname"><a href="namespaceripple.html#a56634a05bfc2b4f7c95169c75f370554">ripple::make_FeeVote</a></div><div class="ttdeci">std::unique_ptr< FeeVote > make_FeeVote(FeeSetup const &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#l00339">FeeVoteImpl.cpp:339</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a56634a05bfc2b4f7c95169c75f370554"><div class="ttname"><a href="namespaceripple.html#a56634a05bfc2b4f7c95169c75f370554">ripple::make_FeeVote</a></div><div class="ttdeci">std::unique_ptr< FeeVote > make_FeeVote(FeeSetup const &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#l00340">FeeVoteImpl.cpp:340</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>
|
||||
<div class="ttc" id="astructripple_1_1FeeSetup_html"><div class="ttname"><a href="structripple_1_1FeeSetup.html">ripple::FeeSetup</a></div><div class="ttdoc">Fee schedule for startup / standalone, and to vote for.</div><div class="ttdef"><b>Definition:</b> <a href="Config_8h_source.html#l00065">Config.h:66</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="protocol_2Fees_8h_source.html#l00032">protocol/Fees.h:33</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user