This commit is contained in:
bthomee
2025-05-08 11:05:03 +00:00
parent 3c36d01be9
commit da1a1fe717
983 changed files with 15498 additions and 15479 deletions

View File

@@ -124,7 +124,7 @@ $(function() {
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> cfg.<a class="code hl_function" href="classripple_1_1BasicConfig.html#ae2c21d011e6424d4917db175ef9df301">legacy</a>(<span class="stringliteral">&quot;database_path&quot;</span>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> cfg.<a class="code hl_function" href="classripple_1_1Config.html#ace51e99d1301a3e75c84f8f29f11bc97">setupControl</a>(<span class="keyword">true</span>, <span class="keyword">true</span>, <span class="keyword">true</span>);</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> cfg[<span class="stringliteral">&quot;server&quot;</span>].append(PORT_PEER);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> cfg[PORT_PEER].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> cfg[PORT_PEER].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</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> <span class="comment">// Using port 0 asks the operating system to allocate an unused port, which</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="comment">// can be obtained after a &quot;bind&quot; call.</span></div>
@@ -135,14 +135,14 @@ $(function() {
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> cfg[PORT_PEER].set(<span class="stringliteral">&quot;protocol&quot;</span>, <span class="stringliteral">&quot;peer&quot;</span>);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> cfg[<span class="stringliteral">&quot;server&quot;</span>].append(PORT_RPC);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;admin&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;admin&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;port&quot;</span>, <span class="stringliteral">&quot;0&quot;</span>);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> cfg[PORT_RPC].set(<span class="stringliteral">&quot;protocol&quot;</span>, <span class="stringliteral">&quot;http,ws2&quot;</span>);</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> cfg[<span class="stringliteral">&quot;server&quot;</span>].append(PORT_WS);</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;admin&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;admin&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;port&quot;</span>, <span class="stringliteral">&quot;0&quot;</span>);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> cfg[PORT_WS].set(<span class="stringliteral">&quot;protocol&quot;</span>, <span class="stringliteral">&quot;ws&quot;</span>);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> cfg.<a class="code hl_variable" href="classripple_1_1Config.html#ab6d562ee44093dba4b4f003a6f5a3dd1">SSL_VERIFY</a> = <span class="keyword">false</span>;</div>
@@ -163,7 +163,7 @@ $(function() {
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>{</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> (*cfg)[PORT_RPC].set(<span class="stringliteral">&quot;admin&quot;</span>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> (*cfg)[PORT_WS].set(<span class="stringliteral">&quot;admin&quot;</span>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> (*cfg)[PORT_RPC].set(<span class="stringliteral">&quot;secure_gateway&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> (*cfg)[PORT_RPC].set(<span class="stringliteral">&quot;secure_gateway&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">return</span> cfg;</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span>}</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
@@ -199,7 +199,7 @@ $(function() {
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Config&gt;</a></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx.html#a8da073628362c9cf1db481fb48c09d10"> 122</a></span><a class="code hl_function" href="namespaceripple_1_1test_1_1jtx.html#a8da073628362c9cf1db481fb48c09d10">addGrpcConfig</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Config&gt;</a> cfg)</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span>{</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> (*cfg)[SECTION_PORT_GRPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> (*cfg)[SECTION_PORT_GRPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> (*cfg)[SECTION_PORT_GRPC].set(<span class="stringliteral">&quot;port&quot;</span>, <span class="stringliteral">&quot;0&quot;</span>);</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">return</span> cfg;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span>}</div>
@@ -209,7 +209,7 @@ $(function() {
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Config&gt;</a> cfg,</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; secureGateway)</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span>{</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> (*cfg)[SECTION_PORT_GRPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> (*cfg)[SECTION_PORT_GRPC].set(<span class="stringliteral">&quot;ip&quot;</span>, <a class="code hl_function" href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">getEnvLocalhostAddr</a>());</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> <span class="comment">// Check https://man7.org/linux/man-pages/man7/ip.7.html</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="comment">// &quot;ip_local_port_range&quot; section for using 0 ports</span></div>
@@ -242,8 +242,8 @@ $(function() {
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_aebc7e483be9178d00e0d809cf0a1a867"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#aebc7e483be9178d00e0d809cf0a1a867">ripple::test::jtx::addGrpcConfigWithSecureGateway</a></div><div class="ttdeci">std::unique_ptr&lt; Config &gt; addGrpcConfigWithSecureGateway(std::unique_ptr&lt; Config &gt;, std::string const &amp;secureGateway)</div><div class="ttdoc">add a grpc address, port and secure_gateway to config</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8cpp_source.html#l00130">envconfig.cpp:130</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_html_afe7993f46bed01952dfd5c1e71426b9e"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx.html#afe7993f46bed01952dfd5c1e71426b9e">ripple::test::jtx::secure_gateway_localnet</a></div><div class="ttdeci">std::unique_ptr&lt; Config &gt; secure_gateway_localnet(std::unique_ptr&lt; Config &gt;)</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8cpp_source.html#l00101">envconfig.cpp:101</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_a343c740a28bf9c6b47ec94df0a3e379d"><div class="ttname"><a href="namespaceripple_1_1test.html#a343c740a28bf9c6b47ec94df0a3e379d">ripple::test::setupConfigForUnitTests</a></div><div class="ttdeci">void setupConfigForUnitTests(Config &amp;config)</div><div class="ttdoc">initializes a config object for use with jtx::Env</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8cpp_source.html#l00031">envconfig.cpp:31</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_a6f80b458641a965ec56b21ef0106408e"><div class="ttname"><a href="namespaceripple_1_1test.html#a6f80b458641a965ec56b21ef0106408e">ripple::test::getEnvLocalhostAddr</a></div><div class="ttdeci">const char * getEnvLocalhostAddr()</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8h_source.html#l00036">envconfig.h:36</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_a8852c4bb7703599e82fb733e2f514aef"><div class="ttname"><a href="namespaceripple_1_1test.html#a8852c4bb7703599e82fb733e2f514aef">ripple::test::envUseIPv4</a></div><div class="ttdeci">std::atomic&lt; bool &gt; envUseIPv4</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8cpp_source.html#l00028">envconfig.cpp:28</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_ad454fc1e1183106ecfeeaf41343d5ddf"><div class="ttname"><a href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">ripple::test::getEnvLocalhostAddr</a></div><div class="ttdeci">char const * getEnvLocalhostAddr()</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8h_source.html#l00036">envconfig.h:36</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="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
<div class="ttc" id="astructripple_1_1ConfigSection_html_a44ee859a6705ddcac4e318602f8fe6ac"><div class="ttname"><a href="structripple_1_1ConfigSection.html#a44ee859a6705ddcac4e318602f8fe6ac">ripple::ConfigSection::nodeDatabase</a></div><div class="ttdeci">static std::string nodeDatabase()</div><div class="ttdef"><b>Definition:</b> <a href="ConfigSections_8h_source.html#l00033">ConfigSections.h:33</a></div></div>
<div class="ttc" id="astructripple_1_1ConfigSection_html_a683114c5bbff808d0b15bd6a4283dff4"><div class="ttname"><a href="structripple_1_1ConfigSection.html#a683114c5bbff808d0b15bd6a4283dff4">ripple::ConfigSection::importNodeDatabase</a></div><div class="ttdeci">static std::string importNodeDatabase()</div><div class="ttdef"><b>Definition:</b> <a href="ConfigSections_8h_source.html#l00038">ConfigSections.h:38</a></div></div>