mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 17:35:51 +00:00
453 lines
27 KiB
HTML
453 lines
27 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::RCLCensorshipDetector< TxID, Sequence > Class Template 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&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&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="classripple_1_1RCLCensorshipDetector.html">RCLCensorshipDetector</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="#friends">Friends</a> |
|
|
<a href="classripple_1_1RCLCensorshipDetector-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">ripple::RCLCensorshipDetector< TxID, Sequence > Class Template Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::RCLCensorshipDetector< TxID, Sequence >:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1RCLCensorshipDetector__coll__graph.png" border="0" usemap="#aripple_1_1RCLCensorshipDetector_3_01TxID_00_01Sequence_01_4_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aripple_1_1RCLCensorshipDetector_3_01TxID_00_01Sequence_01_4_coll__map" id="aripple_1_1RCLCensorshipDetector_3_01TxID_00_01Sequence_01_4_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="5,504,225,544"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="28,416,203,441"/>
|
|
<area shape="poly" title=" " alt="" coords="118,455,118,504,113,504,113,455"/>
|
|
<area shape="rect" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html" title=" " alt="" coords="5,313,225,353"/>
|
|
<area shape="poly" title=" " alt="" coords="118,367,118,416,113,416,113,367"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32-bits." alt="" coords="45,211,186,251"/>
|
|
<area shape="poly" title=" " alt="" coords="118,265,118,313,113,313,113,265"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="14,101,102,126"/>
|
|
<area shape="poly" title=" " alt="" coords="72,137,108,209,103,212,68,140"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="126,93,294,133"/>
|
|
<area shape="poly" title=" " alt="" coords="187,146,133,212,129,209,183,143"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="159,5,261,31"/>
|
|
<area shape="poly" title=" " alt="" coords="213,44,213,93,207,93,207,44"/>
|
|
</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 id="nested-classes" name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:a85a5931432c15215a435f24dc73fdfa9" id="r_a85a5931432c15215a435f24dc73fdfa9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a85a5931432c15215a435f24dc73fdfa9">TxIDSeqVec</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> ></td></tr>
|
|
<tr class="separator:a85a5931432c15215a435f24dc73fdfa9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a837b35e793c1035827061f0d4b909202" id="r_a837b35e793c1035827061f0d4b909202"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a837b35e793c1035827061f0d4b909202">RCLCensorshipDetector</a> ()=default</td></tr>
|
|
<tr class="separator:a837b35e793c1035827061f0d4b909202"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad74e1a8f0ea20777d353728ee2d5fecd" id="r_ad74e1a8f0ea20777d353728ee2d5fecd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#ad74e1a8f0ea20777d353728ee2d5fecd">propose</a> (<a class="el" href="classripple_1_1RCLCensorshipDetector.html#a85a5931432c15215a435f24dc73fdfa9">TxIDSeqVec</a> proposed)</td></tr>
|
|
<tr class="memdesc:ad74e1a8f0ea20777d353728ee2d5fecd"><td class="mdescLeft"> </td><td class="mdescRight">Add transactions being proposed for the current consensus round. <br /></td></tr>
|
|
<tr class="separator:ad74e1a8f0ea20777d353728ee2d5fecd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac72e4a8aae732a74f354925196b92e82" id="r_ac72e4a8aae732a74f354925196b92e82"><td class="memTemplParams" colspan="2">template<class Predicate > </td></tr>
|
|
<tr class="memitem:ac72e4a8aae732a74f354925196b92e82"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#ac72e4a8aae732a74f354925196b92e82">check</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> > <a class="el" href="namespaceripple.html#a8a16d6f665a032453ec4cbfca01929b6a3e4d891a5df3d6d0d7dd9432a1bc6470">accepted</a>, Predicate &&pred)</td></tr>
|
|
<tr class="memdesc:ac72e4a8aae732a74f354925196b92e82"><td class="mdescLeft"> </td><td class="mdescRight">Determine which transactions made it and perform censorship detection. <br /></td></tr>
|
|
<tr class="separator:ac72e4a8aae732a74f354925196b92e82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a791b4d8bc5dfce6dc78f83075d01af1a" id="r_a791b4d8bc5dfce6dc78f83075d01af1a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a791b4d8bc5dfce6dc78f83075d01af1a">reset</a> ()</td></tr>
|
|
<tr class="memdesc:a791b4d8bc5dfce6dc78f83075d01af1a"><td class="mdescLeft"> </td><td class="mdescRight">Removes all elements from the tracker. <br /></td></tr>
|
|
<tr class="separator:a791b4d8bc5dfce6dc78f83075d01af1a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:a811c5ae66a62a90f0f7671ae7391159c" id="r_a811c5ae66a62a90f0f7671ae7391159c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a85a5931432c15215a435f24dc73fdfa9">TxIDSeqVec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a811c5ae66a62a90f0f7671ae7391159c">tracker_</a></td></tr>
|
|
<tr class="separator:a811c5ae66a62a90f0f7671ae7391159c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="friends" name="friends"></a>
|
|
Friends</h2></td></tr>
|
|
<tr class="memitem:aba36ef9439c95e518a9821ddd2317b11" id="r_aba36ef9439c95e518a9821ddd2317b11"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#aba36ef9439c95e518a9821ddd2317b11">operator<</a> (<a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const &lhs, <a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const &rhs)</td></tr>
|
|
<tr class="separator:aba36ef9439c95e518a9821ddd2317b11"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa619fe0d489474d3df1486d447aeb3ff" id="r_aa619fe0d489474d3df1486d447aeb3ff"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#aa619fe0d489474d3df1486d447aeb3ff">operator<</a> (<a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const &lhs, <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> const &rhs)</td></tr>
|
|
<tr class="separator:aa619fe0d489474d3df1486d447aeb3ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a417ef5e2f494c8e946d870cbf99f539c" id="r_a417ef5e2f494c8e946d870cbf99f539c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a417ef5e2f494c8e946d870cbf99f539c">operator<</a> (<a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> const &lhs, <a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const &rhs)</td></tr>
|
|
<tr class="separator:a417ef5e2f494c8e946d870cbf99f539c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><div class="compoundTemplParams">template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, class Sequence><br />
|
|
class ripple::RCLCensorshipDetector< TxID, Sequence ></div>
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00014">14</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a id="a85a5931432c15215a435f24dc73fdfa9" name="a85a5931432c15215a435f24dc73fdfa9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a85a5931432c15215a435f24dc73fdfa9">◆ </a></span>TxIDSeqVec</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::TxIDSeqVec = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a>></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00048">48</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a837b35e793c1035827061f0d4b909202" name="a837b35e793c1035827061f0d4b909202"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a837b35e793c1035827061f0d4b909202">◆ </a></span>RCLCensorshipDetector()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::RCLCensorshipDetector </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">default</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="ad74e1a8f0ea20777d353728ee2d5fecd" name="ad74e1a8f0ea20777d353728ee2d5fecd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad74e1a8f0ea20777d353728ee2d5fecd">◆ </a></span>propose()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::propose </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a85a5931432c15215a435f24dc73fdfa9">TxIDSeqVec</a> </td>
|
|
<td class="paramname"><em>proposed</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Add transactions being proposed for the current consensus round. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">proposed</td><td>The set of transactions that we are initially proposing for this round. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00062">62</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac72e4a8aae732a74f354925196b92e82" name="ac72e4a8aae732a74f354925196b92e82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac72e4a8aae732a74f354925196b92e82">◆ </a></span>check()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<div class="memtemplate">
|
|
template<class Predicate > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::check </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> > </td>
|
|
<td class="paramname"><em>accepted</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">Predicate && </td>
|
|
<td class="paramname"><em>pred</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Determine which transactions made it and perform censorship detection. </p>
|
|
<p>This function is called when the server is proposing and a consensus round it participated in completed.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">accepted</td><td>The set of transactions that the network agreed should be included in the ledger being built. </td></tr>
|
|
<tr><td class="paramname">pred</td><td>A predicate invoked for every transaction we've proposed but which hasn't yet made it. The predicate must be callable as: bool pred(TxID const&, Sequence) It must return true for entries that should be removed. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00094">94</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a791b4d8bc5dfce6dc78f83075d01af1a" name="a791b4d8bc5dfce6dc78f83075d01af1a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a791b4d8bc5dfce6dc78f83075d01af1a">◆ </a></span>reset()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::reset </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Removes all elements from the tracker. </p>
|
|
<p>Typically, this function might be called after we reconnect to the network following an outage, or after we start tracking the network. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00119">119</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Friends And Related Symbol Documentation</h2>
|
|
<a id="aba36ef9439c95e518a9821ddd2317b11" name="aba36ef9439c95e518a9821ddd2317b11"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aba36ef9439c95e518a9821ddd2317b11">◆ </a></span>operator< <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const & </td>
|
|
<td class="paramname"><em>lhs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const & </td>
|
|
<td class="paramname"><em>rhs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00028">28</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa619fe0d489474d3df1486d447aeb3ff" name="aa619fe0d489474d3df1486d447aeb3ff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa619fe0d489474d3df1486d447aeb3ff">◆ </a></span>operator< <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const & </td>
|
|
<td class="paramname"><em>lhs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> const & </td>
|
|
<td class="paramname"><em>rhs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00036">36</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a417ef5e2f494c8e946d870cbf99f539c" name="a417ef5e2f494c8e946d870cbf99f539c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a417ef5e2f494c8e946d870cbf99f539c">◆ </a></span>operator< <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool operator< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> const & </td>
|
|
<td class="paramname"><em>lhs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="structripple_1_1RCLCensorshipDetector_1_1TxIDSeq.html">TxIDSeq</a> const & </td>
|
|
<td class="paramname"><em>rhs</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="RCLCensorshipDetector_8h_source.html#l00042">42</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="a811c5ae66a62a90f0f7671ae7391159c" name="a811c5ae66a62a90f0f7671ae7391159c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a811c5ae66a62a90f0f7671ae7391159c">◆ </a></span>tracker_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a> , class Sequence > </div>
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1RCLCensorshipDetector.html#a85a5931432c15215a435f24dc73fdfa9">TxIDSeqVec</a> <a class="el" href="classripple_1_1RCLCensorshipDetector.html">ripple::RCLCensorshipDetector</a>< <a class="el" href="namespaceripple.html#a3f39560bfd60c64700b109c412e90f72">TxID</a>, Sequence >::tracker_</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="RCLCensorshipDetector_8h_source.html#l00051">51</a> of file <a class="el" href="RCLCensorshipDetector_8h_source.html">RCLCensorshipDetector.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <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>
|