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

1002 lines
52 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::TestPeer 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_1TestPeer.html">TestPeer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classripple_1_1test_1_1TestPeer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::test::TestPeer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Simulate a network peer.
<a href="classripple_1_1test_1_1TestPeer.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for ripple::test::TestPeer:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1test_1_1TestPeer__inherit__graph.png" border="0" usemap="#ripple_1_1test_1_1TestPeer_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1test_1_1TestPeer_inherit__map" id="ripple_1_1test_1_1TestPeer_inherit__map">
<area shape="rect" title="Simulate a network peer." alt="" coords="5,80,160,107"/>
<area shape="rect" href="classripple_1_1Peer.html" title="Represents a peer connection in the overlay." alt="" coords="35,5,131,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::test::TestPeer:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1test_1_1TestPeer__coll__graph.png" border="0" usemap="#ripple_1_1test_1_1TestPeer_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1test_1_1TestPeer_coll__map" id="ripple_1_1test_1_1TestPeer_coll__map">
<area shape="rect" title="Simulate a network peer." alt="" coords="5,80,160,107"/>
<area shape="rect" href="classripple_1_1Peer.html" title="Represents a peer connection in the overlay." alt="" coords="35,5,131,32"/>
</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="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a850dd8184743072d8c57febcc4d686ea"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Peer.html#a850dd8184743072d8c57febcc4d686ea">ptr</a> = <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_1Peer.html">Peer</a> &gt;</td></tr>
<tr class="separator:a850dd8184743072d8c57febcc4d686ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56cc3cdd9c73921f23cb43a2bfa696a1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">id_t</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></td></tr>
<tr class="memdesc:a56cc3cdd9c73921f23cb43a2bfa696a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uniquely identifies a peer. <a href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">More...</a><br /></td></tr>
<tr class="separator:a56cc3cdd9c73921f23cb43a2bfa696a1"><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:a3b4e4157bd2e5e17221a01e06d520070"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a3b4e4157bd2e5e17221a01e06d520070">TestPeer</a> (bool enableLedgerReplay)</td></tr>
<tr class="separator:a3b4e4157bd2e5e17221a01e06d520070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49a0c65115d326e7fbd38be43a800f8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a49a0c65115d326e7fbd38be43a800f8d">send</a> (<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_1Message.html">Message</a> &gt; const &amp;m) override</td></tr>
<tr class="separator:a49a0c65115d326e7fbd38be43a800f8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31b518b004fd1fa0d597036180f21a5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a31b518b004fd1fa0d597036180f21a5b">getRemoteAddress</a> () const override</td></tr>
<tr class="separator:a31b518b004fd1fa0d597036180f21a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ab88c7aa2fb32a5055e5b827054bda4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a8ab88c7aa2fb32a5055e5b827054bda4">charge</a> (<a class="el" href="classripple_1_1Resource_1_1Charge.html">Resource::Charge</a> const &amp;<a class="el" href="classripple_1_1test_1_1jtx_1_1fee.html">fee</a>) override</td></tr>
<tr class="memdesc:a8ab88c7aa2fb32a5055e5b827054bda4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust this peer's load balance based on the type of load imposed. <a href="classripple_1_1test_1_1TestPeer.html#a8ab88c7aa2fb32a5055e5b827054bda4">More...</a><br /></td></tr>
<tr class="separator:a8ab88c7aa2fb32a5055e5b827054bda4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71506ecf36760b766e81a453df84e91a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a71506ecf36760b766e81a453df84e91a">id</a> () const override</td></tr>
<tr class="separator:a71506ecf36760b766e81a453df84e91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088d1200aef40cbe192d1af3521ecbf8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a088d1200aef40cbe192d1af3521ecbf8">cluster</a> () const override</td></tr>
<tr class="memdesc:a088d1200aef40cbe192d1af3521ecbf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if this connection is a member of the cluster. <a href="classripple_1_1test_1_1TestPeer.html#a088d1200aef40cbe192d1af3521ecbf8">More...</a><br /></td></tr>
<tr class="separator:a088d1200aef40cbe192d1af3521ecbf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c0bccd0f4de860c3bffc56679d40906"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a9c0bccd0f4de860c3bffc56679d40906">isHighLatency</a> () const override</td></tr>
<tr class="separator:a9c0bccd0f4de860c3bffc56679d40906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4314928c05d1c7643c057d3cd664b6ab"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a4314928c05d1c7643c057d3cd664b6ab">getScore</a> (bool) const override</td></tr>
<tr class="separator:a4314928c05d1c7643c057d3cd664b6ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a301b593074c4a4ca47b722d1b0fadeb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a301b593074c4a4ca47b722d1b0fadeb2">getNodePublic</a> () const override</td></tr>
<tr class="separator:a301b593074c4a4ca47b722d1b0fadeb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ba2e4da830701d38b324e9c43c4176"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Value.html">Json::Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a48ba2e4da830701d38b324e9c43c4176">json</a> () override</td></tr>
<tr class="separator:a48ba2e4da830701d38b324e9c43c4176"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7b4733583f33b9d1df1a6dca0348e94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#af7b4733583f33b9d1df1a6dca0348e94">supportsFeature</a> (<a class="el" href="namespaceripple.html#a3b423ad1ba6341f945c08c13fe141150">ProtocolFeature</a> f) const override</td></tr>
<tr class="separator:af7b4733583f33b9d1df1a6dca0348e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a089a7f15cfbf68aebcbb19e1eb763972"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a089a7f15cfbf68aebcbb19e1eb763972">publisherListSequence</a> (<a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &amp;) const override</td></tr>
<tr class="separator:a089a7f15cfbf68aebcbb19e1eb763972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d59279bad263057859ce449fd1616b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a07d59279bad263057859ce449fd1616b">setPublisherListSequence</a> (<a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &amp;, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const) override</td></tr>
<tr class="separator:a07d59279bad263057859ce449fd1616b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08580ae6c07807e3b0d70a480e653a67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a08580ae6c07807e3b0d70a480e653a67">getClosedLedgerHash</a> () const override</td></tr>
<tr class="separator:a08580ae6c07807e3b0d70a480e653a67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a021a8599de198786f1dc71901cdf1e1f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a021a8599de198786f1dc71901cdf1e1f">hasLedger</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="el" href="structripple_1_1test_1_1jtx_1_1seq.html">seq</a>) const override</td></tr>
<tr class="separator:a021a8599de198786f1dc71901cdf1e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638f128c9c0f62f23d22bd41e2f97eaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a638f128c9c0f62f23d22bd41e2f97eaa">ledgerRange</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &amp;minSeq, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &amp;maxSeq) const override</td></tr>
<tr class="separator:a638f128c9c0f62f23d22bd41e2f97eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6226f36aadeba23415ab0acc8be6670"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#aa6226f36aadeba23415ab0acc8be6670">hasTxSet</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;hash) const override</td></tr>
<tr class="separator:aa6226f36aadeba23415ab0acc8be6670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8332ea46a4f78f11378b128d729e72cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a8332ea46a4f78f11378b128d729e72cd">cycleStatus</a> () override</td></tr>
<tr class="separator:a8332ea46a4f78f11378b128d729e72cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab3b4b097662cd5f9ec0bfc2041bb10"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#aeab3b4b097662cd5f9ec0bfc2041bb10">hasRange</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> uMin, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> uMax) override</td></tr>
<tr class="separator:aeab3b4b097662cd5f9ec0bfc2041bb10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6b951a8134eac2f989056efb31bb7e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#ae6b951a8134eac2f989056efb31bb7e2">compressionEnabled</a> () const override</td></tr>
<tr class="separator:ae6b951a8134eac2f989056efb31bb7e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9564cc1d134445c828262c31371d115"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#af9564cc1d134445c828262c31371d115">sendTxQueue</a> () override</td></tr>
<tr class="memdesc:af9564cc1d134445c828262c31371d115"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send aggregated transactions' hashes. <a href="classripple_1_1test_1_1TestPeer.html#af9564cc1d134445c828262c31371d115">More...</a><br /></td></tr>
<tr class="separator:af9564cc1d134445c828262c31371d115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7fff7d3f7018080efe29cca5d8eba11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#aa7fff7d3f7018080efe29cca5d8eba11">addTxQueue</a> (const <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &amp;) override</td></tr>
<tr class="memdesc:aa7fff7d3f7018080efe29cca5d8eba11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Aggregate transaction's hash. <a href="classripple_1_1test_1_1TestPeer.html#aa7fff7d3f7018080efe29cca5d8eba11">More...</a><br /></td></tr>
<tr class="separator:aa7fff7d3f7018080efe29cca5d8eba11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a391311e2939da285e6502c94d9f1c01a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a391311e2939da285e6502c94d9f1c01a">removeTxQueue</a> (const <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &amp;) override</td></tr>
<tr class="memdesc:a391311e2939da285e6502c94d9f1c01a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove hash from the transactions' hashes queue. <a href="classripple_1_1test_1_1TestPeer.html#a391311e2939da285e6502c94d9f1c01a">More...</a><br /></td></tr>
<tr class="separator:a391311e2939da285e6502c94d9f1c01a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86cd77871fad7677f30757f903357ae2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a86cd77871fad7677f30757f903357ae2">txReduceRelayEnabled</a> () const override</td></tr>
<tr class="separator:a86cd77871fad7677f30757f903357ae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a69752edc130b66cf2ec1fb93043882ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1test_1_1TestPeer.html#a69752edc130b66cf2ec1fb93043882ee">ledgerReplayEnabled_</a></td></tr>
<tr class="separator:a69752edc130b66cf2ec1fb93043882ee"><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>Simulate a network peer. </p>
<p>Depending on the configured PeerFeature, it either supports the <a class="el" href="namespaceripple.html#a3b423ad1ba6341f945c08c13fe141150a955e673a299bbf8322d01b7b5e88be4e">ProtocolFeature::LedgerReplay</a> or not </p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00191">191</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a850dd8184743072d8c57febcc4d686ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a850dd8184743072d8c57febcc4d686ea">&#9670;&nbsp;</a></span>ptr</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1Peer.html#a850dd8184743072d8c57febcc4d686ea">ripple::Peer::ptr</a> = <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_1Peer.html">Peer</a>&gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="ripple_2overlay_2Peer_8h_source.html#l00048">48</a> of file <a class="el" href="ripple_2overlay_2Peer_8h_source.html">ripple/overlay/Peer.h</a>.</p>
</div>
</div>
<a id="a56cc3cdd9c73921f23cb43a2bfa696a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56cc3cdd9c73921f23cb43a2bfa696a1">&#9670;&nbsp;</a></span>id_t</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">ripple::Peer::id_t</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Uniquely identifies a peer. </p>
<p>This can be stored in tables to find the peer later. Callers can discover if the peer is no longer connected and make adjustments as needed. </p>
<p class="definition">Definition at line <a class="el" href="ripple_2overlay_2Peer_8h_source.html#l00055">55</a> of file <a class="el" href="ripple_2overlay_2Peer_8h_source.html">ripple/overlay/Peer.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3b4e4157bd2e5e17221a01e06d520070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b4e4157bd2e5e17221a01e06d520070">&#9670;&nbsp;</a></span>TestPeer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::test::TestPeer::TestPeer </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>enableLedgerReplay</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00194">194</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a49a0c65115d326e7fbd38be43a800f8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49a0c65115d326e7fbd38be43a800f8d">&#9670;&nbsp;</a></span>send()</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::TestPeer::send </td>
<td>(</td>
<td class="paramtype"><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_1Message.html">Message</a> &gt; const &amp;&#160;</td>
<td class="paramname"><em>m</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a3c89dbf867ba814f0bf2417757d5a0f4">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00199">199</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a31b518b004fd1fa0d597036180f21a5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31b518b004fd1fa0d597036180f21a5b">&#9670;&nbsp;</a></span>getRemoteAddress()</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="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a> ripple::test::TestPeer::getRemoteAddress </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a35b25d5a662db9a534ac4a972a8ba6b3">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00203">203</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a8ab88c7aa2fb32a5055e5b827054bda4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ab88c7aa2fb32a5055e5b827054bda4">&#9670;&nbsp;</a></span>charge()</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::TestPeer::charge </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Resource_1_1Charge.html">Resource::Charge</a> const &amp;&#160;</td>
<td class="paramname"><em>fee</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Adjust this peer's load balance based on the type of load imposed. </p>
<p>Implements <a class="el" href="classripple_1_1Peer.html#a6fb081a4c8492b9891bff272041541ab">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00208">208</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a71506ecf36760b766e81a453df84e91a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71506ecf36760b766e81a453df84e91a">&#9670;&nbsp;</a></span>id()</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_1Peer.html#a56cc3cdd9c73921f23cb43a2bfa696a1">id_t</a> ripple::test::TestPeer::id </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#aee121254a095838be2d8040bfdfacc79">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00212">212</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a088d1200aef40cbe192d1af3521ecbf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a088d1200aef40cbe192d1af3521ecbf8">&#9670;&nbsp;</a></span>cluster()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::cluster </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if this connection is a member of the cluster. </p>
<p>Implements <a class="el" href="classripple_1_1Peer.html#a8a547a67289ee47e4998117c1ea38fe9">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00217">217</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a9c0bccd0f4de860c3bffc56679d40906"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c0bccd0f4de860c3bffc56679d40906">&#9670;&nbsp;</a></span>isHighLatency()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::isHighLatency </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a03de12036ac5466b0b01a26e2ef0e729">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00222">222</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a4314928c05d1c7643c057d3cd664b6ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4314928c05d1c7643c057d3cd664b6ab">&#9670;&nbsp;</a></span>getScore()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ripple::test::TestPeer::getScore </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a25952c97b91516972a84da5dac619f96">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00227">227</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a301b593074c4a4ca47b722d1b0fadeb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a301b593074c4a4ca47b722d1b0fadeb2">&#9670;&nbsp;</a></span>getNodePublic()</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_1PublicKey.html">PublicKey</a> const&amp; ripple::test::TestPeer::getNodePublic </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a262044337e374e312d5334458d937484">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00232">232</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a48ba2e4da830701d38b324e9c43c4176"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48ba2e4da830701d38b324e9c43c4176">&#9670;&nbsp;</a></span>json()</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="classJson_1_1Value.html">Json::Value</a> ripple::test::TestPeer::json </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a3a7b97f3e4307066f4e0a6abc9f9be35">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00238">238</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="af7b4733583f33b9d1df1a6dca0348e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7b4733583f33b9d1df1a6dca0348e94">&#9670;&nbsp;</a></span>supportsFeature()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::supportsFeature </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a3b423ad1ba6341f945c08c13fe141150">ProtocolFeature</a>&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a1781d176803366238413407a0815124a">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00243">243</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a089a7f15cfbf68aebcbb19e1eb763972"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a089a7f15cfbf68aebcbb19e1eb763972">&#9670;&nbsp;</a></span>publisherListSequence()</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/utility/optional.html">std::optional</a>&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&gt; ripple::test::TestPeer::publisherListSequence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#af1ca96d5fb66c617c63b54fccff8246f">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00250">250</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a07d59279bad263057859ce449fd1616b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d59279bad263057859ce449fd1616b">&#9670;&nbsp;</a></span>setPublisherListSequence()</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::TestPeer::setPublisherListSequence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1PublicKey.html">PublicKey</a> const &amp;&#160;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const&#160;</td>
<td class="paramname">&#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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#adc1069de1a8a5ff1364003caf00bb139">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00255">255</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a08580ae6c07807e3b0d70a480e653a67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08580ae6c07807e3b0d70a480e653a67">&#9670;&nbsp;</a></span>getClosedLedgerHash()</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#a356c68147333a9a48a344718038576d9">uint256</a> const&amp; ripple::test::TestPeer::getClosedLedgerHash </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a7be0fe54e7f2f72ddc0ec749122b8d10">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00259">259</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a021a8599de198786f1dc71901cdf1e1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a021a8599de198786f1dc71901cdf1e1f">&#9670;&nbsp;</a></span>hasLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::hasLedger </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>hash</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::uint32_t</a>&#160;</td>
<td class="paramname"><em>seq</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a855aa29a52d98979b211ff765dbc542a">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00265">265</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a638f128c9c0f62f23d22bd41e2f97eaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638f128c9c0f62f23d22bd41e2f97eaa">&#9670;&nbsp;</a></span>ledgerRange()</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::TestPeer::ledgerRange </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &amp;&#160;</td>
<td class="paramname"><em>minSeq</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::uint32_t</a> &amp;&#160;</td>
<td class="paramname"><em>maxSeq</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#ac03dabc3ec86db62e3d1ea827ab0d0fa">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00270">270</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="aa6226f36aadeba23415ab0acc8be6670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6226f36aadeba23415ab0acc8be6670">&#9670;&nbsp;</a></span>hasTxSet()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::hasTxSet </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>hash</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#adc8cbc6f94f2122808ed21ac217f18fa">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00274">274</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a8332ea46a4f78f11378b128d729e72cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8332ea46a4f78f11378b128d729e72cd">&#9670;&nbsp;</a></span>cycleStatus()</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::TestPeer::cycleStatus </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a580e873a73a8000e6bdba97a2a37b9e0">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00279">279</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="aeab3b4b097662cd5f9ec0bfc2041bb10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeab3b4b097662cd5f9ec0bfc2041bb10">&#9670;&nbsp;</a></span>hasRange()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::hasRange </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>uMin</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::uint32_t</a>&#160;</td>
<td class="paramname"><em>uMax</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">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a95b02bf56c4332da48e7e0bc503a0d43">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00283">283</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="ae6b951a8134eac2f989056efb31bb7e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6b951a8134eac2f989056efb31bb7e2">&#9670;&nbsp;</a></span>compressionEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::compressionEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a574a942c5ee778c1b795b5ca65292821">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00288">288</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="af9564cc1d134445c828262c31371d115"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9564cc1d134445c828262c31371d115">&#9670;&nbsp;</a></span>sendTxQueue()</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::TestPeer::sendTxQueue </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Send aggregated transactions' hashes. </p>
<p>Implements <a class="el" href="classripple_1_1Peer.html#a9cec6a68be4e99382787eec3571a36b4">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00293">293</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="aa7fff7d3f7018080efe29cca5d8eba11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7fff7d3f7018080efe29cca5d8eba11">&#9670;&nbsp;</a></span>addTxQueue()</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::TestPeer::addTxQueue </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &amp;&#160;</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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Aggregate transaction's hash. </p>
<p>Implements <a class="el" href="classripple_1_1Peer.html#a910dd384abd01647432192b7e05b3748">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00297">297</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a391311e2939da285e6502c94d9f1c01a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a391311e2939da285e6502c94d9f1c01a">&#9670;&nbsp;</a></span>removeTxQueue()</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::TestPeer::removeTxQueue </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> &amp;&#160;</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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Remove hash from the transactions' hashes queue. </p>
<p>Implements <a class="el" href="classripple_1_1Peer.html#ac4df87634b8bfedbdb69edcd11fee6a1">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00301">301</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<a id="a86cd77871fad7677f30757f903357ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86cd77871fad7677f30757f903357ae2">&#9670;&nbsp;</a></span>txReduceRelayEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::txReduceRelayEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implements <a class="el" href="classripple_1_1Peer.html#a0cb56d7585b19a684f6476830125b835">ripple::Peer</a>.</p>
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00305">305</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_test.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a69752edc130b66cf2ec1fb93043882ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69752edc130b66cf2ec1fb93043882ee">&#9670;&nbsp;</a></span>ledgerReplayEnabled_</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::test::TestPeer::ledgerReplayEnabled_</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="LedgerReplay__test_8cpp_source.html#l00310">310</a> of file <a class="el" href="LedgerReplay__test_8cpp_source.html">LedgerReplay_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>