This commit is contained in:
bthomee
2026-02-03 11:11:33 -08:00
parent 8c6bf69051
commit a717955492
1270 changed files with 42807 additions and 41092 deletions

View File

@@ -182,7 +182,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="foldopen" id="foldopen00096" data-start="{" data-end="}">
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#a603667ee2086dac1d8d40ba5bf3e4c25"> 96</a></span> <a class="code hl_function" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#a603667ee2086dac1d8d40ba5bf3e4c25">createPeer</a>(<a class="code hl_class" href="classxrpl_1_1test_1_1jtx_1_1Env.html">jtx::Env</a>&amp; env)</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> {</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">auto</span>&amp; overlay = <span class="keyword">dynamic_cast&lt;</span><a class="code hl_class" href="classxrpl_1_1OverlayImpl.html">OverlayImpl</a>&amp;<span class="keyword">&gt;</span>(env.<a class="code hl_function" href="classxrpl_1_1test_1_1jtx_1_1Env.html#a00e2950377b152b92bbf93e4b3c8c474">app</a>().<a class="code hl_function" href="classxrpl_1_1Application.html#ac6a91561d0d7a703f6a90ceacd32caef">overlay</a>());</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">auto</span>&amp; overlay = <span class="keyword">dynamic_cast&lt;</span><a class="code hl_class" href="classxrpl_1_1OverlayImpl.html">OverlayImpl</a>&amp;<span class="keyword">&gt;</span>(env.<a class="code hl_function" href="classxrpl_1_1test_1_1jtx_1_1Env.html#a00e2950377b152b92bbf93e4b3c8c474">app</a>().<a class="code hl_function" href="classxrpl_1_1ServiceRegistry.html#a2ac6a1cdde3d793d910ade716823b41c">overlay</a>());</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> boost::beast::http::request&lt;boost::beast::http::dynamic_body&gt; request;</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">auto</span> stream_ptr = <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::make_unique&lt;stream_type&gt;</a>(<a class="code hl_typedef" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#ab26e55f7056f46a3e2c8c680bfa4c4f2">socket_type</a>(env.<a class="code hl_function" href="classxrpl_1_1test_1_1jtx_1_1Env.html#a00e2950377b152b92bbf93e4b3c8c474">app</a>().<a class="code hl_function" href="classxrpl_1_1Application.html#a947bd93203b27c026c29d79fa2a90ed6">getIOContext</a>()), *<a class="code hl_variable" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#a8ba5ea48791f757343d8d4ec87692b8b">context_</a>);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
@@ -206,7 +206,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"><a class="line" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#a07306cd6b0295a5487cb5fed7c0ced21"> 117</a></span> <a class="code hl_function" href="classxrpl_1_1test_1_1TMGetObjectByHash__test.html#a07306cd6b0295a5487cb5fed7c0ced21">createRequest</a>(<span class="keywordtype">size_t</span> <span class="keyword">const</span> numObjects, <a class="code hl_class" href="classxrpl_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env)</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> {</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="comment">// Store objects in the NodeStore that will be found during the query</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">auto</span>&amp; nodeStore = env.<a class="code hl_function" href="classxrpl_1_1test_1_1jtx_1_1Env.html#a00e2950377b152b92bbf93e4b3c8c474">app</a>().<a class="code hl_function" href="classxrpl_1_1Application.html#a75962a256fe4b18ec02f901309456654">getNodeStore</a>();</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">auto</span>&amp; nodeStore = env.<a class="code hl_function" href="classxrpl_1_1test_1_1jtx_1_1Env.html#a00e2950377b152b92bbf93e4b3c8c474">app</a>().<a class="code hl_function" href="classxrpl_1_1ServiceRegistry.html#a2b9ee9221b8442f20c779c7e0683263d">getNodeStore</a>();</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="comment">// Create and store objects</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256&gt;</a> hashes;</div>
@@ -287,15 +287,15 @@ $(document).ready(function() { init_codefold(0); });
<div class="ttc" id="aclassbeast_1_1IP_1_1Endpoint_html"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a></div><div class="ttdoc">A version-independent IP address and port combination.</div><div class="ttdef"><b>Definition</b> <a href="IPEndpoint_8h_source.html#l00018">IPEndpoint.h:19</a></div></div>
<div class="ttc" id="aclassbeast_1_1unit__test_1_1suite_html"><div class="ttname"><a href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a></div><div class="ttdoc">A testsuite class.</div><div class="ttdef"><b>Definition</b> <a href="suite_8h_source.html#l00051">suite.h:52</a></div></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_1Application_html"><div class="ttname"><a href="classxrpl_1_1Application.html">xrpl::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00094">Application.h:95</a></div></div>
<div class="ttc" id="aclassxrpl_1_1Application_html_a75962a256fe4b18ec02f901309456654"><div class="ttname"><a href="classxrpl_1_1Application.html#a75962a256fe4b18ec02f901309456654">xrpl::Application::getNodeStore</a></div><div class="ttdeci">virtual NodeStore::Database &amp; getNodeStore()=0</div></div>
<div class="ttc" id="aclassxrpl_1_1Application_html"><div class="ttname"><a href="classxrpl_1_1Application.html">xrpl::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00095">Application.h:96</a></div></div>
<div class="ttc" id="aclassxrpl_1_1Application_html_a947bd93203b27c026c29d79fa2a90ed6"><div class="ttname"><a href="classxrpl_1_1Application.html#a947bd93203b27c026c29d79fa2a90ed6">xrpl::Application::getIOContext</a></div><div class="ttdeci">virtual boost::asio::io_context &amp; getIOContext()=0</div></div>
<div class="ttc" id="aclassxrpl_1_1Application_html_ac6a91561d0d7a703f6a90ceacd32caef"><div class="ttname"><a href="classxrpl_1_1Application.html#ac6a91561d0d7a703f6a90ceacd32caef">xrpl::Application::overlay</a></div><div class="ttdeci">virtual Overlay &amp; overlay()=0</div></div>
<div class="ttc" id="aclassxrpl_1_1OverlayImpl_html"><div class="ttname"><a href="classxrpl_1_1OverlayImpl.html">xrpl::OverlayImpl</a></div><div class="ttdef"><b>Definition</b> <a href="OverlayImpl_8h_source.html#l00043">OverlayImpl.h:44</a></div></div>
<div class="ttc" id="aclassxrpl_1_1PeerImp_html"><div class="ttname"><a href="classxrpl_1_1PeerImp.html">xrpl::PeerImp</a></div><div class="ttdoc">This class manages established peer-to-peer connections, handles message exchange,...</div><div class="ttdef"><b>Definition</b> <a href="PeerImp_8h_source.html#l00096">PeerImp.h:97</a></div></div>
<div class="ttc" id="aclassxrpl_1_1PeerImp_html_a111dccfb98bf9e7e3113bc3dc104698d"><div class="ttname"><a href="classxrpl_1_1PeerImp.html#a111dccfb98bf9e7e3113bc3dc104698d">xrpl::PeerImp::slot</a></div><div class="ttdeci">std::shared_ptr&lt; PeerFinder::Slot &gt; const &amp; slot()</div><div class="ttdef"><b>Definition</b> <a href="PeerImp_8h_source.html#l00327">PeerImp.h:327</a></div></div>
<div class="ttc" id="aclassxrpl_1_1PublicKey_html"><div class="ttname"><a href="classxrpl_1_1PublicKey.html">xrpl::PublicKey</a></div><div class="ttdoc">A public key.</div><div class="ttdef"><b>Definition</b> <a href="PublicKey_8h_source.html#l00042">PublicKey.h:43</a></div></div>
<div class="ttc" id="aclassxrpl_1_1Resource_1_1Consumer_html"><div class="ttname"><a href="classxrpl_1_1Resource_1_1Consumer.html">xrpl::Resource::Consumer</a></div><div class="ttdoc">An endpoint that consumes resources.</div><div class="ttdef"><b>Definition</b> <a href="Consumer_8h_source.html#l00016">Consumer.h:17</a></div></div>
<div class="ttc" id="aclassxrpl_1_1ServiceRegistry_html_a2ac6a1cdde3d793d910ade716823b41c"><div class="ttname"><a href="classxrpl_1_1ServiceRegistry.html#a2ac6a1cdde3d793d910ade716823b41c">xrpl::ServiceRegistry::overlay</a></div><div class="ttdeci">virtual Overlay &amp; overlay()=0</div></div>
<div class="ttc" id="aclassxrpl_1_1ServiceRegistry_html_a2b9ee9221b8442f20c779c7e0683263d"><div class="ttname"><a href="classxrpl_1_1ServiceRegistry.html#a2b9ee9221b8442f20c779c7e0683263d">xrpl::ServiceRegistry::getNodeStore</a></div><div class="ttdeci">virtual NodeStore::Database &amp; getNodeStore()=0</div></div>
<div class="ttc" id="aclassxrpl_1_1base__uint_html"><div class="ttname"><a href="classxrpl_1_1base__uint.html">xrpl::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassxrpl_1_1test_1_1TMGetObjectByHash__test_1_1PeerTest_html"><div class="ttname"><a href="classxrpl_1_1test_1_1TMGetObjectByHash__test_1_1PeerTest.html">xrpl::test::TMGetObjectByHash_test::PeerTest</a></div><div class="ttdoc">Test peer that captures sent messages for verification.</div><div class="ttdef"><b>Definition</b> <a href="TMGetObjectByHash__test_8cpp_source.html#l00037">TMGetObjectByHash_test.cpp:38</a></div></div>
<div class="ttc" id="aclassxrpl_1_1test_1_1TMGetObjectByHash__test_1_1PeerTest_html_a1dd1da0933f45e586fe4dfeec4c2c637"><div class="ttname"><a href="classxrpl_1_1test_1_1TMGetObjectByHash__test_1_1PeerTest.html#a1dd1da0933f45e586fe4dfeec4c2c637">xrpl::test::TMGetObjectByHash_test::PeerTest::~PeerTest</a></div><div class="ttdeci">~PeerTest()=default</div></div>