Files
rippled/ShardVerificationScheduler_8h_source.html
2023-06-23 17:23:43 +00:00

181 lines
25 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: ShardVerificationScheduler.h Source File</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="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_f4afb74df24474efa0cc7e8ea3ddd5ce.html">rpc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ShardVerificationScheduler.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2020 Ripple Labs Inc.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef RIPPLE_RPC_SHARDVERIFICATIONSCHEDULER_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_RPC_SHARDVERIFICATIONSCHEDULER_H_INCLUDED</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/app/main/Application.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a>&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">namespace </span>RPC {</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html"> 29</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html">ShardVerificationScheduler</a></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// This is the signature of the function that the client</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="comment">// wants to have invoked upon timer expiration. The function</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// should check the error code &#39;ec&#39; and abort the function</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="comment">// if the timer was cancelled:</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="comment">// (ec == boost::asio::error::operation_aborted).</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="comment">// In the body of the function, the client should perform</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="comment">// the necessary verification.</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">retryFunction</a> =</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#ac0b2a718d8b2e6f436349946848c6c66"> 40</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;void(boost::system::error_code <span class="keyword">const</span>&amp; ec)&gt;;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#ae0519c75d794573af6f6e54674d94f04">ShardVerificationScheduler</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#ae0519c75d794573af6f6e54674d94f04">ShardVerificationScheduler</a>(</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> retryInterval,</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> maxAttempts);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a399ba57d69fdfad772409c72361363fd">retry</a>(<a class="code" href="classripple_1_1Application.html">Application</a>&amp; app, <span class="keywordtype">bool</span> shouldHaveHash, <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">retryFunction</a> f);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a33b34d5ee1010717b41810e3413323f1">reset</a>();</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">using</span> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a6b6bc5ccd7969dcb71a208fa001e5778">waitable_timer</a> =</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a6b6bc5ccd7969dcb71a208fa001e5778"> 56</a></span>&#160; boost::asio::basic_waitable_timer&lt;std::chrono::steady_clock&gt;;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// NOTE: retryInterval_ and maxAttempts_ were chosen</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// semi-arbitrarily and experimenting with other</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">// values might prove useful.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a4b96ab5bcddb7b738edec54049820fc0"> 64</a></span>&#160; <span class="keyword">static</span> constexpr <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a4b96ab5bcddb7b738edec54049820fc0">defaultRetryInterval_</a>{60};</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#af875073cb8e1ba184b43662781c6539c"> 66</a></span>&#160; <span class="keyword">static</span> constexpr <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#af875073cb8e1ba184b43662781c6539c">defaultmaxAttempts_</a>{5};</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// The number of seconds to wait before retrying</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="comment">// retrieval of a shard&#39;s last ledger hash</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#abc235876e27eccc6c63584d232390f14"> 70</a></span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#abc235876e27eccc6c63584d232390f14">retryInterval_</a>{<a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a4b96ab5bcddb7b738edec54049820fc0">defaultRetryInterval_</a>};</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="comment">// Maximum attempts to retrieve a shard&#39;s last ledger hash</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a0bc1ba9bf597f9af68cd09d41c225b7f"> 73</a></span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a0bc1ba9bf597f9af68cd09d41c225b7f">maxAttempts_</a>{<a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#af875073cb8e1ba184b43662781c6539c">defaultmaxAttempts_</a>};</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a40022095eeb4708e02bf736a0a9e5cc0"> 75</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;waitable_timer&gt;</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a40022095eeb4708e02bf736a0a9e5cc0">timer_</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// Number of attempts to retrieve a shard&#39;s last ledger hash</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#afc775e38954e00b76a1e268740b5fa1e"> 78</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#afc775e38954e00b76a1e268740b5fa1e">numAttempts_</a>{0};</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;};</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;} <span class="comment">// namespace RPC</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#endif // RIPPLE_RPC_SHARDVERIFICATIONSCHEDULER_H_INCLUDED</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition:</b> <a href="Application_8h_source.html#l00116">Application.h:116</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_ae0519c75d794573af6f6e54674d94f04"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#ae0519c75d794573af6f6e54674d94f04">ripple::RPC::ShardVerificationScheduler::ShardVerificationScheduler</a></div><div class="ttdeci">ShardVerificationScheduler()=default</div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a4b96ab5bcddb7b738edec54049820fc0"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a4b96ab5bcddb7b738edec54049820fc0">ripple::RPC::ShardVerificationScheduler::defaultRetryInterval_</a></div><div class="ttdeci">static constexpr std::chrono::seconds defaultRetryInterval_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00064">ShardVerificationScheduler.h:64</a></div></div>
<div class="ttc" id="afunctional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/functional.html">functional</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a33b34d5ee1010717b41810e3413323f1"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a33b34d5ee1010717b41810e3413323f1">ripple::RPC::ShardVerificationScheduler::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8cpp_source.html#l00062">ShardVerificationScheduler.cpp:62</a></div></div>
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a40022095eeb4708e02bf736a0a9e5cc0"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a40022095eeb4708e02bf736a0a9e5cc0">ripple::RPC::ShardVerificationScheduler::timer_</a></div><div class="ttdeci">std::unique_ptr&lt; waitable_timer &gt; timer_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00075">ShardVerificationScheduler.h:75</a></div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a6b6bc5ccd7969dcb71a208fa001e5778"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a6b6bc5ccd7969dcb71a208fa001e5778">ripple::RPC::ShardVerificationScheduler::waitable_timer</a></div><div class="ttdeci">boost::asio::basic_waitable_timer&lt; std::chrono::steady_clock &gt; waitable_timer</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00056">ShardVerificationScheduler.h:56</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a0bc1ba9bf597f9af68cd09d41c225b7f"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a0bc1ba9bf597f9af68cd09d41c225b7f">ripple::RPC::ShardVerificationScheduler::maxAttempts_</a></div><div class="ttdeci">const std::uint32_t maxAttempts_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00073">ShardVerificationScheduler.h:73</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_a399ba57d69fdfad772409c72361363fd"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#a399ba57d69fdfad772409c72361363fd">ripple::RPC::ShardVerificationScheduler::retry</a></div><div class="ttdeci">bool retry(Application &amp;app, bool shouldHaveHash, retryFunction f)</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8cpp_source.html#l00037">ShardVerificationScheduler.cpp:37</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html">ripple::RPC::ShardVerificationScheduler</a></div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00029">ShardVerificationScheduler.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_abc235876e27eccc6c63584d232390f14"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#abc235876e27eccc6c63584d232390f14">ripple::RPC::ShardVerificationScheduler::retryInterval_</a></div><div class="ttdeci">const std::chrono::seconds retryInterval_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00070">ShardVerificationScheduler.h:70</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_af875073cb8e1ba184b43662781c6539c"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#af875073cb8e1ba184b43662781c6539c">ripple::RPC::ShardVerificationScheduler::defaultmaxAttempts_</a></div><div class="ttdeci">static constexpr std::uint32_t defaultmaxAttempts_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00066">ShardVerificationScheduler.h:66</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt; waitable_timer &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1RPC_1_1ShardVerificationScheduler_html_afc775e38954e00b76a1e268740b5fa1e"><div class="ttname"><a href="classripple_1_1RPC_1_1ShardVerificationScheduler.html#afc775e38954e00b76a1e268740b5fa1e">ripple::RPC::ShardVerificationScheduler::numAttempts_</a></div><div class="ttdeci">std::uint32_t numAttempts_</div><div class="ttdef"><b>Definition:</b> <a href="ShardVerificationScheduler_8h_source.html#l00078">ShardVerificationScheduler.h:78</a></div></div>
<!-- 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>