This commit is contained in:
manojsdoshi
2020-04-24 01:09:47 +00:00
parent 4ad595bf18
commit 430f6c0cf3
2864 changed files with 304301 additions and 292875 deletions

View File

@@ -96,42 +96,44 @@ $(function() {
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>Resource {</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">enum</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="comment">// Balance at which a warning is issued</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f"> 32</a></span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f">warningThreshold</a> = 5000</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// Balance at which the consumer is disconnected</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3"> 35</a></span>&#160; ,<a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3">dropThreshold</a> = 15000</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">enum</span> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <span class="comment">// Balance at which a warning is issued</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f"> 31</a></span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f">warningThreshold</a> = 5000</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="comment">// Balance at which the consumer is disconnected</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; ,</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3"> 35</a></span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3">dropThreshold</a> = 15000</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="comment">// The number of seconds in the exponential decay window</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// (This should be a power of two)</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471"> 39</a></span>&#160; ,<a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471">decayWindowSeconds</a> = 32</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="comment">// The minimum balance required in order to include a load source in gossip</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b"> 42</a></span>&#160; ,<a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b">minimumGossipBalance</a> = 1000</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;};</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="comment">// The number of seconds until an inactive table item is removed</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37"> 46</a></span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr <a class="code" href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37">secondsUntilExpiration</a>{300};</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="comment">// Number of seconds until imported gossip expires</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24"> 49</a></span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr <a class="code" href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24">gossipExpirationSeconds</a>{30};</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;}</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;}</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; ,</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471"> 40</a></span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471">decayWindowSeconds</a> = 32</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="comment">// The minimum balance required in order to include a load source in gossip</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; ,</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b"> 44</a></span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b">minimumGossipBalance</a> = 1000</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;};</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="comment">// The number of seconds until an inactive table item is removed</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37"> 48</a></span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr <a class="code" href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37">secondsUntilExpiration</a>{300};</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="comment">// Number of seconds until imported gossip expires</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24"> 51</a></span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr <a class="code" href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24">gossipExpirationSeconds</a>{30};</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;} <span class="comment">// namespace Resource</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f">ripple::Resource::warningThreshold</a></div><div class="ttdeci">@ warningThreshold</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00032">resource/impl/Tuning.h:32</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf9650eae9082653d5c5c741cfdb13d5f">ripple::Resource::warningThreshold</a></div><div class="ttdeci">@ warningThreshold</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00031">resource/impl/Tuning.h:31</a></div></div>
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a5d629d9c10c596c9ce01d4f0d5d0ab37"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37">ripple::Resource::secondsUntilExpiration</a></div><div class="ttdeci">constexpr std::chrono::seconds secondsUntilExpiration</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00046">resource/impl/Tuning.h:46</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a77258dadcc851e61e06caff71922ae24"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24">ripple::Resource::gossipExpirationSeconds</a></div><div class="ttdeci">constexpr std::chrono::seconds gossipExpirationSeconds</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00049">resource/impl/Tuning.h:49</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a5d629d9c10c596c9ce01d4f0d5d0ab37"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a5d629d9c10c596c9ce01d4f0d5d0ab37">ripple::Resource::secondsUntilExpiration</a></div><div class="ttdeci">constexpr std::chrono::seconds secondsUntilExpiration</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00048">resource/impl/Tuning.h:48</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a77258dadcc851e61e06caff71922ae24"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a77258dadcc851e61e06caff71922ae24">ripple::Resource::gossipExpirationSeconds</a></div><div class="ttdeci">constexpr std::chrono::seconds gossipExpirationSeconds</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00051">resource/impl/Tuning.h:51</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50ea5c408bda92d525f5d989365db1d6c1e3">ripple::Resource::dropThreshold</a></div><div class="ttdeci">@ dropThreshold</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00035">resource/impl/Tuning.h:35</a></div></div>
<div class="ttc" id="achrono_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/chrono.html">chrono</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471">ripple::Resource::decayWindowSeconds</a></div><div class="ttdeci">@ decayWindowSeconds</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00039">resource/impl/Tuning.h:39</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaa5aade0547994081e153dd3412dba471">ripple::Resource::decayWindowSeconds</a></div><div class="ttdeci">@ decayWindowSeconds</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00040">resource/impl/Tuning.h:40</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b">ripple::Resource::minimumGossipBalance</a></div><div class="ttdeci">@ minimumGossipBalance</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00042">resource/impl/Tuning.h:42</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0f78949e553da04321a457516707c50eaf2785714036c2bf9cddb23b9769d541b">ripple::Resource::minimumGossipBalance</a></div><div class="ttdeci">@ minimumGossipBalance</div><div class="ttdef"><b>Definition:</b> <a href="resource_2impl_2Tuning_8h_source.html#l00044">resource/impl/Tuning.h:44</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">