mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
deploy: afc05659ed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.5"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>rippled: HashPrefix.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -29,7 +29,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.5 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
@@ -46,6 +46,11 @@ $(function() {
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(0); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
@@ -107,15 +112,18 @@ $(function() {
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">namespace </span>detail {</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">constexpr</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
||||
<div class="foldopen" id="foldopen00032" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac"> 32</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac">make_hash_prefix</a>(<span class="keywordtype">char</span> a, <span class="keywordtype">char</span> b, <span class="keywordtype">char</span> c)</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>{</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keywordflow">return</span> (<span class="keyword">static_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a><span class="keyword">></span>(a) << 24) +</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> (<span class="keyword">static_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a><span class="keyword">></span>(b) << 16) +</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> (<span class="keyword">static_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a><span class="keyword">></span>(c) << 8);</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>} <span class="comment">// namespace detail</span></div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="foldopen" id="foldopen00055" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bd"> 55</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bd">HashPrefix</a> : <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> {</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda9ff03a73c38a945848893498e0c617a4">transactionID</a> = <a class="code hl_function" href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac">detail::make_hash_prefix</a>(<span class="charliteral">'T'</span>, <span class="charliteral">'X'</span>, <span class="charliteral">'N'</span>),</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
@@ -143,25 +151,28 @@ $(function() {
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">batch</a> = <a class="code hl_function" href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac">detail::make_hash_prefix</a>(<span class="charliteral">'B'</span>, <span class="charliteral">'C'</span>, <span class="charliteral">'H'</span>),</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="keyword">template</span> <<span class="keyword">class</span> Hasher></div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00098" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="namespaceripple.html#a51a6fc5662dc2d364f352e28610c5813"> 98</a></span><a class="code hl_function" href="namespaceripple.html#a06da0e52773c5c0841994317a3d5e3d0">hash_append</a>(Hasher& h, <a class="code hl_enumeration" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bd">HashPrefix</a> <span class="keyword">const</span>& hp) <span class="keyword">noexcept</span></div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>{</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">using </span><a class="code hl_function" href="namespacebeast.html#a91bb66f7828c0bb3c5f6eaa0255ba40c">beast::hash_append</a>;</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <a class="code hl_function" href="namespaceripple.html#a06da0e52773c5c0841994317a3d5e3d0">hash_append</a>(h, <span class="keyword">static_cast<</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a><span class="keyword">></span>(hp));</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="preprocessor">#endif</span></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="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html_a91bb66f7828c0bb3c5f6eaa0255ba40c"><div class="ttname"><a href="namespacebeast.html#a91bb66f7828c0bb3c5f6eaa0255ba40c">beast::hash_append</a></div><div class="ttdeci">std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept</div><div class="ttdoc">Logically concatenate input data to a Hasher.</div><div class="ttdef"><b>Definition:</b> <a href="hash__append_8h_source.html#l00234">hash_append.h:234</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a3266bff106a961696ef3397134178cac"><div class="ttname"><a href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac">ripple::detail::make_hash_prefix</a></div><div class="ttdeci">constexpr std::uint32_t make_hash_prefix(char a, char b, char c)</div><div class="ttdef"><b>Definition:</b> <a href="HashPrefix_8h_source.html#l00032">HashPrefix.h:32</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_a06da0e52773c5c0841994317a3d5e3d0"><div class="ttname"><a href="namespaceripple.html#a06da0e52773c5c0841994317a3d5e3d0">ripple::hash_append</a></div><div class="ttdeci">void hash_append(Hasher &h, Slice const &v)</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00199">Slice.h:199</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bd"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bd">ripple::HashPrefix</a></div><div class="ttdeci">HashPrefix</div><div class="ttdoc">Prefix for hashing functions.</div><div class="ttdef"><b>Definition:</b> <a href="HashPrefix_8h_source.html#l00055">HashPrefix.h:55</a></div></div>
|
||||
<div class="ttc" id="anamespacebeast_html_a91bb66f7828c0bb3c5f6eaa0255ba40c"><div class="ttname"><a href="namespacebeast.html#a91bb66f7828c0bb3c5f6eaa0255ba40c">beast::hash_append</a></div><div class="ttdeci">std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept</div><div class="ttdoc">Logically concatenate input data to a Hasher.</div><div class="ttdef"><b>Definition</b> <a href="hash__append_8h_source.html#l00234">hash_append.h:234</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a3266bff106a961696ef3397134178cac"><div class="ttname"><a href="namespaceripple_1_1detail.html#a3266bff106a961696ef3397134178cac">ripple::detail::make_hash_prefix</a></div><div class="ttdeci">constexpr std::uint32_t make_hash_prefix(char a, char b, char c)</div><div class="ttdef"><b>Definition</b> <a href="HashPrefix_8h_source.html#l00032">HashPrefix.h:32</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_a06da0e52773c5c0841994317a3d5e3d0"><div class="ttname"><a href="namespaceripple.html#a06da0e52773c5c0841994317a3d5e3d0">ripple::hash_append</a></div><div class="ttdeci">void hash_append(Hasher &h, Slice const &v)</div><div class="ttdef"><b>Definition</b> <a href="Slice_8h_source.html#l00199">Slice.h:199</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bd"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bd">ripple::HashPrefix</a></div><div class="ttdeci">HashPrefix</div><div class="ttdoc">Prefix for hashing functions.</div><div class="ttdef"><b>Definition</b> <a href="HashPrefix_8h_source.html#l00055">HashPrefix.h:55</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda0ec8825bcd36b1d9a4651f1fc088254b"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda0ec8825bcd36b1d9a4651f1fc088254b">ripple::HashPrefix::leafNode</a></div><div class="ttdeci">@ leafNode</div><div class="ttdoc">account state</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda2e941487d3c2b2204488c5cf3a9d7a28"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda2e941487d3c2b2204488c5cf3a9d7a28">ripple::HashPrefix::txSign</a></div><div class="ttdeci">@ txSign</div><div class="ttdoc">inner transaction to sign</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda555f976fd82d9e7e487770c44c7980bf"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda555f976fd82d9e7e487770c44c7980bf">ripple::HashPrefix::txNode</a></div><div class="ttdeci">@ txNode</div><div class="ttdoc">transaction plus metadata</div></div>
|
||||
@@ -178,7 +189,7 @@ $(function() {
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
||||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user