Files
rippled/classripple_1_1test_1_1tx__reduce__relay__test.html
2021-09-14 16:34:03 +00:00

591 lines
32 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::test::tx_reduce_relay_test Class 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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</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_1test.html">test</a></li><li class="navelem"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html">tx_reduce_relay_test</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1test_1_1tx__reduce__relay__test-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::test::tx_reduce_relay_test Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::test::tx_reduce_relay_test:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1test_1_1tx__reduce__relay__test__inherit__graph.png" border="0" usemap="#ripple_1_1test_1_1tx__reduce__relay__test_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1test_1_1tx__reduce__relay__test_inherit__map" id="ripple_1_1test_1_1tx__reduce__relay__test_inherit__map">
<area shape="rect" title=" " alt="" coords="5,80,169,121"/>
<area shape="rect" title=" " alt="" coords="60,5,115,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::test::tx_reduce_relay_test:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1test_1_1tx__reduce__relay__test__coll__graph.png" border="0" usemap="#ripple_1_1test_1_1tx__reduce__relay__test_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1test_1_1tx__reduce__relay__test_coll__map" id="ripple_1_1test_1_1tx__reduce__relay__test_coll__map">
<area shape="rect" title=" " alt="" coords="475,71,639,113"/>
<area shape="rect" title=" " alt="" coords="201,5,255,32"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="177,56,279,83"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/pair.html" title=" " alt="" coords="149,107,307,149"/>
<area shape="rect" title=" " alt="" coords="5,115,44,141"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="143,173,313,214"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test_1_1PeerTest.html">PeerTest</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:af2a877271fc33abaefcd7aa68d9050c0"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#af2a877271fc33abaefcd7aa68d9050c0">socket_type</a> = boost::asio::ip::tcp::socket</td></tr>
<tr class="separator:af2a877271fc33abaefcd7aa68d9050c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a3a05f3e2b91625530437f43e5ec241"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a9a3a05f3e2b91625530437f43e5ec241">middle_type</a> = boost::beast::tcp_stream</td></tr>
<tr class="separator:a9a3a05f3e2b91625530437f43e5ec241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac61a0165aaf8a9ccd5f6c2f43b807fd6"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#ac61a0165aaf8a9ccd5f6c2f43b807fd6">stream_type</a> = boost::beast::ssl_stream&lt; <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a9a3a05f3e2b91625530437f43e5ec241">middle_type</a> &gt;</td></tr>
<tr class="separator:ac61a0165aaf8a9ccd5f6c2f43b807fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afba935f45f518aabf9cd3ed64aab09f8"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#afba935f45f518aabf9cd3ed64aab09f8">shared_context</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; boost::asio::ssl::context &gt;</td></tr>
<tr class="separator:afba935f45f518aabf9cd3ed64aab09f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af624cda40dd8f959e1b874d0611c8955"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#af624cda40dd8f959e1b874d0611c8955">tx_reduce_relay_test</a> ()</td></tr>
<tr class="separator:af624cda40dd8f959e1b874d0611c8955"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a13548c221c573b096129053c50ead434"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a13548c221c573b096129053c50ead434">doTest</a> (const <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;msg, bool log, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; void(bool)&gt; f)</td></tr>
<tr class="separator:a13548c221c573b096129053c50ead434"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a530e0d78db55737f7b05e99af5dedb34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a530e0d78db55737f7b05e99af5dedb34">testConfig</a> (bool log)</td></tr>
<tr class="separator:a530e0d78db55737f7b05e99af5dedb34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4337a4227170e18714d44e0995ad1de5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a4337a4227170e18714d44e0995ad1de5">addPeer</a> (<a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">jtx::Env</a> &amp;env, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test_1_1PeerTest.html">PeerTest</a> &gt;&gt; &amp;peers, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> &amp;nDisabled)</td></tr>
<tr class="separator:a4337a4227170e18714d44e0995ad1de5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051d4e26e1050b71288e4239b371c055"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a051d4e26e1050b71288e4239b371c055">testRelay</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;test, bool txRREnabled, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> nPeers, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> nDisabled, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> minPeers, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> relayPercentage, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> expectRelay, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> expectQueue, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>&lt; <a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">Peer::id_t</a> &gt; const &amp;toSkip={})</td></tr>
<tr class="separator:a051d4e26e1050b71288e4239b371c055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6ef89670e7271284a99b29480dd3a33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#ad6ef89670e7271284a99b29480dd3a33">run</a> () override</td></tr>
<tr class="separator:ad6ef89670e7271284a99b29480dd3a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae3d405bde4503426807119e8e032e3dc"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#ae3d405bde4503426807119e8e032e3dc">lid_</a> {0}</td></tr>
<tr class="separator:ae3d405bde4503426807119e8e032e3dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999787b86216dbcc4c054218c580be33"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a999787b86216dbcc4c054218c580be33">rid_</a> {1}</td></tr>
<tr class="separator:a999787b86216dbcc4c054218c580be33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43a7499e0048172096f47092bf9fc7d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#afba935f45f518aabf9cd3ed64aab09f8">shared_context</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a43a7499e0048172096f47092bf9fc7d7">context_</a></td></tr>
<tr class="separator:a43a7499e0048172096f47092bf9fc7d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28b0b01ad5a1999d39a0a03cf0c145a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a115d5c8fd15fe92c47231fee7fad7c7c">ProtocolVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a28b0b01ad5a1999d39a0a03cf0c145a9">protocolVersion_</a></td></tr>
<tr class="separator:a28b0b01ad5a1999d39a0a03cf0c145a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeee74f6d6b8ba6c3cbb149e8678ff22"><td class="memItemLeft" align="right" valign="top">boost::beast::multi_buffer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#adeee74f6d6b8ba6c3cbb149e8678ff22">read_buf_</a></td></tr>
<tr class="separator:adeee74f6d6b8ba6c3cbb149e8678ff22"><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 class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00030">30</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="af2a877271fc33abaefcd7aa68d9050c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2a877271fc33abaefcd7aa68d9050c0">&#9670;&nbsp;</a></span>socket_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#af2a877271fc33abaefcd7aa68d9050c0">ripple::test::tx_reduce_relay_test::socket_type</a> = boost::asio::ip::tcp::socket</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00033">33</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a9a3a05f3e2b91625530437f43e5ec241"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a3a05f3e2b91625530437f43e5ec241">&#9670;&nbsp;</a></span>middle_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a9a3a05f3e2b91625530437f43e5ec241">ripple::test::tx_reduce_relay_test::middle_type</a> = boost::beast::tcp_stream</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00034">34</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="ac61a0165aaf8a9ccd5f6c2f43b807fd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac61a0165aaf8a9ccd5f6c2f43b807fd6">&#9670;&nbsp;</a></span>stream_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#ac61a0165aaf8a9ccd5f6c2f43b807fd6">ripple::test::tx_reduce_relay_test::stream_type</a> = boost::beast::ssl_stream&lt;<a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#a9a3a05f3e2b91625530437f43e5ec241">middle_type</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00035">35</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="afba935f45f518aabf9cd3ed64aab09f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afba935f45f518aabf9cd3ed64aab09f8">&#9670;&nbsp;</a></span>shared_context</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#afba935f45f518aabf9cd3ed64aab09f8">ripple::test::tx_reduce_relay_test::shared_context</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;boost::asio::ssl::context&gt;</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00036">36</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af624cda40dd8f959e1b874d0611c8955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af624cda40dd8f959e1b874d0611c8955">&#9670;&nbsp;</a></span>tx_reduce_relay_test()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::test::tx_reduce_relay_test::tx_reduce_relay_test </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00153">153</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a13548c221c573b096129053c50ead434"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13548c221c573b096129053c50ead434">&#9670;&nbsp;</a></span>doTest()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::test::tx_reduce_relay_test::doTest </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &amp;&#160;</td>
<td class="paramname"><em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>log</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; void(bool)&gt;&#160;</td>
<td class="paramname"><em>f</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00040">40</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a530e0d78db55737f7b05e99af5dedb34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a530e0d78db55737f7b05e99af5dedb34">&#9670;&nbsp;</a></span>testConfig()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::test::tx_reduce_relay_test::testConfig </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>log</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00047">47</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a4337a4227170e18714d44e0995ad1de5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4337a4227170e18714d44e0995ad1de5">&#9670;&nbsp;</a></span>addPeer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::test::tx_reduce_relay_test::addPeer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1test_1_1jtx_1_1Env.html">jtx::Env</a> &amp;&#160;</td>
<td class="paramname"><em>env</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test_1_1PeerTest.html">PeerTest</a> &gt;&gt; &amp;&#160;</td>
<td class="paramname"><em>peers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a> &amp;&#160;</td>
<td class="paramname"><em>nDisabled</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00160">160</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a051d4e26e1050b71288e4239b371c055"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a051d4e26e1050b71288e4239b371c055">&#9670;&nbsp;</a></span>testRelay()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::test::tx_reduce_relay_test::testRelay </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>test</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>txRREnabled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>nPeers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>nDisabled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>minPeers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>relayPercentage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>expectRelay</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint16_t</a>&#160;</td>
<td class="paramname"><em>expectQueue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set</a>&lt; <a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">Peer::id_t</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>toSkip</em> = <code>{}</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00200">200</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="ad6ef89670e7271284a99b29480dd3a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6ef89670e7271284a99b29480dd3a33">&#9670;&nbsp;</a></span>run()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::test::tx_reduce_relay_test::run </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00233">233</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae3d405bde4503426807119e8e032e3dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3d405bde4503426807119e8e032e3dc">&#9670;&nbsp;</a></span>lid_</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::uint16_t</a> ripple::test::tx_reduce_relay_test::lid_ {0}</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00146">146</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a999787b86216dbcc4c054218c580be33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999787b86216dbcc4c054218c580be33">&#9670;&nbsp;</a></span>rid_</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::uint16_t</a> ripple::test::tx_reduce_relay_test::rid_ {1}</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00147">147</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a43a7499e0048172096f47092bf9fc7d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43a7499e0048172096f47092bf9fc7d7">&#9670;&nbsp;</a></span>context_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1test_1_1tx__reduce__relay__test.html#afba935f45f518aabf9cd3ed64aab09f8">shared_context</a> ripple::test::tx_reduce_relay_test::context_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00148">148</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="a28b0b01ad5a1999d39a0a03cf0c145a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28b0b01ad5a1999d39a0a03cf0c145a9">&#9670;&nbsp;</a></span>protocolVersion_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a115d5c8fd15fe92c47231fee7fad7c7c">ProtocolVersion</a> ripple::test::tx_reduce_relay_test::protocolVersion_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00149">149</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
<a id="adeee74f6d6b8ba6c3cbb149e8678ff22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeee74f6d6b8ba6c3cbb149e8678ff22">&#9670;&nbsp;</a></span>read_buf_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">boost::beast::multi_buffer ripple::test::tx_reduce_relay_test::read_buf_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tx__reduce__relay__test_8cpp_source.html#l00150">150</a> of file <a class="el" href="tx__reduce__relay__test_8cpp_source.html">tx_reduce_relay_test.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>