This commit is contained in:
manojsdoshi
2021-03-12 22:34:28 +00:00
parent 1664f589f1
commit dffdcfc0e7
4802 changed files with 108249 additions and 108053 deletions

View File

@@ -635,7 +635,7 @@ $(function() {
<div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160; <span class="keywordflow">if</span> (it == peersWithMessage_.end())</div>
<div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160; {</div>
<div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160; JLOG(journal_.trace())</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; &lt;&lt; <span class="stringliteral">&quot;addPeerMessage: new &quot;</span> &lt;&lt; <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160; &lt;&lt; <span class="stringliteral">&quot;addPeerMessage: new &quot;</span> &lt;&lt; <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160; peersWithMessage_.emplace(key, <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set&lt;id_t&gt;</a>{<span class="keywordtype">id</span>});</div>
<div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; }</div>
@@ -643,12 +643,12 @@ $(function() {
<div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; <span class="keywordflow">if</span> (it-&gt;second.find(<span class="keywordtype">id</span>) != it-&gt;second.end())</div>
<div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; {</div>
<div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; JLOG(journal_.trace()) &lt;&lt; <span class="stringliteral">&quot;addPeerMessage: duplicate message &quot;</span></div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; &lt;&lt; <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; &lt;&lt; <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; }</div>
<div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; </div>
<div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160; JLOG(journal_.trace())</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; &lt;&lt; <span class="stringliteral">&quot;addPeerMessage: added &quot;</span> &lt;&lt; <a class="code" href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160; &lt;&lt; <span class="stringliteral">&quot;addPeerMessage: added &quot;</span> &lt;&lt; <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(key) &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; id;</div>
<div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160; it-&gt;second.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/insert.html">insert</a>(<span class="keywordtype">id</span>);</div>
<div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160; }</div>
@@ -723,7 +723,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_ad5915fa8b608fb30c3dc92a042cf8ad8"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#ad5915fa8b608fb30c3dc92a042cf8ad8">ripple::reduce_relay::Slot::peers_</a></div><div class="ttdeci">std::unordered_map&lt; id_t, PeerInfo &gt; peers_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00225">overlay/Slot.h:225</a></div></div>
<div class="ttc" id="anamespaceripple_1_1reduce__relay_html_a97acf1bdb84dfd9a6e86218ba77cb04f"><div class="ttname"><a href="namespaceripple_1_1reduce__relay.html#a97acf1bdb84dfd9a6e86218ba77cb04f">ripple::reduce_relay::epoch</a></div><div class="ttdeci">Unit epoch(TP const &amp;t)</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00062">overlay/Slot.h:62</a></div></div>
<div class="ttc" id="anamespaceripple_1_1reduce__relay_html_a9f15d21d6c73738cdfad6e99d22a001e"><div class="ttname"><a href="namespaceripple_1_1reduce__relay.html#a9f15d21d6c73738cdfad6e99d22a001e">ripple::reduce_relay::SlotState</a></div><div class="ttdeci">SlotState</div><div class="ttdoc">Slot's State.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00055">overlay/Slot.h:55</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_ad2bffc75e554b89befbb9388e07392c0"><div class="ttname"><a href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">ripple::base_uint::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00444">base_uint.h:444</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_ad2bffc75e554b89befbb9388e07392c0"><div class="ttname"><a href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">ripple::base_uint::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00513">base_uint.h:513</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_abe8555ef9b1c03e6ba1c2191de3854a6"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#abe8555ef9b1c03e6ba1c2191de3854a6">ripple::reduce_relay::Slots::updateSlotAndSquelch</a></div><div class="ttdeci">void updateSlotAndSquelch(uint256 const &amp;key, PublicKey const &amp;validator, id_t id, protocol::MessageType type)</div><div class="ttdoc">Calls Slot::update of Slot associated with the validator.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00703">overlay/Slot.h:703</a></div></div>
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_a05d53067b0c45234dee4d77b94edb0a0"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#a05d53067b0c45234dee4d77b94edb0a0">ripple::reduce_relay::Slot::getPeers</a></div><div class="ttdeci">std::unordered_map&lt; id_t, std::tuple&lt; PeerState, uint16_t, uint32_t, uint32_t &gt; &gt; getPeers() const</div><div class="ttdoc">Get peers info.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00513">overlay/Slot.h:513</a></div></div>
@@ -746,7 +746,6 @@ $(function() {
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_acc2ed9802972f7bbbdaf356e3a36d6da"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#acc2ed9802972f7bbbdaf356e3a36d6da">ripple::reduce_relay::Slot::getSquelchDuration</a></div><div class="ttdeci">std::chrono::seconds getSquelchDuration(std::size_t npeers)</div><div class="ttdoc">Get random squelch duration between MIN_UNSQUELCH_EXPIRE and min(max(MAX_UNSQUELCH_EXPIRE_DEFAULT,...</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00397">overlay/Slot.h:397</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_aff561e306a36edd34ba6e5355611e37b"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#aff561e306a36edd34ba6e5355611e37b">ripple::reduce_relay::Slots&lt; ripple::UptimeClock &gt;::id_t</a></div><div class="ttdeci">typename Peer::id_t id_t</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00540">overlay/Slot.h:540</a></div></div>
<div class="ttc" id="atuple_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/tuple.html">tuple</a></div></div>
<div class="ttc" id="anamespaceripple_html_a96888695e8d79474e080c334f149e30a"><div class="ttname"><a href="namespaceripple.html#a96888695e8d79474e080c334f149e30a">ripple::to_string</a></div><div class="ttdeci">std::string to_string(ListDisposition disposition)</div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8cpp_source.html#l00045">ValidatorList.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_a0b8922cb162d01bc418e4d9161c71879"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#a0b8922cb162d01bc418e4d9161c71879">ripple::reduce_relay::Slots&lt; ripple::UptimeClock &gt;::time_point</a></div><div class="ttdeci">typename ripple::UptimeClock ::time_point time_point</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00539">overlay/Slot.h:539</a></div></div>
<div class="ttc" id="anamespaceripple_1_1reduce__relay_html_ac8510a72575fb51be1db4944073f8b22abf87751378a125423d6e60e4ffff6daa"><div class="ttname"><a href="namespaceripple_1_1reduce__relay.html#ac8510a72575fb51be1db4944073f8b22abf87751378a125423d6e60e4ffff6daa">ripple::reduce_relay::PeerState::Counting</a></div><div class="ttdeci">@ Counting</div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_a8f76c81732be3114d4f6e13d63554a27"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#a8f76c81732be3114d4f6e13d63554a27">ripple::reduce_relay::Slots::notInState</a></div><div class="ttdeci">std::optional&lt; std::uint16_t &gt; notInState(PublicKey const &amp;validator, PeerState state) const</div><div class="ttdoc">Return number of peers not in state.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00588">overlay/Slot.h:588</a></div></div>
@@ -754,7 +753,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_a7ebe56a4d63487ddcdf794455a205f60"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#a7ebe56a4d63487ddcdf794455a205f60">ripple::reduce_relay::Slots::inState</a></div><div class="ttdeci">bool inState(PublicKey const &amp;validator, SlotState state) const</div><div class="ttdoc">Return true if Slot is in state.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00598">overlay/Slot.h:598</a></div></div>
<div class="ttc" id="aalgorithm_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_af9ba20e98ad86d8e027fbe2c8c46f58c"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#af9ba20e98ad86d8e027fbe2c8c46f58c">ripple::reduce_relay::Slot::state_</a></div><div class="ttdeci">SlotState state_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00233">overlay/Slot.h:233</a></div></div>
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint&lt; 256 &gt; uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00457">base_uint.h:457</a></div></div>
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint&lt; 256 &gt; uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00526">base_uint.h:526</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slots_html_a5ac0e92ef5b67cb1276feef60072d2f4"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slots.html#a5ac0e92ef5b67cb1276feef60072d2f4">ripple::reduce_relay::Slots::slots_</a></div><div class="ttdeci">hash_map&lt; PublicKey, Slot&lt; clock_type &gt; &gt; slots_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00656">overlay/Slot.h:656</a></div></div>
<div class="ttc" id="anamespaceripple_html_aa761b49f905eb9fd8c8ae754a0eb7504"><div class="ttname"><a href="namespaceripple.html#aa761b49f905eb9fd8c8ae754a0eb7504">ripple::erase</a></div><div class="ttdeci">void erase(STObject &amp;st, TypedField&lt; U &gt; const &amp;f)</div><div class="ttdoc">Remove a field in an STObject.</div><div class="ttdef"><b>Definition:</b> <a href="STExchange_8h_source.html#l00171">STExchange.h:171</a></div></div>
<div class="ttc" id="astructripple_1_1reduce__relay_1_1Slot_1_1PeerInfo_html_a8e15b90aa6ac9de4d289a12e27e4eafa"><div class="ttname"><a href="structripple_1_1reduce__relay_1_1Slot_1_1PeerInfo.html#a8e15b90aa6ac9de4d289a12e27e4eafa">ripple::reduce_relay::Slot::PeerInfo::lastMessage</a></div><div class="ttdeci">time_point lastMessage</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00223">overlay/Slot.h:223</a></div></div>
@@ -801,6 +800,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_a76ff97ba5a14968dcd983af5b07f1f33"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#a76ff97ba5a14968dcd983af5b07f1f33">ripple::reduce_relay::Slot::getSelected</a></div><div class="ttdeci">std::set&lt; id_t &gt; getSelected() const</div><div class="ttdoc">Return selected peers.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00495">overlay/Slot.h:495</a></div></div>
<div class="ttc" id="astr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_stringstream/str.html">std::stringstream::str</a></div><div class="ttdeci">T str(T... args)</div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="anamespaceripple_html_af9776f187d3686a7fba4c2d2fbeebdf4"><div class="ttname"><a href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">ripple::to_string</a></div><div class="ttdeci">std::string to_string(Manifest const &amp;m)</div><div class="ttdoc">Format the specified manifest to a string for debugging purposes.</div><div class="ttdef"><b>Definition:</b> <a href="app_2misc_2impl_2Manifest_8cpp_source.html#l00038">app/misc/impl/Manifest.cpp:38</a></div></div>
<div class="ttc" id="aclassripple_1_1reduce__relay_1_1Slot_html_a3fe96bbfd8750507a638e49e22afde00"><div class="ttname"><a href="classripple_1_1reduce__relay_1_1Slot.html#a3fe96bbfd8750507a638e49e22afde00">ripple::reduce_relay::Slot::notInState</a></div><div class="ttdeci">std::uint16_t notInState(PeerState state) const</div><div class="ttdoc">Return number of peers not in state.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Slot_8h_source.html#l00486">overlay/Slot.h:486</a></div></div>
<div class="ttc" id="anamespaceripple_1_1reduce__relay_html_af6a298ebd3177be1776cf9be3e15db14"><div class="ttname"><a href="namespaceripple_1_1reduce__relay.html#af6a298ebd3177be1776cf9be3e15db14">ripple::reduce_relay::MAX_UNSQUELCH_EXPIRE_PEERS</a></div><div class="ttdeci">static constexpr auto MAX_UNSQUELCH_EXPIRE_PEERS</div><div class="ttdef"><b>Definition:</b> <a href="ReduceRelayCommon_8h_source.html#l00037">ReduceRelayCommon.h:37</a></div></div>
<div class="ttc" id="amake_pair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html">std::make_pair</a></div><div class="ttdeci">T make_pair(T... args)</div></div>