Files
rippled/namespaceripple_1_1PeerFinder_1_1Tuning.html
2025-11-04 00:36:48 -08:00

415 lines
24 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::PeerFinder::Tuning Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1PeerFinder.html">PeerFinder</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html">Tuning</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle"><div class="title">ripple::PeerFinder::Tuning Namespace Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Heuristically tuned constants.
<a href="namespaceripple_1_1PeerFinder_1_1Tuning.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a94fae08d783ea8acf6109df396f2be62" id="r_a94fae08d783ea8acf6109df396f2be62"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <br />
&#160;&#160;<a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62a55d806cee607bc4ee75497efb6b895f3">secondsPerConnect</a> = 10
, <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62a8a6872ddbb47d7d8ae0223377020d1d1">maxConnectAttempts</a> = 20
, <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62a4bdda2a4de62bd1ac3594de895ba3b10">outPercent</a> = 15
, <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62adfb5a5032cadf474a7d73130e7bdfbab">minOutCount</a> = 10
, <br />
&#160;&#160;<a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62ae2613c88dfdb6971e3738f1f7ef8f295">defaultMaxPeers</a> = 21
, <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a94fae08d783ea8acf6109df396f2be62a212731207fffda9c87043e6970a33329">maxRedirects</a> = 30
<br />
}</td></tr>
<tr class="separator:a94fae08d783ea8acf6109df396f2be62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8beba9c7a6f2b93205c97f4b17b241a7" id="r_a8beba9c7a6f2b93205c97f4b17b241a7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a8beba9c7a6f2b93205c97f4b17b241a7aa5370251f3b67c6964070abba176411e">bootcacheSize</a> = 1000
, <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a8beba9c7a6f2b93205c97f4b17b241a7a812b763d40e801379f710816646374fc">bootcachePrunePercent</a> = 10
}</td></tr>
<tr class="separator:a8beba9c7a6f2b93205c97f4b17b241a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:abb012e009280d5f551c4baa59a32acbc" id="r_abb012e009280d5f551c4baa59a32acbc"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#abb012e009280d5f551c4baa59a32acbc">bootcacheCooldownTime</a> (60)</td></tr>
<tr class="separator:abb012e009280d5f551c4baa59a32acbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dad0e4b11ba9d4fa6f66576e6e0e600" id="r_a1dad0e4b11ba9d4fa6f66576e6e0e600"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a1dad0e4b11ba9d4fa6f66576e6e0e600">secondsPerMessage</a> (151)</td></tr>
<tr class="separator:a1dad0e4b11ba9d4fa6f66576e6e0e600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac461aff7667274114c828eee9d375539" id="r_ac461aff7667274114c828eee9d375539"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#ac461aff7667274114c828eee9d375539">liveCacheSecondsToLive</a> (30)</td></tr>
<tr class="separator:ac461aff7667274114c828eee9d375539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a6ab26d89b1c1f2a3dbe1a536033d91" id="r_a6a6ab26d89b1c1f2a3dbe1a536033d91"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a6a6ab26d89b1c1f2a3dbe1a536033d91">recentAttemptDuration</a> (60)</td></tr>
<tr class="separator:a6a6ab26d89b1c1f2a3dbe1a536033d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad46089ab9429a4c94c965ab519454410" id="r_ad46089ab9429a4c94c965ab519454410"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; int, 10 &gt; const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#ad46089ab9429a4c94c965ab519454410">connectionBackoff</a></td></tr>
<tr class="separator:ad46089ab9429a4c94c965ab519454410"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9120fce3c05559f3eb996f93c8ed9d4" id="r_ad9120fce3c05559f3eb996f93c8ed9d4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#ad9120fce3c05559f3eb996f93c8ed9d4">maxHops</a> = 6</td></tr>
<tr class="separator:ad9120fce3c05559f3eb996f93c8ed9d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55f544f747806be644055ae58de6dbcb" id="r_a55f544f747806be644055ae58de6dbcb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a55f544f747806be644055ae58de6dbcb">numberOfEndpoints</a> = 2 * <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#ad9120fce3c05559f3eb996f93c8ed9d4">maxHops</a></td></tr>
<tr class="separator:a55f544f747806be644055ae58de6dbcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46365545ce0ea4598242f0209dd7d649" id="r_a46365545ce0ea4598242f0209dd7d649"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a46365545ce0ea4598242f0209dd7d649">numberOfEndpointsMax</a></td></tr>
<tr class="separator:a46365545ce0ea4598242f0209dd7d649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34bf7d8eed42ae26737b4ad5575ca754" id="r_a34bf7d8eed42ae26737b4ad5575ca754"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#a34bf7d8eed42ae26737b4ad5575ca754">redirectEndpointCount</a> = 10</td></tr>
<tr class="separator:a34bf7d8eed42ae26737b4ad5575ca754"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Heuristically tuned constants. </p>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a94fae08d783ea8acf6109df396f2be62" name="a94fae08d783ea8acf6109df396f2be62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94fae08d783ea8acf6109df396f2be62">&#9670;&#160;</a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62a55d806cee607bc4ee75497efb6b895f3" name="a94fae08d783ea8acf6109df396f2be62a55d806cee607bc4ee75497efb6b895f3"></a>secondsPerConnect&#160;</td><td class="fielddoc"><p>Time to wait between making batches of connection attempts. </p>
</td></tr>
<tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62a8a6872ddbb47d7d8ae0223377020d1d1" name="a94fae08d783ea8acf6109df396f2be62a8a6872ddbb47d7d8ae0223377020d1d1"></a>maxConnectAttempts&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62a4bdda2a4de62bd1ac3594de895ba3b10" name="a94fae08d783ea8acf6109df396f2be62a4bdda2a4de62bd1ac3594de895ba3b10"></a>outPercent&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62adfb5a5032cadf474a7d73130e7bdfbab" name="a94fae08d783ea8acf6109df396f2be62adfb5a5032cadf474a7d73130e7bdfbab"></a>minOutCount&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62ae2613c88dfdb6971e3738f1f7ef8f295" name="a94fae08d783ea8acf6109df396f2be62ae2613c88dfdb6971e3738f1f7ef8f295"></a>defaultMaxPeers&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a94fae08d783ea8acf6109df396f2be62a212731207fffda9c87043e6970a33329" name="a94fae08d783ea8acf6109df396f2be62a212731207fffda9c87043e6970a33329"></a>maxRedirects&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00013">13</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<a id="a8beba9c7a6f2b93205c97f4b17b241a7" name="a8beba9c7a6f2b93205c97f4b17b241a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8beba9c7a6f2b93205c97f4b17b241a7">&#9670;&#160;</a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a8beba9c7a6f2b93205c97f4b17b241a7aa5370251f3b67c6964070abba176411e" name="a8beba9c7a6f2b93205c97f4b17b241a7aa5370251f3b67c6964070abba176411e"></a>bootcacheSize&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a8beba9c7a6f2b93205c97f4b17b241a7a812b763d40e801379f710816646374fc" name="a8beba9c7a6f2b93205c97f4b17b241a7a812b763d40e801379f710816646374fc"></a>bootcachePrunePercent&#160;</td><td class="fielddoc"></td></tr>
</table>
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00069">69</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="abb012e009280d5f551c4baa59a32acbc" name="abb012e009280d5f551c4baa59a32acbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb012e009280d5f551c4baa59a32acbc">&#9670;&#160;</a></span>bootcacheCooldownTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> const ripple::PeerFinder::Tuning::bootcacheCooldownTime </td>
<td>(</td>
<td class="paramtype">60&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a1dad0e4b11ba9d4fa6f66576e6e0e600" name="a1dad0e4b11ba9d4fa6f66576e6e0e600"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dad0e4b11ba9d4fa6f66576e6e0e600">&#9670;&#160;</a></span>secondsPerMessage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr ripple::PeerFinder::Tuning::secondsPerMessage </td>
<td>(</td>
<td class="paramtype">151&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac461aff7667274114c828eee9d375539" name="ac461aff7667274114c828eee9d375539"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac461aff7667274114c828eee9d375539">&#9670;&#160;</a></span>liveCacheSecondsToLive()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr ripple::PeerFinder::Tuning::liveCacheSecondsToLive </td>
<td>(</td>
<td class="paramtype">30&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6a6ab26d89b1c1f2a3dbe1a536033d91" name="a6a6ab26d89b1c1f2a3dbe1a536033d91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a6ab26d89b1c1f2a3dbe1a536033d91">&#9670;&#160;</a></span>recentAttemptDuration()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> constexpr ripple::PeerFinder::Tuning::recentAttemptDuration </td>
<td>(</td>
<td class="paramtype">60&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="ad46089ab9429a4c94c965ab519454410" name="ad46089ab9429a4c94c965ab519454410"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad46089ab9429a4c94c965ab519454410">&#9670;&#160;</a></span>connectionBackoff</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt;int, 10&gt; const ripple::PeerFinder::Tuning::connectionBackoff</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div>
<div class="line"> {1, 1, 2, 3, 5, 8, 13, 21, 34, 55}}</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00060">60</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<a id="ad9120fce3c05559f3eb996f93c8ed9d4" name="ad9120fce3c05559f3eb996f93c8ed9d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9120fce3c05559f3eb996f93c8ed9d4">&#9670;&#160;</a></span>maxHops</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr ripple::PeerFinder::Tuning::maxHops = 6</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00091">91</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<a id="a55f544f747806be644055ae58de6dbcb" name="a55f544f747806be644055ae58de6dbcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55f544f747806be644055ae58de6dbcb">&#9670;&#160;</a></span>numberOfEndpoints</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr ripple::PeerFinder::Tuning::numberOfEndpoints = 2 * <a class="el" href="namespaceripple_1_1PeerFinder_1_1Tuning.html#ad9120fce3c05559f3eb996f93c8ed9d4">maxHops</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00094">94</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<a id="a46365545ce0ea4598242f0209dd7d649" name="a46365545ce0ea4598242f0209dd7d649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46365545ce0ea4598242f0209dd7d649">&#9670;&#160;</a></span>numberOfEndpointsMax</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr ripple::PeerFinder::Tuning::numberOfEndpointsMax</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
<div class="line"> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::max&lt;decltype(numberOfEndpoints)&gt;</a>(numberOfEndpoints * 2, 64)</div>
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00097">97</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
<a id="a34bf7d8eed42ae26737b4ad5575ca754" name="a34bf7d8eed42ae26737b4ad5575ca754"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34bf7d8eed42ae26737b4ad5575ca754">&#9670;&#160;</a></span>redirectEndpointCount</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> constexpr ripple::PeerFinder::Tuning::redirectEndpointCount = 10</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html#l00101">101</a> of file <a class="el" href="src_2xrpld_2peerfinder_2detail_2Tuning_8h_source.html">src/xrpld/peerfinder/detail/Tuning.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>