mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
deploy: c17676a9be
This commit is contained in:
@@ -99,136 +99,137 @@ $(function() {
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_APP_MISC_NEGATIVEUNLVOTE_H_INCLUDED</span></div>
|
||||
<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/app/ledger/Ledger.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/protocol/Protocol.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/protocol/PublicKey.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/protocol/UintTypes.h></span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>></span></div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</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">template</span> <<span class="keyword">class</span> Adaptor></div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">class </span>Validations;</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">class </span>RCLValidationsAdaptor;</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">using </span><a class="code hl_typedef" href="namespaceripple.html#af4f638fef00deb6c3f611b9639f66d7a">RCLValidations</a> = Validations<RCLValidationsAdaptor>;</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">class </span>SHAMap;</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">namespace </span>test {</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">class </span>NegativeUNLVoteInternal_test;</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">class </span>NegativeUNLVoteScoreTable_test;</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span>} <span class="comment">// namespace test</span></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html"> 46</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NegativeUNLVote.html">NegativeUNLVote</a> final</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span>{</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f"> 55</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f">negativeUNLLowWaterMark</a> =</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 50 / 100;</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af"> 61</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af">negativeUNLHighWaterMark</a> =</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 80 / 100;</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a"> 67</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a">negativeUNLMinLocalValsToVote</a> =</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 90 / 100;</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2"> 73</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2">newValidatorDisableSkip</a> = <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 2;</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128"> 77</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128">negativeUNLMaxListed</a> = 0.25;</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> </div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf"> 83</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">NegativeUNLModify</a> {</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5"> 84</a></span> <a class="code hl_enumvalue" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5">ToDisable</a>, <span class="comment">// UNLModify Tx is to disable a validator</span></div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> <a class="code hl_enumvalue" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13">ToReEnable</a> <span class="comment">// UNLModify Tx is to re-enable a validator</span></div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13"> 86</a></span> };</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <a class="code hl_class" href="classripple_1_1NegativeUNLVote.html">NegativeUNLVote</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a> <span class="keyword">const</span>& myId, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a97f003bda574fab190cf2fae6016cd83"> 95</a></span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a97f003bda574fab190cf2fae6016cd83">~NegativeUNLVote</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#ac58c464cefde1519ac23d1b51aa28833">doVoting</a>(</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& prevLedger,</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<PublicKey></a> <span class="keyword">const</span>& unlKeys,</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_class" href="classripple_1_1Validations.html">RCLValidations</a>& validations,</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</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>& initialSet);</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#af279cb391bcbed65e431f14d6322441c">newValidators</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& nowTrusted);</div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b"> 127</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b">myId_</a>;</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f"> 128</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f">j_</a>;</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35"> 129</a></span> <span class="keyword">mutable</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35">mutex_</a>;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108"> 130</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<NodeID, LedgerIndex></a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108">newValidators_</a>;</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html"> 135</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1NegativeUNLVote_1_1Candidates.html">Candidates</a></div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> {</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87"> 137</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <a class="code hl_variable" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87">toDisableCandidates</a>;</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9"> 138</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <a class="code hl_variable" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9">toReEnableCandidates</a>;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> };</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#af8a85a2853312bc4b1ff9852a2498bd4">addTx</a>(</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq,</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& vp,</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_enumeration" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">NegativeUNLModify</a> modify,</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</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>& initialSet);</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a></div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a34a78d1a576f170278ca9daae7b60b0b">choose</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& randomPadData, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <span class="keyword">const</span>& candidates);</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<hash_map<NodeID, std::uint32_t></a>></div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a4293d7509ebb8528e12faeee020f0bf0">buildScoreTable</a>(</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& prevLedger,</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& unl,</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <a class="code hl_class" href="classripple_1_1Validations.html">RCLValidations</a>& validations);</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <a class="code hl_struct" href="structripple_1_1NegativeUNLVote_1_1Candidates.html">Candidates</a> <span class="keyword">const</span></div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a8ceb9b332c095287ee068525be0c3f75">findAllCandidates</a>(</div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& unl,</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& negUnl,</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<NodeID, std::uint32_t></a> <span class="keyword">const</span>& scoreTable);</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
|
||||
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a715cdaf670c930941605e79e41f37a12">purgeNewValidators</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq);</div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> </div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a008614bce957cc424e60b19aa4ac4333"> 211</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1NegativeUNLVoteInternal__test.html">test::NegativeUNLVoteInternal_test</a>;</div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a02bbec76313b08a8ae44e40de39a9fa4"> 212</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1NegativeUNLVoteScoreTable__test.html">test::NegativeUNLVoteScoreTable_test</a>;</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span>};</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> </div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/protocol/Protocol.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/protocol/PublicKey.h></span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpl/protocol/UintTypes.h></span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a>></span></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">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">template</span> <<span class="keyword">class</span> Adaptor></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keyword">class </span>Validations;</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">class </span>RCLValidationsAdaptor;</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">using </span><a class="code hl_typedef" href="namespaceripple.html#af4f638fef00deb6c3f611b9639f66d7a">RCLValidations</a> = Validations<RCLValidationsAdaptor>;</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">class </span>SHAMap;</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keyword">namespace </span>test {</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">class </span>NegativeUNLVoteInternal_test;</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">class </span>NegativeUNLVoteScoreTable_test;</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>} <span class="comment">// namespace test</span></div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html"> 47</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NegativeUNLVote.html">NegativeUNLVote</a> final</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span>{</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f"> 56</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f">negativeUNLLowWaterMark</a> =</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 50 / 100;</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af"> 62</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af">negativeUNLHighWaterMark</a> =</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 80 / 100;</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a"> 68</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a">negativeUNLMinLocalValsToVote</a> =</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 90 / 100;</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2"> 74</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">size_t</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2">newValidatorDisableSkip</a> = <a class="code hl_variable" href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">FLAG_LEDGER_INTERVAL</a> * 2;</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128"> 78</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">float</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128">negativeUNLMaxListed</a> = 0.25;</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf"> 84</a></span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">NegativeUNLModify</a> {</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5"> 85</a></span> <a class="code hl_enumvalue" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5">ToDisable</a>, <span class="comment">// UNLModify Tx is to disable a validator</span></div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_enumvalue" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13">ToReEnable</a> <span class="comment">// UNLModify Tx is to re-enable a validator</span></div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13"> 87</a></span> };</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <a class="code hl_class" href="classripple_1_1NegativeUNLVote.html">NegativeUNLVote</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a> <span class="keyword">const</span>& myId, <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a97f003bda574fab190cf2fae6016cd83"> 96</a></span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a97f003bda574fab190cf2fae6016cd83">~NegativeUNLVote</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#ac58c464cefde1519ac23d1b51aa28833">doVoting</a>(</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& prevLedger,</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<PublicKey></a> <span class="keyword">const</span>& unlKeys,</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_class" href="classripple_1_1Validations.html">RCLValidations</a>& validations,</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</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>& initialSet);</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#af279cb391bcbed65e431f14d6322441c">newValidators</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& nowTrusted);</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b"> 128</a></span> <a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a> <span class="keyword">const</span> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b">myId_</a>;</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f"> 129</a></span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f">j_</a>;</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35"> 130</a></span> <span class="keyword">mutable</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35">mutex_</a>;</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108"> 131</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<NodeID, LedgerIndex></a> <a class="code hl_variable" href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108">newValidators_</a>;</div>
|
||||
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> </div>
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html"> 136</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1NegativeUNLVote_1_1Candidates.html">Candidates</a></div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> {</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87"> 138</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <a class="code hl_variable" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87">toDisableCandidates</a>;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9"> 139</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <a class="code hl_variable" href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9">toReEnableCandidates</a>;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> };</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> </div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#af8a85a2853312bc4b1ff9852a2498bd4">addTx</a>(</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq,</div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_class" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>& vp,</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_enumeration" href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">NegativeUNLModify</a> modify,</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</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>& initialSet);</div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <a class="code hl_class" href="classripple_1_1base__uint.html">NodeID</a></div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a34a78d1a576f170278ca9daae7b60b0b">choose</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& randomPadData, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<NodeID></a> <span class="keyword">const</span>& candidates);</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<hash_map<NodeID, std::uint32_t></a>></div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a4293d7509ebb8528e12faeee020f0bf0">buildScoreTable</a>(</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<Ledger const></a> <span class="keyword">const</span>& prevLedger,</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& unl,</div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <a class="code hl_class" href="classripple_1_1Validations.html">RCLValidations</a>& validations);</div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> </div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_struct" href="structripple_1_1NegativeUNLVote_1_1Candidates.html">Candidates</a> <span class="keyword">const</span></div>
|
||||
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a8ceb9b332c095287ee068525be0c3f75">findAllCandidates</a>(</div>
|
||||
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& unl,</div>
|
||||
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<NodeID></a> <span class="keyword">const</span>& negUnl,</div>
|
||||
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<NodeID, std::uint32_t></a> <span class="keyword">const</span>& scoreTable);</div>
|
||||
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
|
||||
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> <a class="code hl_function" href="classripple_1_1NegativeUNLVote.html#a715cdaf670c930941605e79e41f37a12">purgeNewValidators</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> seq);</div>
|
||||
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> </div>
|
||||
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a008614bce957cc424e60b19aa4ac4333"> 212</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1NegativeUNLVoteInternal__test.html">test::NegativeUNLVoteInternal_test</a>;</div>
|
||||
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="classripple_1_1NegativeUNLVote.html#a02bbec76313b08a8ae44e40de39a9fa4"> 213</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code hl_class" href="classripple_1_1test_1_1NegativeUNLVoteScoreTable__test.html">test::NegativeUNLVoteScoreTable_test</a>;</div>
|
||||
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span>};</div>
|
||||
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span> </div>
|
||||
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> </div>
|
||||
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</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_1NegativeUNLVote_html"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html">ripple::NegativeUNLVote</a></div><div class="ttdoc">Manager to create NegativeUNL votes.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00046">NegativeUNLVote.h:47</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a045ac9f409d032963fedb01a724b4f6f"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f">ripple::NegativeUNLVote::j_</a></div><div class="ttdeci">beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00128">NegativeUNLVote.h:128</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a2f5602017495d3901ff8d662c38891af"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af">ripple::NegativeUNLVote::negativeUNLHighWaterMark</a></div><div class="ttdeci">static constexpr size_t negativeUNLHighWaterMark</div><div class="ttdoc">An unreliable validator must have more than negativeUNLHighWaterMark validations in the last flag led...</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00061">NegativeUNLVote.h:61</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html">ripple::NegativeUNLVote</a></div><div class="ttdoc">Manager to create NegativeUNL votes.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00047">NegativeUNLVote.h:48</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a045ac9f409d032963fedb01a724b4f6f"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a045ac9f409d032963fedb01a724b4f6f">ripple::NegativeUNLVote::j_</a></div><div class="ttdeci">beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00129">NegativeUNLVote.h:129</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a2f5602017495d3901ff8d662c38891af"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a2f5602017495d3901ff8d662c38891af">ripple::NegativeUNLVote::negativeUNLHighWaterMark</a></div><div class="ttdeci">static constexpr size_t negativeUNLHighWaterMark</div><div class="ttdoc">An unreliable validator must have more than negativeUNLHighWaterMark validations in the last flag led...</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00062">NegativeUNLVote.h:62</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a34a78d1a576f170278ca9daae7b60b0b"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a34a78d1a576f170278ca9daae7b60b0b">ripple::NegativeUNLVote::choose</a></div><div class="ttdeci">NodeID choose(uint256 const &randomPadData, std::vector< NodeID > const &candidates)</div><div class="ttdoc">Pick one candidate from a vector of candidates.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00143">NegativeUNLVote.cpp:143</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4293d7509ebb8528e12faeee020f0bf0"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4293d7509ebb8528e12faeee020f0bf0">ripple::NegativeUNLVote::buildScoreTable</a></div><div class="ttdeci">std::optional< hash_map< NodeID, std::uint32_t > > buildScoreTable(std::shared_ptr< Ledger const > const &prevLedger, hash_set< NodeID > const &unl, RCLValidations &validations)</div><div class="ttdoc">Build a reliability measurement score table of validators' validation messages in the last flag ledge...</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00164">NegativeUNLVote.cpp:164</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cf"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">ripple::NegativeUNLVote::NegativeUNLModify</a></div><div class="ttdeci">NegativeUNLModify</div><div class="ttdoc">A flag indicating whether a UNLModify Tx is to disable or to re-enable a validator.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00083">NegativeUNLVote.h:83</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13">ripple::NegativeUNLVote::ToReEnable</a></div><div class="ttdeci">@ ToReEnable</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00086">NegativeUNLVote.h:85</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5">ripple::NegativeUNLVote::ToDisable</a></div><div class="ttdeci">@ ToDisable</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00084">NegativeUNLVote.h:84</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cf"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cf">ripple::NegativeUNLVote::NegativeUNLModify</a></div><div class="ttdeci">NegativeUNLModify</div><div class="ttdoc">A flag indicating whether a UNLModify Tx is to disable or to re-enable a validator.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00084">NegativeUNLVote.h:84</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfa50aab7a54a0d4bee43c5e3fcedd50d13">ripple::NegativeUNLVote::ToReEnable</a></div><div class="ttdeci">@ ToReEnable</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00087">NegativeUNLVote.h:86</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a4fc6405fdb02e58c350e175b6d58e7cfabe47f804b7bde80da32af12f772dc7c5">ripple::NegativeUNLVote::ToDisable</a></div><div class="ttdeci">@ ToDisable</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00085">NegativeUNLVote.h:85</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a715cdaf670c930941605e79e41f37a12"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a715cdaf670c930941605e79e41f37a12">ripple::NegativeUNLVote::purgeNewValidators</a></div><div class="ttdeci">void purgeNewValidators(LedgerIndex seq)</div><div class="ttdoc">Purge validators that are not new anymore.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00340">NegativeUNLVote.cpp:340</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a8ceb9b332c095287ee068525be0c3f75"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a8ceb9b332c095287ee068525be0c3f75">ripple::NegativeUNLVote::findAllCandidates</a></div><div class="ttdeci">Candidates const findAllCandidates(hash_set< NodeID > const &unl, hash_set< NodeID > const &negUnl, hash_map< NodeID, std::uint32_t > const &scoreTable)</div><div class="ttdoc">Process the score table and find all disabling and re-enabling candidates.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00248">NegativeUNLVote.cpp:248</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_a97f003bda574fab190cf2fae6016cd83"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#a97f003bda574fab190cf2fae6016cd83">ripple::NegativeUNLVote::~NegativeUNLVote</a></div><div class="ttdeci">~NegativeUNLVote()=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_aa5de4786b266e78a53d0e0541d012f9b"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b">ripple::NegativeUNLVote::myId_</a></div><div class="ttdeci">NodeID const myId_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00127">NegativeUNLVote.h:127</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_aa8c381a7b9dd1ea9ac0c06e03b89ca35"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35">ripple::NegativeUNLVote::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00129">NegativeUNLVote.h:129</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ab62eededf03134ab139bed2a3e4712b2"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2">ripple::NegativeUNLVote::newValidatorDisableSkip</a></div><div class="ttdeci">static constexpr size_t newValidatorDisableSkip</div><div class="ttdoc">We don't want to disable new validators immediately after adding them.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00073">NegativeUNLVote.h:73</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ab76d9fbc4b6a779ef802d683ce6aff5f"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f">ripple::NegativeUNLVote::negativeUNLLowWaterMark</a></div><div class="ttdeci">static constexpr size_t negativeUNLLowWaterMark</div><div class="ttdoc">A validator is considered unreliable if its validations is less than negativeUNLLowWaterMark in the l...</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00055">NegativeUNLVote.h:55</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_aa5de4786b266e78a53d0e0541d012f9b"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aa5de4786b266e78a53d0e0541d012f9b">ripple::NegativeUNLVote::myId_</a></div><div class="ttdeci">NodeID const myId_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00128">NegativeUNLVote.h:128</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_aa8c381a7b9dd1ea9ac0c06e03b89ca35"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aa8c381a7b9dd1ea9ac0c06e03b89ca35">ripple::NegativeUNLVote::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00130">NegativeUNLVote.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ab62eededf03134ab139bed2a3e4712b2"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ab62eededf03134ab139bed2a3e4712b2">ripple::NegativeUNLVote::newValidatorDisableSkip</a></div><div class="ttdeci">static constexpr size_t newValidatorDisableSkip</div><div class="ttdoc">We don't want to disable new validators immediately after adding them.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00074">NegativeUNLVote.h:74</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ab76d9fbc4b6a779ef802d683ce6aff5f"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ab76d9fbc4b6a779ef802d683ce6aff5f">ripple::NegativeUNLVote::negativeUNLLowWaterMark</a></div><div class="ttdeci">static constexpr size_t negativeUNLLowWaterMark</div><div class="ttdoc">A validator is considered unreliable if its validations is less than negativeUNLLowWaterMark in the l...</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00056">NegativeUNLVote.h:56</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ac58c464cefde1519ac23d1b51aa28833"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ac58c464cefde1519ac23d1b51aa28833">ripple::NegativeUNLVote::doVoting</a></div><div class="ttdeci">void doVoting(std::shared_ptr< Ledger const > const &prevLedger, hash_set< PublicKey > const &unlKeys, RCLValidations &validations, std::shared_ptr< SHAMap > const &initialSet)</div><div class="ttdoc">Cast our local vote on the NegativeUNL candidates.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00033">NegativeUNLVote.cpp:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ad06aac6b466a08700b51ab59c5200108"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108">ripple::NegativeUNLVote::newValidators_</a></div><div class="ttdeci">hash_map< NodeID, LedgerIndex > newValidators_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00130">NegativeUNLVote.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_ad06aac6b466a08700b51ab59c5200108"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108">ripple::NegativeUNLVote::newValidators_</a></div><div class="ttdeci">hash_map< NodeID, LedgerIndex > newValidators_</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00131">NegativeUNLVote.h:131</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_af279cb391bcbed65e431f14d6322441c"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#af279cb391bcbed65e431f14d6322441c">ripple::NegativeUNLVote::newValidators</a></div><div class="ttdeci">void newValidators(LedgerIndex seq, hash_set< NodeID > const &nowTrusted)</div><div class="ttdoc">Notify NegativeUNLVote that new validators are added.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00323">NegativeUNLVote.cpp:323</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_af2de75b9bfd6f9725a3dce10979fc128"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128">ripple::NegativeUNLVote::negativeUNLMaxListed</a></div><div class="ttdeci">static constexpr float negativeUNLMaxListed</div><div class="ttdoc">We only want to put 25% of the UNL on the NegativeUNL.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00077">NegativeUNLVote.h:77</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_af2de75b9bfd6f9725a3dce10979fc128"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#af2de75b9bfd6f9725a3dce10979fc128">ripple::NegativeUNLVote::negativeUNLMaxListed</a></div><div class="ttdeci">static constexpr float negativeUNLMaxListed</div><div class="ttdoc">We only want to put 25% of the UNL on the NegativeUNL.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00078">NegativeUNLVote.h:78</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_af8a85a2853312bc4b1ff9852a2498bd4"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#af8a85a2853312bc4b1ff9852a2498bd4">ripple::NegativeUNLVote::addTx</a></div><div class="ttdeci">void addTx(LedgerIndex seq, PublicKey const &vp, NegativeUNLModify modify, std::shared_ptr< SHAMap > const &initialSet)</div><div class="ttdoc">Add a ttUNL_MODIFY Tx to the transaction set.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00111">NegativeUNLVote.cpp:111</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_afd511e1daa58039d360430adf4043f0a"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a">ripple::NegativeUNLVote::negativeUNLMinLocalValsToVote</a></div><div class="ttdeci">static constexpr size_t negativeUNLMinLocalValsToVote</div><div class="ttdoc">The minimum number of validations of the local node for it to participate in the voting.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00067">NegativeUNLVote.h:67</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_afd511e1daa58039d360430adf4043f0a"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#afd511e1daa58039d360430adf4043f0a">ripple::NegativeUNLVote::negativeUNLMinLocalValsToVote</a></div><div class="ttdeci">static constexpr size_t negativeUNLMinLocalValsToVote</div><div class="ttdoc">The minimum number of validations of the local node for it to participate in the voting.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00068">NegativeUNLVote.h:68</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1PublicKey_html"><div class="ttname"><a href="classripple_1_1PublicKey.html">ripple::PublicKey</a></div><div class="ttdoc">A public key.</div><div class="ttdef"><b>Definition:</b> <a href="PublicKey_8h_source.html#l00061">PublicKey.h:62</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Validations_html"><div class="ttname"><a href="classripple_1_1Validations.html">ripple::Validations< RCLValidationsAdaptor ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 160, detail::NodeIDTag ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1NegativeUNLVoteInternal__test_html"><div class="ttname"><a href="classripple_1_1test_1_1NegativeUNLVoteInternal__test.html">ripple::test::NegativeUNLVoteInternal_test</a></div><div class="ttdoc">Test the private member functions of NegativeUNLVote.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNL__test_8cpp_source.html#l00766">NegativeUNL_test.cpp:767</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1NegativeUNLVoteScoreTable__test_html"><div class="ttname"><a href="classripple_1_1test_1_1NegativeUNLVoteScoreTable__test.html">ripple::test::NegativeUNLVoteScoreTable_test</a></div><div class="ttdoc">Rest the build score table function of NegativeUNLVote.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNL__test_8cpp_source.html#l01411">NegativeUNL_test.cpp:1412</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1NegativeUNLVoteInternal__test_html"><div class="ttname"><a href="classripple_1_1test_1_1NegativeUNLVoteInternal__test.html">ripple::test::NegativeUNLVoteInternal_test</a></div><div class="ttdoc">Test the private member functions of NegativeUNLVote.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNL__test_8cpp_source.html#l00768">NegativeUNL_test.cpp:769</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1test_1_1NegativeUNLVoteScoreTable__test_html"><div class="ttname"><a href="classripple_1_1test_1_1NegativeUNLVoteScoreTable__test.html">ripple::test::NegativeUNLVoteScoreTable_test</a></div><div class="ttdoc">Rest the build score table function of NegativeUNLVote.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNL__test_8cpp_source.html#l01413">NegativeUNL_test.cpp:1414</a></div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
||||
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</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_aec92d858e16db22aebce05698a4a444d"><div class="ttname"><a href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">ripple::FLAG_LEDGER_INTERVAL</a></div><div class="ttdeci">std::uint32_t constexpr FLAG_LEDGER_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00425">Ledger.h:425</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af4f638fef00deb6c3f611b9639f66d7a"><div class="ttname"><a href="namespaceripple.html#af4f638fef00deb6c3f611b9639f66d7a">ripple::RCLValidations</a></div><div class="ttdeci">Validations< RCLValidationsAdaptor > RCLValidations</div><div class="ttdoc">Alias for RCL-specific instantiation of generic Validations.</div><div class="ttdef"><b>Definition:</b> <a href="RCLValidations_8h_source.html#l00240">RCLValidations.h:240</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aec92d858e16db22aebce05698a4a444d"><div class="ttname"><a href="namespaceripple.html#aec92d858e16db22aebce05698a4a444d">ripple::FLAG_LEDGER_INTERVAL</a></div><div class="ttdeci">std::uint32_t constexpr FLAG_LEDGER_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00426">Ledger.h:426</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af4f638fef00deb6c3f611b9639f66d7a"><div class="ttname"><a href="namespaceripple.html#af4f638fef00deb6c3f611b9639f66d7a">ripple::RCLValidations</a></div><div class="ttdeci">Validations< RCLValidationsAdaptor > RCLValidations</div><div class="ttdoc">Alias for RCL-specific instantiation of generic Validations.</div><div class="ttdef"><b>Definition:</b> <a href="RCLValidations_8h_source.html#l00241">RCLValidations.h:241</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">optional</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_1NegativeUNLVote_1_1Candidates_html"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html">ripple::NegativeUNLVote::Candidates</a></div><div class="ttdoc">UNLModify Tx candidates.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00135">NegativeUNLVote.h:136</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NegativeUNLVote_1_1Candidates_html_a938109d6a0f59356dcc6e36588ce40a9"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9">ripple::NegativeUNLVote::Candidates::toReEnableCandidates</a></div><div class="ttdeci">std::vector< NodeID > toReEnableCandidates</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00138">NegativeUNLVote.h:138</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NegativeUNLVote_1_1Candidates_html_afea2b484af350492a9d2a692afdbdc87"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87">ripple::NegativeUNLVote::Candidates::toDisableCandidates</a></div><div class="ttdeci">std::vector< NodeID > toDisableCandidates</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00137">NegativeUNLVote.h:137</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NegativeUNLVote_1_1Candidates_html"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html">ripple::NegativeUNLVote::Candidates</a></div><div class="ttdoc">UNLModify Tx candidates.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00136">NegativeUNLVote.h:137</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NegativeUNLVote_1_1Candidates_html_a938109d6a0f59356dcc6e36588ce40a9"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html#a938109d6a0f59356dcc6e36588ce40a9">ripple::NegativeUNLVote::Candidates::toReEnableCandidates</a></div><div class="ttdeci">std::vector< NodeID > toReEnableCandidates</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00139">NegativeUNLVote.h:139</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NegativeUNLVote_1_1Candidates_html_afea2b484af350492a9d2a692afdbdc87"><div class="ttname"><a href="structripple_1_1NegativeUNLVote_1_1Candidates.html#afea2b484af350492a9d2a692afdbdc87">ripple::NegativeUNLVote::Candidates::toDisableCandidates</a></div><div class="ttdeci">std::vector< NodeID > toDisableCandidates</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8h_source.html#l00138">NegativeUNLVote.h:138</a></div></div>
|
||||
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a></div></div>
|
||||
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</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>
|
||||
|
||||
Reference in New Issue
Block a user