This commit is contained in:
nbougalis
2020-12-05 06:17:37 +00:00
parent 27ba201b4c
commit ee2b4c457d
4211 changed files with 96026 additions and 94287 deletions

View File

@@ -193,21 +193,21 @@ $(function() {
<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="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_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="anamespaceripple_html_a9a1e35684311191adb2870e2d88030fc"><div class="ttname"><a href="namespaceripple.html#a9a1e35684311191adb2870e2d88030fc">ripple::FLAG_LEDGER_INTERVAL</a></div><div class="ttdeci">constexpr std::uint32_t FLAG_LEDGER_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00398">Ledger.h:398</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9a1e35684311191adb2870e2d88030fc"><div class="ttname"><a href="namespaceripple.html#a9a1e35684311191adb2870e2d88030fc">ripple::FLAG_LEDGER_INTERVAL</a></div><div class="ttdeci">constexpr std::uint32_t FLAG_LEDGER_INTERVAL</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00392">Ledger.h:392</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#l00085">NegativeUNLVote.h:85</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_ad06aac6b466a08700b51ab59c5200108"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#ad06aac6b466a08700b51ab59c5200108">ripple::NegativeUNLVote::newValidators_</a></div><div class="ttdeci">hash_map&lt; NodeID, LedgerIndex &gt; 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="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&lt; NodeID &gt; 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="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00063">base_uint.h:63</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</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00073">base_uint.h:73</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&lt; NodeID &gt; 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="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_aad6b405da7214440280177d02be243ff"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aad6b405da7214440280177d02be243ff">ripple::NegativeUNLVote::findAllCandidates</a></div><div class="ttdeci">const Candidates findAllCandidates(hash_set&lt; NodeID &gt; const &amp;unl, hash_set&lt; NodeID &gt; const &amp;negUnl, hash_map&lt; NodeID, std::uint32_t &gt; const &amp;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#l00241">NegativeUNLVote.cpp:241</a></div></div>
<div class="ttc" id="aclassripple_1_1NegativeUNLVote_html_aad6b405da7214440280177d02be243ff"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#aad6b405da7214440280177d02be243ff">ripple::NegativeUNLVote::findAllCandidates</a></div><div class="ttdeci">const Candidates findAllCandidates(hash_set&lt; NodeID &gt; const &amp;unl, hash_set&lt; NodeID &gt; const &amp;negUnl, hash_map&lt; NodeID, std::uint32_t &gt; const &amp;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#l00242">NegativeUNLVote.cpp:242</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#l00059">PublicKey.h:59</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_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="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="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="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&lt; hash_map&lt; NodeID, std::uint32_t &gt; &gt; buildScoreTable(std::shared_ptr&lt; Ledger const &gt; const &amp;prevLedger, hash_set&lt; NodeID &gt; const &amp;unl, RCLValidations &amp;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#l00157">NegativeUNLVote.cpp:157</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&lt; hash_map&lt; NodeID, std::uint32_t &gt; &gt; buildScoreTable(std::shared_ptr&lt; Ledger const &gt; const &amp;prevLedger, hash_set&lt; NodeID &gt; const &amp;unl, RCLValidations &amp;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#l00158">NegativeUNLVote.cpp:158</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:135</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 &amp;vp, NegativeUNLModify modify, std::shared_ptr&lt; SHAMap &gt; const &amp;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#l00106">NegativeUNLVote.cpp:106</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>
@@ -220,13 +220,13 @@ $(function() {
<div class="ttc" id="aclassripple_1_1Validations_html"><div class="ttname"><a href="classripple_1_1Validations.html">ripple::Validations&lt; RCLValidationsAdaptor &gt;</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="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a></div><div class="ttdoc">STL class.</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#l00333">NegativeUNLVote.cpp:333</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#l00334">NegativeUNLVote.cpp:334</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:46</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 &amp;randomPadData, std::vector&lt; NodeID &gt; const &amp;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#l00138">NegativeUNLVote.cpp:138</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 &amp;randomPadData, std::vector&lt; NodeID &gt; const &amp;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#l00139">NegativeUNLVote.cpp:139</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 class="ttdoc">STL class.</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_afb3ed2c981663495ad603c103040fbf1"><div class="ttname"><a href="classripple_1_1NegativeUNLVote.html#afb3ed2c981663495ad603c103040fbf1">ripple::NegativeUNLVote::NegativeUNLVote</a></div><div class="ttdeci">NegativeUNLVote(NodeID const &amp;myId, beast::Journal j)</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="NegativeUNLVote_8cpp_source.html#l00026">NegativeUNLVote.cpp:26</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&lt; NodeID &gt; const &amp;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#l00316">NegativeUNLVote.cpp:316</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&lt; NodeID &gt; const &amp;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#l00317">NegativeUNLVote.cpp:317</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">