mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
deploy: 60909655d3
This commit is contained in:
@@ -563,7 +563,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> close_on_timer_ = <span class="keyword">true</span>;</div>
|
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno"> 489</span> close_on_timer_ = <span class="keyword">true</span>;</div>
|
||||||
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> ping_active_ = <span class="keyword">true</span>;</div>
|
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno"> 490</span> ping_active_ = <span class="keyword">true</span>;</div>
|
||||||
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> <span class="comment">// cryptographic is probably overkill..</span></div>
|
<div class="line"><a id="l00491" name="l00491"></a><span class="lineno"> 491</span> <span class="comment">// cryptographic is probably overkill..</span></div>
|
||||||
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(payload_.begin(), payload_.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00492" name="l00492"></a><span class="lineno"> 492</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(payload_.begin(), payload_.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> impl().ws_.async_ping(</div>
|
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno"> 493</span> impl().ws_.async_ping(</div>
|
||||||
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> payload_,</div>
|
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno"> 494</span> payload_,</div>
|
||||||
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> bind_executor(</div>
|
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno"> 495</span> bind_executor(</div>
|
||||||
@@ -656,7 +656,7 @@ $(function() {
|
|||||||
<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="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="afunctional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/functional.html">functional</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="alist_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/list.html">list</a></div></div>
|
<div class="ttc" id="alist_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/list.html">list</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1BuildInfo_html_a1e2b1646cf948c1c19ff190903c3e789"><div class="ttname"><a href="namespaceripple_1_1BuildInfo.html#a1e2b1646cf948c1c19ff190903c3e789">ripple::BuildInfo::getFullVersionString</a></div><div class="ttdeci">std::string const & getFullVersionString()</div><div class="ttdoc">Full server version string.</div><div class="ttdef"><b>Definition:</b> <a href="BuildInfo_8cpp_source.html#l00081">BuildInfo.cpp:81</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1BuildInfo_html_a1e2b1646cf948c1c19ff190903c3e789"><div class="ttname"><a href="namespaceripple_1_1BuildInfo.html#a1e2b1646cf948c1c19ff190903c3e789">ripple::BuildInfo::getFullVersionString</a></div><div class="ttdeci">std::string const & getFullVersionString()</div><div class="ttdoc">Full server version string.</div><div class="ttdef"><b>Definition:</b> <a href="BuildInfo_8cpp_source.html#l00081">BuildInfo.cpp:81</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a45fb47210c42ed6314f8933506077031"><div class="ttname"><a href="namespaceripple.html#a45fb47210c42ed6314f8933506077031">ripple::safe_cast</a></div><div class="ttdeci">constexpr std::enable_if_t< std::is_integral_v< Dest > &&std::is_integral_v< Src >, Dest > safe_cast(Src s) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="safe__cast_8h_source.html#l00042">safe_cast.h:42</a></div></div>
|
<div class="ttc" id="anamespaceripple_html_a45fb47210c42ed6314f8933506077031"><div class="ttname"><a href="namespaceripple.html#a45fb47210c42ed6314f8933506077031">ripple::safe_cast</a></div><div class="ttdeci">constexpr std::enable_if_t< std::is_integral_v< Dest > &&std::is_integral_v< Src >, Dest > safe_cast(Src s) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="safe__cast_8h_source.html#l00042">safe_cast.h:42</a></div></div>
|
||||||
|
|||||||
@@ -4257,7 +4257,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l04243" name="l04243"></a><span class="lineno"> 4243</span> jvResult[jss::stand_alone] = <a class="code hl_variable" href="classripple_1_1NetworkOPsImp.html#a71805af5c89f4f9315231c05ce2c8996">m_standalone</a>;</div>
|
<div class="line"><a id="l04243" name="l04243"></a><span class="lineno"> 4243</span> jvResult[jss::stand_alone] = <a class="code hl_variable" href="classripple_1_1NetworkOPsImp.html#a71805af5c89f4f9315231c05ce2c8996">m_standalone</a>;</div>
|
||||||
<div class="line"><a id="l04244" name="l04244"></a><span class="lineno"> 4244</span> </div>
|
<div class="line"><a id="l04244" name="l04244"></a><span class="lineno"> 4244</span> </div>
|
||||||
<div class="line"><a id="l04245" name="l04245"></a><span class="lineno"> 4245</span> <span class="comment">// CHECKME: is it necessary to provide a random number here?</span></div>
|
<div class="line"><a id="l04245" name="l04245"></a><span class="lineno"> 4245</span> <span class="comment">// CHECKME: is it necessary to provide a random number here?</span></div>
|
||||||
<div class="line"><a id="l04246" name="l04246"></a><span class="lineno"> 4246</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(uRandom.<a class="code hl_function" href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">begin</a>(), uRandom.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l04246" name="l04246"></a><span class="lineno"> 4246</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(uRandom.<a class="code hl_function" href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">begin</a>(), uRandom.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l04247" name="l04247"></a><span class="lineno"> 4247</span> </div>
|
<div class="line"><a id="l04247" name="l04247"></a><span class="lineno"> 4247</span> </div>
|
||||||
<div class="line"><a id="l04248" name="l04248"></a><span class="lineno"> 4248</span> <span class="keyword">auto</span> <span class="keyword">const</span>& feeTrack = <a class="code hl_variable" href="classripple_1_1NetworkOPsImp.html#ae6ef97d9e41e59b51b6b508a3cc74bdc">app_</a>.<a class="code hl_function" href="classripple_1_1Application.html#a143d2b9c53a24814fc28309244aa3631">getFeeTrack</a>();</div>
|
<div class="line"><a id="l04248" name="l04248"></a><span class="lineno"> 4248</span> <span class="keyword">auto</span> <span class="keyword">const</span>& feeTrack = <a class="code hl_variable" href="classripple_1_1NetworkOPsImp.html#ae6ef97d9e41e59b51b6b508a3cc74bdc">app_</a>.<a class="code hl_function" href="classripple_1_1Application.html#a143d2b9c53a24814fc28309244aa3631">getFeeTrack</a>();</div>
|
||||||
<div class="line"><a id="l04249" name="l04249"></a><span class="lineno"> 4249</span> jvResult[jss::random] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(uRandom);</div>
|
<div class="line"><a id="l04249" name="l04249"></a><span class="lineno"> 4249</span> jvResult[jss::random] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(uRandom);</div>
|
||||||
@@ -5247,7 +5247,7 @@ $(function() {
|
|||||||
<div class="ttc" id="anamespaceJson_html_a91fe494468d6262cf119456ba139de34"><div class="ttname"><a href="namespaceJson.html#a91fe494468d6262cf119456ba139de34">Json::Int</a></div><div class="ttdeci">int Int</div><div class="ttdef"><b>Definition:</b> <a href="json__forwards_8h_source.html#l00026">json_forwards.h:26</a></div></div>
|
<div class="ttc" id="anamespaceJson_html_a91fe494468d6262cf119456ba139de34"><div class="ttname"><a href="namespaceJson.html#a91fe494468d6262cf119456ba139de34">Json::Int</a></div><div class="ttdeci">int Int</div><div class="ttdef"><b>Definition:</b> <a href="json__forwards_8h_source.html#l00026">json_forwards.h:26</a></div></div>
|
||||||
<div class="ttc" id="anamespaceJson_html_ab1488c31a37eea2d37f36a0961372572"><div class="ttname"><a href="namespaceJson.html#ab1488c31a37eea2d37f36a0961372572">Json::UInt</a></div><div class="ttdeci">unsigned int UInt</div><div class="ttdef"><b>Definition:</b> <a href="json__forwards_8h_source.html#l00027">json_forwards.h:27</a></div></div>
|
<div class="ttc" id="anamespaceJson_html_ab1488c31a37eea2d37f36a0961372572"><div class="ttname"><a href="namespaceJson.html#ab1488c31a37eea2d37f36a0961372572">Json::UInt</a></div><div class="ttdeci">unsigned int UInt</div><div class="ttdef"><b>Definition:</b> <a href="json__forwards_8h_source.html#l00027">json_forwards.h:27</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
|
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1BuildInfo_html_a8aa97a762a323b5f5e96db0a2fc1e33a"><div class="ttname"><a href="namespaceripple_1_1BuildInfo.html#a8aa97a762a323b5f5e96db0a2fc1e33a">ripple::BuildInfo::getVersionString</a></div><div class="ttdeci">std::string const & getVersionString()</div><div class="ttdoc">Server version.</div><div class="ttdef"><b>Definition:</b> <a href="BuildInfo_8cpp_source.html#l00068">BuildInfo.cpp:68</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1BuildInfo_html_a8aa97a762a323b5f5e96db0a2fc1e33a"><div class="ttname"><a href="namespaceripple_1_1BuildInfo.html#a8aa97a762a323b5f5e96db0a2fc1e33a">ripple::BuildInfo::getVersionString</a></div><div class="ttdeci">std::string const & getVersionString()</div><div class="ttdoc">Server version.</div><div class="ttdef"><b>Definition:</b> <a href="BuildInfo_8cpp_source.html#l00068">BuildInfo.cpp:68</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a193a678f625ec77262c8d5f3ca91df03"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a193a678f625ec77262c8d5f3ca91df03">ripple::RPC::encodeCTID</a></div><div class="ttdeci">std::optional< std::string > encodeCTID(uint32_t ledgerSeq, uint32_t txnIndex, uint32_t networkID) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="CTID_8h_source.html#l00043">CTID.h:43</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a193a678f625ec77262c8d5f3ca91df03"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a193a678f625ec77262c8d5f3ca91df03">ripple::RPC::encodeCTID</a></div><div class="ttdeci">std::optional< std::string > encodeCTID(uint32_t ledgerSeq, uint32_t txnIndex, uint32_t networkID) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="CTID_8h_source.html#l00043">CTID.h:43</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1RPC_html_a2e549c81edcbd0befcfa4ee871c6f27e"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a2e549c81edcbd0befcfa4ee871c6f27e">ripple::RPC::computeBookChanges</a></div><div class="ttdeci">Json::Value computeBookChanges(std::shared_ptr< L const > const &lpAccepted)</div><div class="ttdef"><b>Definition:</b> <a href="BookChanges_8h_source.html#l00047">BookChanges.h:47</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1RPC_html_a2e549c81edcbd0befcfa4ee871c6f27e"><div class="ttname"><a href="namespaceripple_1_1RPC.html#a2e549c81edcbd0befcfa4ee871c6f27e">ripple::RPC::computeBookChanges</a></div><div class="ttdeci">Json::Value computeBookChanges(std::shared_ptr< L const > const &lpAccepted)</div><div class="ttdef"><b>Definition:</b> <a href="BookChanges_8h_source.html#l00047">BookChanges.h:47</a></div></div>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">try</span></div>
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">try</span></div>
|
||||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> {</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> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> rand;</div>
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> rand;</div>
|
||||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(rand.begin(), rand.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(rand.begin(), rand.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
||||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jvResult;</div>
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> jvResult;</div>
|
||||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> jvResult[jss::random] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(rand);</div>
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> jvResult[jss::random] = <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(rand);</div>
|
||||||
@@ -137,7 +137,7 @@ $(function() {
|
|||||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
||||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
||||||
<div class="ttc" id="aexception_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/exception.html">std::exception</a></div></div>
|
<div class="ttc" id="aexception_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/exception.html">std::exception</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f">ripple::rpcINTERNAL</a></div><div class="ttdeci">@ rpcINTERNAL</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00130">ErrorCodes.h:130</a></div></div>
|
<div class="ttc" id="anamespaceripple_html_a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f"><div class="ttname"><a href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932a839833d48b635d8df6a9176274ae922f">ripple::rpcINTERNAL</a></div><div class="ttdeci">@ rpcINTERNAL</div><div class="ttdef"><b>Definition:</b> <a href="ErrorCodes_8h_source.html#l00130">ErrorCodes.h:130</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a64faabbdff83da8b7fd7aaafbb937867"><div class="ttname"><a href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">ripple::crypto_prng</a></div><div class="ttdeci">csprng_engine & crypto_prng()</div><div class="ttdoc">The default cryptographically secure PRNG.</div><div class="ttdef"><b>Definition:</b> <a href="libxrpl_2crypto_2csprng_8cpp_source.html#l00103">libxrpl/crypto/csprng.cpp:103</a></div></div>
|
<div class="ttc" id="anamespaceripple_html_a64faabbdff83da8b7fd7aaafbb937867"><div class="ttname"><a href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">ripple::crypto_prng</a></div><div class="ttdeci">csprng_engine & crypto_prng()</div><div class="ttdoc">The default cryptographically secure PRNG.</div><div class="ttdef"><b>Definition:</b> <a href="libxrpl_2crypto_2csprng_8cpp_source.html#l00103">libxrpl/crypto/csprng.cpp:103</a></div></div>
|
||||||
|
|||||||
@@ -358,7 +358,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8"> 299</a></span><a class="code hl_function" href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8">randomSecretKey</a>()</div>
|
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"><a class="line" href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8"> 299</a></span><a class="code hl_function" href="namespaceripple.html#a962f446a4782087cfa554c9c926681f8">randomSecretKey</a>()</div>
|
||||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span>{</div>
|
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span>{</div>
|
||||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> buf[32];</div>
|
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> buf[32];</div>
|
||||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(buf, <span class="keyword">sizeof</span>(buf), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(buf, <span class="keyword">sizeof</span>(buf), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> sk(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a>{buf, <span class="keyword">sizeof</span>(buf)});</div>
|
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <a class="code hl_class" href="classripple_1_1SecretKey.html">SecretKey</a> sk(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a>{buf, <span class="keyword">sizeof</span>(buf)});</div>
|
||||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <a class="code hl_function" href="namespaceripple.html#afce562bec88f81bc110dbdc1794eadcd">secure_erase</a>(buf, <span class="keyword">sizeof</span>(buf));</div>
|
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> <a class="code hl_function" href="namespaceripple.html#afce562bec88f81bc110dbdc1794eadcd">secure_erase</a>(buf, <span class="keyword">sizeof</span>(buf));</div>
|
||||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordflow">return</span> sk;</div>
|
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> <span class="keywordflow">return</span> sk;</div>
|
||||||
@@ -502,7 +502,7 @@ $(function() {
|
|||||||
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array/end.html">std::array::end</a></div><div class="ttdeci">T end(T... args)</div></div>
|
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array/end.html">std::array::end</a></div><div class="ttdeci">T end(T... args)</div></div>
|
||||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
||||||
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a68243c57c7d8b97e81f46e46bc9d1823"><div class="ttname"><a href="namespaceripple_1_1detail.html#a68243c57c7d8b97e81f46e46bc9d1823">ripple::detail::copy_uint32</a></div><div class="ttdeci">void copy_uint32(std::uint8_t *out, std::uint32_t v)</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00077">SecretKey.cpp:77</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1detail_html_a68243c57c7d8b97e81f46e46bc9d1823"><div class="ttname"><a href="namespaceripple_1_1detail.html#a68243c57c7d8b97e81f46e46bc9d1823">ripple::detail::copy_uint32</a></div><div class="ttdeci">void copy_uint32(std::uint8_t *out, std::uint32_t v)</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00077">SecretKey.cpp:77</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1detail_html_aecc1aa4944a6cc802ab85597b012a2de"><div class="ttname"><a href="namespaceripple_1_1detail.html#aecc1aa4944a6cc802ab85597b012a2de">ripple::detail::deriveDeterministicRootKey</a></div><div class="ttdeci">uint256 deriveDeterministicRootKey(Seed const &seed)</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00086">SecretKey.cpp:86</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1detail_html_aecc1aa4944a6cc802ab85597b012a2de"><div class="ttname"><a href="namespaceripple_1_1detail.html#aecc1aa4944a6cc802ab85597b012a2de">ripple::detail::deriveDeterministicRootKey</a></div><div class="ttdeci">uint256 deriveDeterministicRootKey(Seed const &seed)</div><div class="ttdef"><b>Definition:</b> <a href="SecretKey_8cpp_source.html#l00086">SecretKey.cpp:86</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> j = 0; j < 32; j++)</div>
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> j = 0; j < 32; j++)</div>
|
||||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> {</div>
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> {</div>
|
||||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>;</div>
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>;</div>
|
||||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(<a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>.data(), <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(<a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>.data(), <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keyword">auto</span> sig = <a class="code hl_function" href="namespaceripple.html#aa1eec4457e3eaa67a2532f9da71fe4be">signDigest</a>(pk, sk, <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>);</div>
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keyword">auto</span> sig = <a class="code hl_function" href="namespaceripple.html#aa1eec4457e3eaa67a2532f9da71fe4be">signDigest</a>(pk, sk, <a class="code hl_function" href="namespaceripple.html#a91e9fe7a4e92dba79c3812fd3edcaacc">digest</a>);</div>
|
||||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||||
@@ -237,7 +237,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> j = 0; j < 32; j++)</div>
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> j = 0; j < 32; j++)</div>
|
||||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> {</div>
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> {</div>
|
||||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::uint8_t></a> data(64 + (8 * i) + j);</div>
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::uint8_t></a> data(64 + (8 * i) + j);</div>
|
||||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(data.data(), data.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(data.data(), data.size(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keyword">auto</span> sig = <a class="code hl_function" href="namespaceripple.html#a72ab42f87d2351b89ba8f47f5cfa70ba">sign</a>(pk, sk, <a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(data));</div>
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keyword">auto</span> sig = <a class="code hl_function" href="namespaceripple.html#a72ab42f87d2351b89ba8f47f5cfa70ba">sign</a>(pk, sk, <a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(data));</div>
|
||||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||||
@@ -1620,7 +1620,7 @@ $(function() {
|
|||||||
<div class="ttc" id="aiter_swap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/iter_swap.html">std::iter_swap</a></div><div class="ttdeci">T iter_swap(T... args)</div></div>
|
<div class="ttc" id="aiter_swap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/iter_swap.html">std::iter_swap</a></div><div class="ttdeci">T iter_swap(T... args)</div></div>
|
||||||
<div class="ttc" id="amax_element_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max_element.html">std::max_element</a></div><div class="ttdeci">T max_element(T... args)</div></div>
|
<div class="ttc" id="amax_element_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max_element.html">std::max_element</a></div><div class="ttdeci">T max_element(T... args)</div></div>
|
||||||
<div class="ttc" id="amin_element_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/min_element.html">std::min_element</a></div><div class="ttdeci">T min_element(T... args)</div></div>
|
<div class="ttc" id="amin_element_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/min_element.html">std::min_element</a></div><div class="ttdeci">T min_element(T... args)</div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceprotocol_html"><div class="ttname"><a href="namespaceprotocol.html">protocol</a></div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8h_source.html#l00038">ValidatorList.h:38</a></div></div>
|
<div class="ttc" id="anamespaceprotocol_html"><div class="ttname"><a href="namespaceprotocol.html">protocol</a></div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8h_source.html#l00038">ValidatorList.h:38</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a06c04baee32e460076ce4d9df3ffd98f"><div class="ttname"><a href="namespaceripple.html#a06c04baee32e460076ce4d9df3ffd98f">ripple::ecdsaCanonicality</a></div><div class="ttdeci">std::optional< ECDSACanonicality > ecdsaCanonicality(Slice const &sig)</div><div class="ttdoc">Determines the canonicality of a signature.</div><div class="ttdef"><b>Definition:</b> <a href="PublicKey_8cpp_source.html#l00129">PublicKey.cpp:129</a></div></div>
|
<div class="ttc" id="anamespaceripple_html_a06c04baee32e460076ce4d9df3ffd98f"><div class="ttname"><a href="namespaceripple.html#a06c04baee32e460076ce4d9df3ffd98f">ripple::ecdsaCanonicality</a></div><div class="ttdeci">std::optional< ECDSACanonicality > ecdsaCanonicality(Slice const &sig)</div><div class="ttdoc">Determines the canonicality of a signature.</div><div class="ttdef"><b>Definition:</b> <a href="PublicKey_8cpp_source.html#l00129">PublicKey.cpp:129</a></div></div>
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4051033596516e3ebd7c996004ed08f0"> 66</a></span><a class="code hl_function" href="namespaceripple.html#a4051033596516e3ebd7c996004ed08f0">randomSeed</a>()</div>
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4051033596516e3ebd7c996004ed08f0"> 66</a></span><a class="code hl_function" href="namespaceripple.html#a4051033596516e3ebd7c996004ed08f0">randomSeed</a>()</div>
|
||||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>{</div>
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span>{</div>
|
||||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, 16></a> buffer;</div>
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, 16></a> buffer;</div>
|
||||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>(), buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/size.html">size</a>(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>(), buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/size.html">size</a>(), <a class="code hl_function" href="namespaceripple.html#a64faabbdff83da8b7fd7aaafbb937867">crypto_prng</a>());</div>
|
||||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> seed(<a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(buffer));</div>
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> seed(<a class="code hl_function" href="namespaceripple.html#a93f2333b362ee67694b78f55eadf7805">makeSlice</a>(buffer));</div>
|
||||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_function" href="namespaceripple.html#afce562bec88f81bc110dbdc1794eadcd">secure_erase</a>(buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>(), buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/size.html">size</a>());</div>
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_function" href="namespaceripple.html#afce562bec88f81bc110dbdc1794eadcd">secure_erase</a>(buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>(), buffer.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/size.html">size</a>());</div>
|
||||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">return</span> seed;</div>
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">return</span> seed;</div>
|
||||||
@@ -246,7 +246,7 @@ $(function() {
|
|||||||
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">std::string::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
|
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">std::string::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
|
||||||
<div class="ttc" id="aiterator_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/iterator.html">iterator</a></div></div>
|
<div class="ttc" id="aiterator_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/iterator.html">iterator</a></div></div>
|
||||||
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a">ripple::TokenType::NodePrivate</a></div><div class="ttdeci">@ NodePrivate</div></div>
|
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a5cc5482a0278b704175b383ee922954a">ripple::TokenType::NodePrivate</a></div><div class="ttdeci">@ NodePrivate</div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03a7dc33e2284f98dd03358e2fe25eed241"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a7dc33e2284f98dd03358e2fe25eed241">ripple::TokenType::AccountSecret</a></div><div class="ttdeci">@ AccountSecret</div></div>
|
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03a7dc33e2284f98dd03358e2fe25eed241"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03a7dc33e2284f98dd03358e2fe25eed241">ripple::TokenType::AccountSecret</a></div><div class="ttdeci">@ AccountSecret</div></div>
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> i = 0; i < 64; i++)</div>
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a> i = 0; i < 64; i++)</div>
|
||||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</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> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(src, <span class="keyword">sizeof</span>(src), <a class="code hl_function" href="namespaceripple.html#afe66a903fefc1f0613602efe9e2283de">default_prng</a>());</div>
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(src, <span class="keyword">sizeof</span>(src), <a class="code hl_function" href="namespaceripple.html#afe66a903fefc1f0613602efe9e2283de">default_prng</a>());</div>
|
||||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> <span class="keyword">const</span> seed({src, <span class="keyword">sizeof</span>(src)});</div>
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> <span class="keyword">const</span> seed({src, <span class="keyword">sizeof</span>(src)});</div>
|
||||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> BEAST_EXPECT(memcmp(seed.data(), src, <span class="keyword">sizeof</span>(src)) == 0);</div>
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> BEAST_EXPECT(memcmp(seed.data(), src, <span class="keyword">sizeof</span>(src)) == 0);</div>
|
||||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> }</div>
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> }</div>
|
||||||
@@ -138,7 +138,7 @@ $(function() {
|
|||||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < 64; i++)</div>
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < 64; i++)</div>
|
||||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> {</div>
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> {</div>
|
||||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint128</a> src;</div>
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint128</a> src;</div>
|
||||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(src.<a class="code hl_function" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), <a class="code hl_function" href="namespaceripple.html#afe66a903fefc1f0613602efe9e2283de">default_prng</a>());</div>
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(src.<a class="code hl_function" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), <a class="code hl_function" href="namespaceripple.html#afe66a903fefc1f0613602efe9e2283de">default_prng</a>());</div>
|
||||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> <span class="keyword">const</span> seed(src);</div>
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_class" href="classripple_1_1Seed.html">Seed</a> <span class="keyword">const</span> seed(src);</div>
|
||||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> BEAST_EXPECT(memcmp(seed.<a class="code hl_function" href="classripple_1_1Seed.html#af68c71670f8c0b4408e30e21c0672931">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>()) == 0);</div>
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> BEAST_EXPECT(memcmp(seed.<a class="code hl_function" href="classripple_1_1Seed.html#af68c71670f8c0b4408e30e21c0672931">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), src.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>()) == 0);</div>
|
||||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> }</div>
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> }</div>
|
||||||
@@ -461,7 +461,7 @@ $(function() {
|
|||||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a64d93405f8d7ba89f0a406b32015758f"><div class="ttname"><a href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">ripple::base_uint::size</a></div><div class="ttdeci">static constexpr std::size_t size()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00526">base_uint.h:526</a></div></div>
|
<div class="ttc" id="aclassripple_1_1base__uint_html_a64d93405f8d7ba89f0a406b32015758f"><div class="ttname"><a href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">ripple::base_uint::size</a></div><div class="ttdeci">static constexpr std::size_t size()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00526">base_uint.h:526</a></div></div>
|
||||||
<div class="ttc" id="aequal_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/equal.html">std::equal</a></div><div class="ttdeci">T equal(T... args)</div></div>
|
<div class="ttc" id="aequal_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/equal.html">std::equal</a></div><div class="ttdeci">T equal(T... args)</div></div>
|
||||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceprotocol_html"><div class="ttname"><a href="namespaceprotocol.html">protocol</a></div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8h_source.html#l00038">ValidatorList.h:38</a></div></div>
|
<div class="ttc" id="anamespaceprotocol_html"><div class="ttname"><a href="namespaceprotocol.html">protocol</a></div><div class="ttdef"><b>Definition:</b> <a href="ValidatorList_8h_source.html#l00038">ValidatorList.h:38</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#l00025">algorithm.h:25</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#l00025">algorithm.h:25</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00114">AccountID.cpp:114</a></div></div>
|
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00114">AccountID.cpp:114</a></div></div>
|
||||||
|
|||||||
@@ -176,10 +176,10 @@ $(function() {
|
|||||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> }();</div>
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> }();</div>
|
||||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
|
||||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> hash;</div>
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> hash;</div>
|
||||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(hash.<a class="code hl_function" href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">begin</a>(), hash.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), rng);</div>
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(hash.<a class="code hl_function" href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">begin</a>(), hash.<a class="code hl_function" href="classripple_1_1base__uint.html#a64d93405f8d7ba89f0a406b32015758f">size</a>(), rng);</div>
|
||||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a> blob(<a class="code hl_function" href="namespaceripple.html#a1747b036b81bd3769995670092912976">rand_int</a>(rng, <a class="code hl_variable" href="classripple_1_1NodeStore_1_1TestBase.html#a5f6cbf4b9aa1759d7967677140901145">minPayloadBytes</a>, <a class="code hl_variable" href="classripple_1_1NodeStore_1_1TestBase.html#a517f4e10ad584307e188471ef25e33a0">maxPayloadBytes</a>));</div>
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a> blob(<a class="code hl_function" href="namespaceripple.html#a1747b036b81bd3769995670092912976">rand_int</a>(rng, <a class="code hl_variable" href="classripple_1_1NodeStore_1_1TestBase.html#a5f6cbf4b9aa1759d7967677140901145">minPayloadBytes</a>, <a class="code hl_variable" href="classripple_1_1NodeStore_1_1TestBase.html#a517f4e10ad584307e188471ef25e33a0">maxPayloadBytes</a>));</div>
|
||||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a>(blob.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/data.html">data</a>(), blob.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>(), rng);</div>
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a>(blob.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/data.html">data</a>(), blob.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>(), rng);</div>
|
||||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">batch</a>.push_back(</div>
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">batch</a>.push_back(</div>
|
||||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_function" href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">NodeObject::createObject</a>(type, std::move(blob), hash));</div>
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_function" href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">NodeObject::createObject</a>(type, std::move(blob), hash));</div>
|
||||||
@@ -330,7 +330,7 @@ $(function() {
|
|||||||
<div class="ttc" id="adata_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/data.html">std::vector::data</a></div><div class="ttdeci">T data(T... args)</div></div>
|
<div class="ttc" id="adata_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/data.html">std::vector::data</a></div><div class="ttdeci">T data(T... args)</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="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="aiomanip_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/iomanip.html">iomanip</a></div></div>
|
<div class="ttc" id="aiomanip_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/iomanip.html">iomanip</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_abfa7777d2023a3f65fc6b4583c2faac6"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#abfa7777d2023a3f65fc6b4583c2faac6">ripple::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#l00060">TestBase.h:60</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_abfa7777d2023a3f65fc6b4583c2faac6"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#abfa7777d2023a3f65fc6b4583c2faac6">ripple::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#l00060">TestBase.h:60</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00044">src/xrpld/nodestore/Types.h:44</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00044">src/xrpld/nodestore/Types.h:44</a></div></div>
|
||||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ripple::NodeStore::ok</a></div><div class="ttdeci">@ ok</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00045">src/xrpld/nodestore/Types.h:45</a></div></div>
|
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ripple::NodeStore::ok</a></div><div class="ttdeci">@ ok</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00045">src/xrpld/nodestore/Types.h:45</a></div></div>
|
||||||
|
|||||||
@@ -341,9 +341,9 @@ Functions</h2></td></tr>
|
|||||||
<tr class="memitem:abf01fe67ed898eb4f56606edaf01b459"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
<tr class="memitem:abf01fe67ed898eb4f56606edaf01b459"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||||
<tr class="memitem:abf01fe67ed898eb4f56606edaf01b459"><td class="memTemplItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#abf01fe67ed898eb4f56606edaf01b459">type_name</a> ()</td></tr>
|
<tr class="memitem:abf01fe67ed898eb4f56606edaf01b459"><td class="memTemplItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#abf01fe67ed898eb4f56606edaf01b459">type_name</a> ()</td></tr>
|
||||||
<tr class="separator:abf01fe67ed898eb4f56606edaf01b459"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:abf01fe67ed898eb4f56606edaf01b459"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a6894f6dcd09bceda3986ebb1ea7a3eed"><td class="memTemplParams" colspan="2">template<class Generator > </td></tr>
|
<tr class="memitem:ad4d3145468ad564a92ac41b9812274a0"><td class="memTemplParams" colspan="2">template<class Generator > </td></tr>
|
||||||
<tr class="memitem:a6894f6dcd09bceda3986ebb1ea7a3eed"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">rngfill</a> (void *buffer, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> bytes, Generator &g)</td></tr>
|
<tr class="memitem:ad4d3145468ad564a92ac41b9812274a0"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">rngfill</a> (void *const buffer, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const bytes, Generator &g)</td></tr>
|
||||||
<tr class="separator:a6894f6dcd09bceda3986ebb1ea7a3eed"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:ad4d3145468ad564a92ac41b9812274a0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memTemplParams" colspan="2">template<class Generator , <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, class = std::enable_if_t<N % sizeof(typename Generator::result_type) == 0>> </td></tr>
|
<tr class="memitem:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memTemplParams" colspan="2">template<class Generator , <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, class = std::enable_if_t<N % sizeof(typename Generator::result_type) == 0>> </td></tr>
|
||||||
<tr class="memitem:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc">rngfill</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>, N > &a, Generator &g)</td></tr>
|
<tr class="memitem:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc">rngfill</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>, N > &a, Generator &g)</td></tr>
|
||||||
<tr class="separator:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a3c2683b0fd77fcae6b6ef91fb90e5cbc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
@@ -2374,8 +2374,8 @@ template<typename T > </div>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="a6894f6dcd09bceda3986ebb1ea7a3eed" name="a6894f6dcd09bceda3986ebb1ea7a3eed"></a>
|
<a id="ad4d3145468ad564a92ac41b9812274a0" name="ad4d3145468ad564a92ac41b9812274a0"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a6894f6dcd09bceda3986ebb1ea7a3eed">◆ </a></span>rngfill() <span class="overload">[1/2]</span></h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#ad4d3145468ad564a92ac41b9812274a0">◆ </a></span>rngfill() <span class="overload">[1/2]</span></h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@@ -2385,13 +2385,13 @@ template<class Generator > </div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="memname">void beast::rngfill </td>
|
<td class="memname">void beast::rngfill </td>
|
||||||
<td>(</td>
|
<td>(</td>
|
||||||
<td class="paramtype">void * </td>
|
<td class="paramtype">void *const </td>
|
||||||
<td class="paramname"><em>buffer</em>, </td>
|
<td class="paramname"><em>buffer</em>, </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> </td>
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> const </td>
|
||||||
<td class="paramname"><em>bytes</em>, </td>
|
<td class="paramname"><em>bytes</em>, </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -2440,7 +2440,7 @@ template<class Generator , <a class="elRef" href="http://en.cppreference.com/
|
|||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
|
|
||||||
<p class="definition">Definition at line <a class="el" href="rngfill_8h_source.html#l00073">73</a> of file <a class="el" href="rngfill_8h_source.html">rngfill.h</a>.</p>
|
<p class="definition">Definition at line <a class="el" href="rngfill_8h_source.html#l00063">63</a> of file <a class="el" href="rngfill_8h_source.html">rngfill.h</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ $(function() {
|
|||||||
<li>rippleSendMPT() : <a class="el" href="namespaceripple.html#a33cfcdda48d70867c06c798f8a894ff0">ripple</a></li>
|
<li>rippleSendMPT() : <a class="el" href="namespaceripple.html#a33cfcdda48d70867c06c798f8a894ff0">ripple</a></li>
|
||||||
<li>rippleUnlockEscrowMPT() : <a class="el" href="namespaceripple.html#a83da4b11e236a23156ac525c94494dcf">ripple</a></li>
|
<li>rippleUnlockEscrowMPT() : <a class="el" href="namespaceripple.html#a83da4b11e236a23156ac525c94494dcf">ripple</a></li>
|
||||||
<li>rngcpy() : <a class="el" href="namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1">ripple::NodeStore</a></li>
|
<li>rngcpy() : <a class="el" href="namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1">ripple::NodeStore</a></li>
|
||||||
<li>rngfill() : <a class="el" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast</a></li>
|
<li>rngfill() : <a class="el" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast</a></li>
|
||||||
<li>Role : <a class="el" href="namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c">ripple</a></li>
|
<li>Role : <a class="el" href="namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c">ripple</a></li>
|
||||||
<li>roleRequired() : <a class="el" href="namespaceripple_1_1RPC.html#a2cdc6dbc802b0d0ceaa59f95e3e6cfbd">ripple::RPC</a></li>
|
<li>roleRequired() : <a class="el" href="namespaceripple_1_1RPC.html#a2cdc6dbc802b0d0ceaa59f95e3e6cfbd">ripple::RPC</a></li>
|
||||||
<li>root() : <a class="el" href="namespaceripple.html#acdc87ea9c4ad1742d4aeebac963e8570">ripple</a></li>
|
<li>root() : <a class="el" href="namespaceripple.html#acdc87ea9c4ad1742d4aeebac963e8570">ripple</a></li>
|
||||||
|
|||||||
@@ -109,57 +109,47 @@ $(function() {
|
|||||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">template</span> <<span class="keyword">class</span> Generator></div>
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">template</span> <<span class="keyword">class</span> Generator></div>
|
||||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keywordtype">void</span></div>
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keywordtype">void</span></div>
|
||||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed"> 34</a></span><a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">rngfill</a>(<span class="keywordtype">void</span>* buffer, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> bytes, Generator& g)</div>
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0"> 34</a></span><a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">rngfill</a>(<span class="keywordtype">void</span>* <span class="keyword">const</span> buffer, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <span class="keyword">const</span> bytes, Generator& g)</div>
|
||||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>{</div>
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>{</div>
|
||||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">using </span>result_type = <span class="keyword">typename</span> Generator::result_type;</div>
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">using </span>result_type = <span class="keyword">typename</span> Generator::result_type;</div>
|
||||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">constexpr</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> result_size = <span class="keyword">sizeof</span>(result_type);</div>
|
||||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordflow">while</span> (bytes >= <span class="keyword">sizeof</span>(result_type))</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> {</div>
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>* <span class="keyword">const</span> buffer_start = <span class="keyword">static_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>*<span class="keyword">></span>(buffer);</div>
|
||||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">auto</span> <span class="keyword">const</span> v = g();</div>
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <span class="keyword">const</span> complete_iterations = bytes / result_size;</div>
|
||||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(buffer, &v, <span class="keyword">sizeof</span>(v));</div>
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <span class="keyword">const</span> bytes_remaining = bytes % result_size;</div>
|
||||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> buffer = <span class="keyword">reinterpret_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a>*<span class="keyword">></span>(buffer) + <span class="keyword">sizeof</span>(v);</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> bytes -= <span class="keyword">sizeof</span>(v);</div>
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordflow">for</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> count = 0; count < complete_iterations; ++count)</div>
|
||||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> }</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> </div>
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> result_type <span class="keyword">const</span> v = g();</div>
|
||||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> XRPL_ASSERT(</div>
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <span class="keyword">const</span> offset = count * result_size;</div>
|
||||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> bytes < <span class="keyword">sizeof</span>(result_type), <span class="stringliteral">"beast::rngfill(void*) : maximum bytes"</span>);</div>
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(buffer_start + offset, &v, result_size);</div>
|
||||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </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><span class="preprocessor">#ifdef __GNUC__</span></div>
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
||||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// gcc 11.1 (falsely) warns about an array-bounds overflow in release mode.</span></div>
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keywordflow">if</span> (bytes_remaining > 0)</div>
|
||||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// gcc 12.1 (also falsely) warns about an string overflow in release mode.</span></div>
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> {</div>
|
||||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#pragma GCC diagnostic push</span></div>
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> result_type <span class="keyword">const</span> v = g();</div>
|
||||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="preprocessor">#pragma GCC diagnostic ignored "-Warray-bounds"</span></div>
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <span class="keyword">const</span> offset = complete_iterations * result_size;</div>
|
||||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="preprocessor">#pragma GCC diagnostic ignored "-Wstringop-overflow"</span></div>
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(buffer_start + offset, &v, bytes_remaining);</div>
|
||||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#endif</span></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> </div>
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>}</div>
|
||||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">if</span> (bytes > 0)</div>
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> {</div>
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="keyword">template</span> <</div>
|
||||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">auto</span> <span class="keyword">const</span> v = g();</div>
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">class </span>Generator,</div>
|
||||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a>(buffer, &v, bytes);</div>
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N,</div>
|
||||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> }</div>
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">class </span>= <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/enable_if.html">std::enable_if_t</a><N % <span class="keyword">sizeof</span>(<span class="keyword">typename</span> Generator::result_type) == 0>></div>
|
||||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="keywordtype">void</span></div>
|
||||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="preprocessor">#ifdef __GNUC__</span></div>
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc"> 63</a></span><a class="code hl_function" href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">rngfill</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, N></a>& a, Generator& g)</div>
|
||||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#pragma GCC diagnostic pop</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><span class="preprocessor">#endif</span></div>
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">using </span>result_type = <span class="keyword">typename</span> Generator::result_type;</div>
|
||||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span>}</div>
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">auto</span> i = N / <span class="keyword">sizeof</span>(result_type);</div>
|
||||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> result_type* p = <span class="keyword">reinterpret_cast<</span>result_type*<span class="keyword">></span>(a.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>());</div>
|
||||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span><span class="keyword">template</span> <</div>
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">while</span> (i--)</div>
|
||||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">class </span>Generator,</div>
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> *p++ = g();</div>
|
||||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N,</div>
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span>}</div>
|
||||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">class </span>= <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/enable_if.html">std::enable_if_t</a><N % <span class="keyword">sizeof</span>(<span class="keyword">typename</span> Generator::result_type) == 0>></div>
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span><span class="keywordtype">void</span></div>
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>} <span class="comment">// namespace beast</span></div>
|
||||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc"> 73</a></span><a class="code hl_function" href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">rngfill</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<std::uint8_t, N></a>& a, Generator& g)</div>
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
|
||||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span>{</div>
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="preprocessor">#endif</span></div>
|
||||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">using </span>result_type = <span class="keyword">typename</span> Generator::result_type;</div>
|
|
||||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">auto</span> i = N / <span class="keyword">sizeof</span>(result_type);</div>
|
|
||||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> result_type* p = <span class="keyword">reinterpret_cast<</span>result_type*<span class="keyword">></span>(a.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/array/data.html">data</a>());</div>
|
|
||||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">while</span> (i--)</div>
|
|
||||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> *p++ = g();</div>
|
|
||||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span>}</div>
|
|
||||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
|
||||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>} <span class="comment">// namespace beast</span></div>
|
|
||||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
|
|
||||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="preprocessor">#endif</span></div>
|
|
||||||
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/array.html">array</a></div></div>
|
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/array.html">array</a></div></div>
|
||||||
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
||||||
<div class="ttc" id="acstring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstring.html">cstring</a></div></div>
|
<div class="ttc" id="acstring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstring.html">cstring</a></div></div>
|
||||||
@@ -168,7 +158,7 @@ $(function() {
|
|||||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint8_t</a></div></div>
|
||||||
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
<div class="ttc" id="amemcpy_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/byte/memcpy.html">std::memcpy</a></div><div class="ttdeci">T memcpy(T... args)</div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
|
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
|
||||||
<div class="ttc" id="anamespacebeast_html_a6894f6dcd09bceda3986ebb1ea7a3eed"><div class="ttname"><a href="namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *buffer, std::size_t bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
<div class="ttc" id="anamespacebeast_html_ad4d3145468ad564a92ac41b9812274a0"><div class="ttname"><a href="namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0">beast::rngfill</a></div><div class="ttdeci">void rngfill(void *const buffer, std::size_t const bytes, Generator &g)</div><div class="ttdef"><b>Definition:</b> <a href="rngfill_8h_source.html#l00034">rngfill.h:34</a></div></div>
|
||||||
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
||||||
<div class="ttc" id="atype_traits_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a></div></div>
|
<div class="ttc" id="atype_traits_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a></div></div>
|
||||||
</div><!-- fragment --></div><!-- contents -->
|
</div><!-- fragment --></div><!-- contents -->
|
||||||
|
|||||||
@@ -549,7 +549,7 @@ var searchData=
|
|||||||
['rmsubdir_5f_546',['rmSubDir_',['../classripple_1_1test_1_1detail_1_1DirGuard.html#a5991dd29cda0a39a140e86e93017b93f',1,'ripple::test::detail::DirGuard']]],
|
['rmsubdir_5f_546',['rmSubDir_',['../classripple_1_1test_1_1detail_1_1DirGuard.html#a5991dd29cda0a39a140e86e93017b93f',1,'ripple::test::detail::DirGuard']]],
|
||||||
['rng_547',['rng',['../classripple_1_1test_1_1csf_1_1Sim.html#acfa93cc12338759338e20bcbde50d0e3',1,'ripple::test::csf::Sim']]],
|
['rng_547',['rng',['../classripple_1_1test_1_1csf_1_1Sim.html#acfa93cc12338759338e20bcbde50d0e3',1,'ripple::test::csf::Sim']]],
|
||||||
['rngcpy_548',['rngcpy',['../namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1',1,'ripple::NodeStore']]],
|
['rngcpy_548',['rngcpy',['../namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1',1,'ripple::NodeStore']]],
|
||||||
['rngfill_549',['rngfill',['../namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed',1,'beast::rngfill(void *buffer, std::size_t bytes, Generator &g)'],['../namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc',1,'beast::rngfill(std::array< std::uint8_t, N > &a, Generator &g)']]],
|
['rngfill_549',['rngfill',['../namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0',1,'beast::rngfill(void *const buffer, std::size_t const bytes, Generator &g)'],['../namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc',1,'beast::rngfill(std::array< std::uint8_t, N > &a, Generator &g)']]],
|
||||||
['robusttransaction_5ftest_550',['RobustTransaction_test',['../classripple_1_1test_1_1RobustTransaction__test.html',1,'ripple::test']]],
|
['robusttransaction_5ftest_550',['RobustTransaction_test',['../classripple_1_1test_1_1RobustTransaction__test.html',1,'ripple::test']]],
|
||||||
['role_551',['role',['../classripple_1_1RPC_1_1VersionHandler.html#a29ce336996af62efeb47b429e3124080',1,'ripple::RPC::VersionHandler::role()'],['../structripple_1_1RPC_1_1Context.html#a20ec6d6aa84f8c76eeb90ad92fe25e20',1,'ripple::RPC::Context::role()'],['../classripple_1_1RPC_1_1LedgerHandler.html#acd0e3619810c4b6e344e012854130329',1,'ripple::RPC::LedgerHandler::role()']]],
|
['role_551',['role',['../classripple_1_1RPC_1_1VersionHandler.html#a29ce336996af62efeb47b429e3124080',1,'ripple::RPC::VersionHandler::role()'],['../structripple_1_1RPC_1_1Context.html#a20ec6d6aa84f8c76eeb90ad92fe25e20',1,'ripple::RPC::Context::role()'],['../classripple_1_1RPC_1_1LedgerHandler.html#acd0e3619810c4b6e344e012854130329',1,'ripple::RPC::LedgerHandler::role()']]],
|
||||||
['role_552',['Role',['../namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c',1,'ripple']]],
|
['role_552',['Role',['../namespaceripple.html#ae08fe18f17b24699ce41d3898fbb8c2c',1,'ripple']]],
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ var searchData=
|
|||||||
['rippleunlockescrowmpt_277',['rippleUnlockEscrowMPT',['../namespaceripple.html#a83da4b11e236a23156ac525c94494dcf',1,'ripple']]],
|
['rippleunlockescrowmpt_277',['rippleUnlockEscrowMPT',['../namespaceripple.html#a83da4b11e236a23156ac525c94494dcf',1,'ripple']]],
|
||||||
['rmdir_278',['rmDir',['../classripple_1_1test_1_1detail_1_1DirGuard.html#a9e20eb76f70e5404f202aa9ba73e46b8',1,'ripple::test::detail::DirGuard']]],
|
['rmdir_278',['rmDir',['../classripple_1_1test_1_1detail_1_1DirGuard.html#a9e20eb76f70e5404f202aa9ba73e46b8',1,'ripple::test::detail::DirGuard']]],
|
||||||
['rngcpy_279',['rngcpy',['../namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1',1,'ripple::NodeStore']]],
|
['rngcpy_279',['rngcpy',['../namespaceripple_1_1NodeStore.html#a7d4a8031401dc30a5634fc01033275e1',1,'ripple::NodeStore']]],
|
||||||
['rngfill_280',['rngfill',['../namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc',1,'beast::rngfill(std::array< std::uint8_t, N > &a, Generator &g)'],['../namespacebeast.html#a6894f6dcd09bceda3986ebb1ea7a3eed',1,'beast::rngfill(void *buffer, std::size_t bytes, Generator &g)']]],
|
['rngfill_280',['rngfill',['../namespacebeast.html#a3c2683b0fd77fcae6b6ef91fb90e5cbc',1,'beast::rngfill(std::array< std::uint8_t, N > &a, Generator &g)'],['../namespacebeast.html#ad4d3145468ad564a92ac41b9812274a0',1,'beast::rngfill(void *const buffer, std::size_t const bytes, Generator &g)']]],
|
||||||
['rolerequired_281',['roleRequired',['../namespaceripple_1_1RPC.html#a2cdc6dbc802b0d0ceaa59f95e3e6cfbd',1,'ripple::RPC']]],
|
['rolerequired_281',['roleRequired',['../namespaceripple_1_1RPC.html#a2cdc6dbc802b0d0ceaa59f95e3e6cfbd',1,'ripple::RPC']]],
|
||||||
['root_282',['root',['../namespaceripple.html#acdc87ea9c4ad1742d4aeebac963e8570',1,'ripple']]],
|
['root_282',['root',['../namespaceripple.html#acdc87ea9c4ad1742d4aeebac963e8570',1,'ripple']]],
|
||||||
['root_283',['Root',['../classJson_1_1Object_1_1Root.html#a219b43f3c061d0886b735f5c117c434b',1,'Json::Object::Root']]],
|
['root_283',['Root',['../classJson_1_1Object_1_1Root.html#a219b43f3c061d0886b735f5c117c434b',1,'Json::Object::Root']]],
|
||||||
|
|||||||
Reference in New Issue
Block a user