mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-01 20:45:22 +00:00
190 lines
25 KiB
HTML
190 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" 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: Basics_test.cpp 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 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>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- 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="dir_120ed4da3e3217b1e7fc0b4f48568e79.html">test</a></li><li class="navelem"><a class="el" href="dir_dfcebd9d0776d19b63297011168b92d5.html">nodestore</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">Basics_test.cpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include <test/nodestore/TestBase.h></span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <xrpl/nodestore/detail/DecodedBlob.h></span></div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpl/nodestore/detail/EncodedBlob.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keyword">namespace </span>NodeStore {</div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment">// Tests predictable batches, and NodeObject blob encoding</span></div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">//</span></div>
|
|
<div class="foldopen" id="foldopen00011" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html"> 11</a></span><span class="keyword">class </span><a class="code hl_class" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html">NodeStoreBasic_test</a> : <span class="keyword">public</span> <a class="code hl_class" href="classxrpl_1_1NodeStore_1_1TestBase.html">TestBase</a></div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span>{</div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">public</span>:</div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// Make sure predictable object generation works!</span></div>
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00016" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7fc7528bcbb1871b65ccc868c3e6a176"> 16</a></span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7fc7528bcbb1871b65ccc868c3e6a176">testBatches</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> <span class="keyword">const</span> seedValue)</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> {</div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <a class="code hl_variable" href="classbeast_1_1unit__test_1_1suite.html#aaa1237d9b85c69d35fe86645cee094b5">testcase</a>(<span class="stringliteral">"batch"</span>);</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">auto</span> batch1 = <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#acfa9ecf678317a0377a683cd7e5162e3">createPredictableBatch</a>(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1TestBase.html#a67af75358f141da4f79e493286d11eb0">numObjectsToTest</a>, seedValue);</div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">auto</span> batch2 = <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#acfa9ecf678317a0377a683cd7e5162e3">createPredictableBatch</a>(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1TestBase.html#a67af75358f141da4f79e493286d11eb0">numObjectsToTest</a>, seedValue);</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> BEAST_EXPECT(<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#a000740858309be043005e0737856106b">areBatchesEqual</a>(batch1, batch2));</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">auto</span> batch3 = <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#acfa9ecf678317a0377a683cd7e5162e3">createPredictableBatch</a>(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1TestBase.html#a67af75358f141da4f79e493286d11eb0">numObjectsToTest</a>, seedValue + 1);</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> BEAST_EXPECT(!<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#a000740858309be043005e0737856106b">areBatchesEqual</a>(batch1, batch3));</div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// Checks encoding/decoding blobs</span></div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00033" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7b15bdcfc1ac816359dd620375ba434d"> 33</a></span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7b15bdcfc1ac816359dd620375ba434d">testBlobs</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> <span class="keyword">const</span> seedValue)</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> {</div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_variable" href="classbeast_1_1unit__test_1_1suite.html#aaa1237d9b85c69d35fe86645cee094b5">testcase</a>(<span class="stringliteral">"encoding"</span>);</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">auto</span> <a class="code hl_enumvalue" href="namespacexrpl.html#ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11">batch</a> = <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1TestBase.html#acfa9ecf678317a0377a683cd7e5162e3">createPredictableBatch</a>(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1TestBase.html#a67af75358f141da4f79e493286d11eb0">numObjectsToTest</a>, seedValue);</div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code hl_enumvalue" href="namespacexrpl.html#ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11">batch</a>.size(); ++i)</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> {</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_class" href="classxrpl_1_1NodeStore_1_1EncodedBlob.html">EncodedBlob</a> encoded(<a class="code hl_enumvalue" href="namespacexrpl.html#ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11">batch</a>[i]);</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_class" href="classxrpl_1_1NodeStore_1_1DecodedBlob.html">DecodedBlob</a> decoded(encoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#a22b219a24fcd7608220361b9a0f03aae">getKey</a>(), encoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#aad370b7aba2e02513958faed6f7954d9">getData</a>(), encoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#a71cb2e9da087f417555a176dbb93b9db">getSize</a>());</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> BEAST_EXPECT(decoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DecodedBlob.html#af76e997eafd82f5c7acbb54e3505f9b1">wasOk</a>());</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">if</span> (decoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DecodedBlob.html#af76e997eafd82f5c7acbb54e3505f9b1">wasOk</a>())</div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> {</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> <span class="keyword">const</span> object(decoded.<a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DecodedBlob.html#a14c3c4eaafe9961618efbd8ec62e61ee">createObject</a>());</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> BEAST_EXPECT(<a class="code hl_function" href="namespacexrpl_1_1NodeStore.html#a2d0fb835db21cafe3cc1128adf6e4411">isSame</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11">batch</a>[i], <span class="keywordtype">object</span>));</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> }</div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> }</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span></div>
|
|
<div class="foldopen" id="foldopen00057" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a81c2bcf18087b938d5da2183849056e0"> 57</a></span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a81c2bcf18087b938d5da2183849056e0">run</a>()<span class="keyword"> override</span></div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="keyword"> </span>{</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> <span class="keyword">const</span> seedValue = 50;</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7fc7528bcbb1871b65ccc868c3e6a176">testBatches</a>(seedValue);</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7b15bdcfc1ac816359dd620375ba434d">testBlobs</a>(seedValue);</div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span>};</div>
|
|
</div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="namespacexrpl_1_1NodeStore.html#a23aad738b5fb00b735c3f81752ff55bd"> 67</a></span>BEAST_DEFINE_TESTSUITE(NodeStoreBasic, nodestore, <a class="code hl_namespace" href="namespacexrpl.html">xrpl</a>);</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span>} <span class="comment">// namespace NodeStore</span></div>
|
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span>} <span class="comment">// namespace xrpl</span></div>
|
|
<div class="ttc" id="aclassbeast_1_1unit__test_1_1suite_html_aaa1237d9b85c69d35fe86645cee094b5"><div class="ttname"><a href="classbeast_1_1unit__test_1_1suite.html#aaa1237d9b85c69d35fe86645cee094b5">beast::unit_test::suite::testcase</a></div><div class="ttdeci">testcase_t testcase</div><div class="ttdoc">Memberspace for declaring test cases.</div><div class="ttdef"><b>Definition</b> <a href="suite_8h_source.html#l00148">suite.h:148</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DecodedBlob_html"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DecodedBlob.html">xrpl::NodeStore::DecodedBlob</a></div><div class="ttdoc">Parsed key/value blob into NodeObject components.</div><div class="ttdef"><b>Definition</b> <a href="DecodedBlob_8h_source.html#l00019">DecodedBlob.h:20</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DecodedBlob_html_a14c3c4eaafe9961618efbd8ec62e61ee"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DecodedBlob.html#a14c3c4eaafe9961618efbd8ec62e61ee">xrpl::NodeStore::DecodedBlob::createObject</a></div><div class="ttdeci">std::shared_ptr< NodeObject > createObject()</div><div class="ttdoc">Create a NodeObject from this data.</div><div class="ttdef"><b>Definition</b> <a href="DecodedBlob_8cpp_source.html#l00055">DecodedBlob.cpp:55</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DecodedBlob_html_af76e997eafd82f5c7acbb54e3505f9b1"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DecodedBlob.html#af76e997eafd82f5c7acbb54e3505f9b1">xrpl::NodeStore::DecodedBlob::wasOk</a></div><div class="ttdeci">bool wasOk() const noexcept</div><div class="ttdoc">Determine if the decoding was successful.</div><div class="ttdef"><b>Definition</b> <a href="DecodedBlob_8h_source.html#l00027">DecodedBlob.h:27</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1EncodedBlob_html"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1EncodedBlob.html">xrpl::NodeStore::EncodedBlob</a></div><div class="ttdoc">Convert a NodeObject from in-memory to database format.</div><div class="ttdef"><b>Definition</b> <a href="EncodedBlob_8h_source.html#l00036">EncodedBlob.h:37</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1EncodedBlob_html_a22b219a24fcd7608220361b9a0f03aae"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#a22b219a24fcd7608220361b9a0f03aae">xrpl::NodeStore::EncodedBlob::getKey</a></div><div class="ttdeci">void const * getKey() const noexcept</div><div class="ttdef"><b>Definition</b> <a href="EncodedBlob_8h_source.html#l00090">EncodedBlob.h:90</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1EncodedBlob_html_a71cb2e9da087f417555a176dbb93b9db"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#a71cb2e9da087f417555a176dbb93b9db">xrpl::NodeStore::EncodedBlob::getSize</a></div><div class="ttdeci">std::size_t getSize() const noexcept</div><div class="ttdef"><b>Definition</b> <a href="EncodedBlob_8h_source.html#l00096">EncodedBlob.h:96</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1EncodedBlob_html_aad370b7aba2e02513958faed6f7954d9"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1EncodedBlob.html#aad370b7aba2e02513958faed6f7954d9">xrpl::NodeStore::EncodedBlob::getData</a></div><div class="ttdeci">void const * getData() const noexcept</div><div class="ttdef"><b>Definition</b> <a href="EncodedBlob_8h_source.html#l00102">EncodedBlob.h:102</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1NodeStoreBasic__test_html"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html">xrpl::NodeStore::NodeStoreBasic_test</a></div><div class="ttdef"><b>Definition</b> <a href="Basics__test_8cpp_source.html#l00011">Basics_test.cpp:12</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1NodeStoreBasic__test_html_a7b15bdcfc1ac816359dd620375ba434d"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7b15bdcfc1ac816359dd620375ba434d">xrpl::NodeStore::NodeStoreBasic_test::testBlobs</a></div><div class="ttdeci">void testBlobs(std::uint64_t const seedValue)</div><div class="ttdef"><b>Definition</b> <a href="Basics__test_8cpp_source.html#l00033">Basics_test.cpp:33</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1NodeStoreBasic__test_html_a7fc7528bcbb1871b65ccc868c3e6a176"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a7fc7528bcbb1871b65ccc868c3e6a176">xrpl::NodeStore::NodeStoreBasic_test::testBatches</a></div><div class="ttdeci">void testBatches(std::uint64_t const seedValue)</div><div class="ttdef"><b>Definition</b> <a href="Basics__test_8cpp_source.html#l00016">Basics_test.cpp:16</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1NodeStoreBasic__test_html_a81c2bcf18087b938d5da2183849056e0"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1NodeStoreBasic__test.html#a81c2bcf18087b938d5da2183849056e0">xrpl::NodeStore::NodeStoreBasic_test::run</a></div><div class="ttdeci">void run() override</div><div class="ttdoc">Runs the suite.</div><div class="ttdef"><b>Definition</b> <a href="Basics__test_8cpp_source.html#l00057">Basics_test.cpp:57</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1TestBase_html"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1TestBase.html">xrpl::NodeStore::TestBase</a></div><div class="ttdef"><b>Definition</b> <a href="TestBase_8h_source.html#l00046">TestBase.h:47</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1TestBase_html_a000740858309be043005e0737856106b"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1TestBase.html#a000740858309be043005e0737856106b">xrpl::NodeStore::TestBase::areBatchesEqual</a></div><div class="ttdeci">static bool areBatchesEqual(Batch const &lhs, Batch const &rhs)</div><div class="ttdef"><b>Definition</b> <a href="TestBase_8h_source.html#l00097">TestBase.h:97</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1TestBase_html_a67af75358f141da4f79e493286d11eb0"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1TestBase.html#a67af75358f141da4f79e493286d11eb0">xrpl::NodeStore::TestBase::numObjectsToTest</a></div><div class="ttdeci">static int const numObjectsToTest</div><div class="ttdef"><b>Definition</b> <a href="TestBase_8h_source.html#l00053">TestBase.h:53</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1TestBase_html_acfa9ecf678317a0377a683cd7e5162e3"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1TestBase.html#acfa9ecf678317a0377a683cd7e5162e3">xrpl::NodeStore::TestBase::createPredictableBatch</a></div><div class="ttdeci">static Batch createPredictableBatch(int numObjects, std::uint64_t seed)</div><div class="ttdef"><b>Definition</b> <a href="TestBase_8h_source.html#l00058">TestBase.h:58</a></div></div>
|
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_1_1NodeStore_html_a2d0fb835db21cafe3cc1128adf6e4411"><div class="ttname"><a href="namespacexrpl_1_1NodeStore.html#a2d0fb835db21cafe3cc1128adf6e4411">xrpl::NodeStore::isSame</a></div><div class="ttdeci">bool isSame(std::shared_ptr< NodeObject > const &lhs, std::shared_ptr< NodeObject > const &rhs)</div><div class="ttdoc">Returns true if objects are identical.</div><div class="ttdef"><b>Definition</b> <a href="TestBase_8h_source.html#l00038">TestBase.h:38</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</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="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11"><div class="ttname"><a href="namespacexrpl.html#ac599741e6d4066bada11df4c7e8ad30aad265aed699f7409ac0ec6fe07ee9cb11">xrpl::HashPrefix::batch</a></div><div class="ttdeci">@ batch</div><div class="ttdoc">Batch.</div></div>
|
|
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
|
|
</div><!-- fragment --></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>
|