mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +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: SHAMapNodeID.cpp 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()"
|
||||
@@ -105,6 +110,7 @@ $(function() {
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">static</span> <a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="foldopen" id="foldopen00030" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f"> 30</a></span><a class="code hl_function" href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f">depthMask</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth)</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">enum</span> { mask_size = 65 };</div>
|
||||
@@ -130,8 +136,10 @@ $(function() {
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">static</span> masks_t <span class="keyword">const</span> masks;</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">return</span> masks.entry[depth];</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="comment">// canonicalize the hash to a node ID for this depth</span></div>
|
||||
<div class="foldopen" id="foldopen00057" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapNodeID.html#a07d89225c82c518e88d15b2ed3138ca5"> 57</a></span><a class="code hl_function" href="classripple_1_1SHAMapNodeID.html#ab778be2116f66638981a7e9c0dd9ac6b">SHAMapNodeID::SHAMapNodeID</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depth, <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash)</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> : id_(hash), depth_(depth)</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span>{</div>
|
||||
@@ -142,8 +150,10 @@ $(function() {
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <a class="code hl_variable" href="classripple_1_1SHAMapNodeID.html#a7cff46032ca875e7f9beaeade09e1c9f">id_</a> == (<a class="code hl_variable" href="classripple_1_1SHAMapNodeID.html#a7cff46032ca875e7f9beaeade09e1c9f">id_</a> & <a class="code hl_function" href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f">depthMask</a>(depth)),</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="stringliteral">"ripple::SHAMapNodeID::SHAMapNodeID : hash and depth inputs do match"</span>);</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span>}</div>
|
||||
</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/string/basic_string.html">std::string</a></div>
|
||||
<div class="foldopen" id="foldopen00069" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapNodeID.html#a60517c4d78ae36f53c01b84865d5ba7e"> 69</a></span><a class="code hl_function" href="classripple_1_1SHAMapNodeID.html#a60517c4d78ae36f53c01b84865d5ba7e">SHAMapNodeID::getRawString</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a> s(33);</div>
|
||||
@@ -151,8 +161,10 @@ $(function() {
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> s.<a class="code hl_function" href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">add8</a>(<a class="code hl_variable" href="classripple_1_1SHAMapNodeID.html#aea1b5520b7d49f8dd05211bbec6465eb">depth_</a>);</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> s.<a class="code hl_function" href="classripple_1_1Serializer.html#afb9f001046e4767db6780bbee86d93c3">getString</a>();</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a></div>
|
||||
<div class="foldopen" id="foldopen00078" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapNodeID.html#a23e606ffcd8a863d0f678f040001aedf"> 78</a></span><a class="code hl_function" href="classripple_1_1SHAMapNodeID.html#a23e606ffcd8a863d0f678f040001aedf">SHAMapNodeID::getChildNodeID</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> m)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> XRPL_ASSERT(</div>
|
||||
@@ -182,8 +194,10 @@ $(function() {
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> node.id_.<a class="code hl_function" href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">begin</a>()[<a class="code hl_variable" href="classripple_1_1SHAMapNodeID.html#aea1b5520b7d49f8dd05211bbec6465eb">depth_</a> / 2] |= (<a class="code hl_variable" href="classripple_1_1SHAMapNodeID.html#aea1b5520b7d49f8dd05211bbec6465eb">depth_</a> & 1) ? m : (m << 4);</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">return</span> node;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span>}</div>
|
||||
</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>[[nodiscard]] <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<SHAMapNodeID></a></div>
|
||||
<div class="foldopen" id="foldopen00109" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="namespaceripple.html#a2f08d50eaefe0b52afe21deac6048746"> 109</a></span><a class="code hl_function" href="namespaceripple.html#a2f08d50eaefe0b52afe21deac6048746">deserializeSHAMapNodeID</a>(<span class="keywordtype">void</span> <span class="keyword">const</span>* data, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> size)</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/utility/optional.html">std::optional<SHAMapNodeID></a> ret;</div>
|
||||
@@ -202,8 +216,10 @@ $(function() {
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> <span class="keywordflow">return</span> ret;</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span>[[nodiscard]] <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span></div>
|
||||
<div class="foldopen" id="foldopen00129" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="namespaceripple.html#a179c66641961c1b976e7c050860064a3"> 129</a></span><a class="code hl_function" href="namespaceripple.html#a179c66641961c1b976e7c050860064a3">selectBranch</a>(<a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>, <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash)</div>
|
||||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span>{</div>
|
||||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> <span class="keyword">auto</span> <span class="keyword">const</span> depth = <span class="keywordtype">id</span>.getDepth();</div>
|
||||
@@ -218,8 +234,10 @@ $(function() {
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> branch < <a class="code hl_variable" href="classripple_1_1SHAMap.html#af8599964238eb94d795606f220654db9">SHAMap::branchFactor</a>, <span class="stringliteral">"ripple::selectBranch : maximum result"</span>);</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">return</span> branch;</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span>SHAMapNodeID</div>
|
||||
<div class="foldopen" id="foldopen00145" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapNodeID.html#a9ff9dfe2cb92d0b3d5a52ad6e3541416"> 145</a></span><a class="code hl_function" href="classripple_1_1SHAMapNodeID.html#a9ff9dfe2cb92d0b3d5a52ad6e3541416">SHAMapNodeID::createID</a>(<span class="keywordtype">int</span> depth, <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& key)</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span>{</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> XRPL_ASSERT(</div>
|
||||
@@ -227,38 +245,39 @@ $(function() {
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="stringliteral">"ripple::SHAMapNodeID::createID : valid branch input"</span>);</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classripple_1_1SHAMapNodeID.html#ab778be2116f66638981a7e9c0dd9ac6b">SHAMapNodeID</a>(depth, key & <a class="code hl_function" href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f">depthMask</a>(depth));</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html">ripple::SHAMapNodeID</a></div><div class="ttdoc">Identifies a node inside a SHAMap.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8h_source.html#l00033">SHAMapNodeID.h:34</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a23e606ffcd8a863d0f678f040001aedf"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a23e606ffcd8a863d0f678f040001aedf">ripple::SHAMapNodeID::getChildNodeID</a></div><div class="ttdeci">SHAMapNodeID getChildNodeID(unsigned int m) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00078">SHAMapNodeID.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a60517c4d78ae36f53c01b84865d5ba7e"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a60517c4d78ae36f53c01b84865d5ba7e">ripple::SHAMapNodeID::getRawString</a></div><div class="ttdeci">std::string getRawString() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00069">SHAMapNodeID.cpp:69</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a7cff46032ca875e7f9beaeade09e1c9f"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a7cff46032ca875e7f9beaeade09e1c9f">ripple::SHAMapNodeID::id_</a></div><div class="ttdeci">uint256 id_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8h_source.html#l00036">SHAMapNodeID.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a9ff9dfe2cb92d0b3d5a52ad6e3541416"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a9ff9dfe2cb92d0b3d5a52ad6e3541416">ripple::SHAMapNodeID::createID</a></div><div class="ttdeci">static SHAMapNodeID createID(int depth, uint256 const &key)</div><div class="ttdoc">Create a SHAMapNodeID of a node with the depth of the node and the key of a leaf.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00145">SHAMapNodeID.cpp:145</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html">ripple::SHAMapNodeID</a></div><div class="ttdoc">Identifies a node inside a SHAMap.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8h_source.html#l00033">SHAMapNodeID.h:34</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a23e606ffcd8a863d0f678f040001aedf"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a23e606ffcd8a863d0f678f040001aedf">ripple::SHAMapNodeID::getChildNodeID</a></div><div class="ttdeci">SHAMapNodeID getChildNodeID(unsigned int m) const</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00078">SHAMapNodeID.cpp:78</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a60517c4d78ae36f53c01b84865d5ba7e"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a60517c4d78ae36f53c01b84865d5ba7e">ripple::SHAMapNodeID::getRawString</a></div><div class="ttdeci">std::string getRawString() const</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00069">SHAMapNodeID.cpp:69</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a7cff46032ca875e7f9beaeade09e1c9f"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a7cff46032ca875e7f9beaeade09e1c9f">ripple::SHAMapNodeID::id_</a></div><div class="ttdeci">uint256 id_</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8h_source.html#l00036">SHAMapNodeID.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_a9ff9dfe2cb92d0b3d5a52ad6e3541416"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#a9ff9dfe2cb92d0b3d5a52ad6e3541416">ripple::SHAMapNodeID::createID</a></div><div class="ttdeci">static SHAMapNodeID createID(int depth, uint256 const &key)</div><div class="ttdoc">Create a SHAMapNodeID of a node with the depth of the node and the key of a leaf.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00145">SHAMapNodeID.cpp:145</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_ab778be2116f66638981a7e9c0dd9ac6b"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#ab778be2116f66638981a7e9c0dd9ac6b">ripple::SHAMapNodeID::SHAMapNodeID</a></div><div class="ttdeci">SHAMapNodeID()=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_aea1b5520b7d49f8dd05211bbec6465eb"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#aea1b5520b7d49f8dd05211bbec6465eb">ripple::SHAMapNodeID::depth_</a></div><div class="ttdeci">unsigned int depth_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8h_source.html#l00037">SHAMapNodeID.h:37</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMap_html_a16961b82bb1c661845b14c88b4e80dc3"><div class="ttname"><a href="classripple_1_1SHAMap.html#a16961b82bb1c661845b14c88b4e80dc3">ripple::SHAMap::leafDepth</a></div><div class="ttdeci">static constexpr unsigned int leafDepth</div><div class="ttdoc">The depth of the hash map: data is only present in the leaves.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMap_8h_source.html#l00123">SHAMap.h:123</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMap_html_af8599964238eb94d795606f220654db9"><div class="ttname"><a href="classripple_1_1SHAMap.html#af8599964238eb94d795606f220654db9">ripple::SHAMap::branchFactor</a></div><div class="ttdeci">static constexpr unsigned int branchFactor</div><div class="ttdoc">Number of children each non-leaf node has (the 'radix tree' part of the map)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMap_8h_source.html#l00119">SHAMap.h:119</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:41</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_a96daec54ca0c8ec7f6e7e683e9abbe0e"><div class="ttname"><a href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">ripple::Serializer::addBitString</a></div><div class="ttdeci">int addBitString(base_uint< Bits, Tag > const &v)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00131">Serializer.h:131</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_ab6de064efbc9b2efaeff2b069a02b644"><div class="ttname"><a href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">ripple::Serializer::add8</a></div><div class="ttdeci">int add8(unsigned char i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00156">Serializer.cpp:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_afb9f001046e4767db6780bbee86d93c3"><div class="ttname"><a href="classripple_1_1Serializer.html#afb9f001046e4767db6780bbee86d93c3">ripple::Serializer::getString</a></div><div class="ttdeci">std::string getString() const</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8h_source.html#l00238">Serializer.h:238</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapNodeID_html_aea1b5520b7d49f8dd05211bbec6465eb"><div class="ttname"><a href="classripple_1_1SHAMapNodeID.html#aea1b5520b7d49f8dd05211bbec6465eb">ripple::SHAMapNodeID::depth_</a></div><div class="ttdeci">unsigned int depth_</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8h_source.html#l00037">SHAMapNodeID.h:37</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMap_html_a16961b82bb1c661845b14c88b4e80dc3"><div class="ttname"><a href="classripple_1_1SHAMap.html#a16961b82bb1c661845b14c88b4e80dc3">ripple::SHAMap::leafDepth</a></div><div class="ttdeci">static constexpr unsigned int leafDepth</div><div class="ttdoc">The depth of the hash map: data is only present in the leaves.</div><div class="ttdef"><b>Definition</b> <a href="SHAMap_8h_source.html#l00123">SHAMap.h:123</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMap_html_af8599964238eb94d795606f220654db9"><div class="ttname"><a href="classripple_1_1SHAMap.html#af8599964238eb94d795606f220654db9">ripple::SHAMap::branchFactor</a></div><div class="ttdeci">static constexpr unsigned int branchFactor</div><div class="ttdoc">Number of children each non-leaf node has (the 'radix tree' part of the map)</div><div class="ttdef"><b>Definition</b> <a href="SHAMap_8h_source.html#l00119">SHAMap.h:119</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html"><div class="ttname"><a href="classripple_1_1Serializer.html">ripple::Serializer</a></div><div class="ttdef"><b>Definition</b> <a href="Serializer_8h_source.html#l00040">Serializer.h:41</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_a96daec54ca0c8ec7f6e7e683e9abbe0e"><div class="ttname"><a href="classripple_1_1Serializer.html#a96daec54ca0c8ec7f6e7e683e9abbe0e">ripple::Serializer::addBitString</a></div><div class="ttdeci">int addBitString(base_uint< Bits, Tag > const &v)</div><div class="ttdef"><b>Definition</b> <a href="Serializer_8h_source.html#l00131">Serializer.h:131</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_ab6de064efbc9b2efaeff2b069a02b644"><div class="ttname"><a href="classripple_1_1Serializer.html#ab6de064efbc9b2efaeff2b069a02b644">ripple::Serializer::add8</a></div><div class="ttdeci">int add8(unsigned char i)</div><div class="ttdef"><b>Definition</b> <a href="Serializer_8cpp_source.html#l00156">Serializer.cpp:156</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Serializer_html_afb9f001046e4767db6780bbee86d93c3"><div class="ttname"><a href="classripple_1_1Serializer.html#afb9f001046e4767db6780bbee86d93c3">ripple::Serializer::getString</a></div><div class="ttdeci">std::string getString() const</div><div class="ttdef"><b>Definition</b> <a href="Serializer_8h_source.html#l00238">Serializer.h:238</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_a2ffd09234d574e5554c5d84199a9f287"><div class="ttname"><a href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">ripple::base_uint::begin</a></div><div class="ttdeci">iterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00136">base_uint.h:136</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a4e9de7a706374a3d016b89c9ecb4f80d"><div class="ttname"><a href="classripple_1_1base__uint.html#a4e9de7a706374a3d016b89c9ecb4f80d">ripple::base_uint< 256 >::fromVoid</a></div><div class="ttdeci">static base_uint fromVoid(void const *data)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00319">base_uint.h:319</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a2ffd09234d574e5554c5d84199a9f287"><div class="ttname"><a href="classripple_1_1base__uint.html#a2ffd09234d574e5554c5d84199a9f287">ripple::base_uint::begin</a></div><div class="ttdeci">iterator begin()</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00136">base_uint.h:136</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a4e9de7a706374a3d016b89c9ecb4f80d"><div class="ttname"><a href="classripple_1_1base__uint.html#a4e9de7a706374a3d016b89c9ecb4f80d">ripple::base_uint< 256 >::fromVoid</a></div><div class="ttdeci">static base_uint fromVoid(void const *data)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00319">base_uint.h:319</a></div></div>
|
||||
<div class="ttc" id="aemplace_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional/emplace.html">std::optional::emplace</a></div><div class="ttdeci">T emplace(T... args)</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_a179c66641961c1b976e7c050860064a3"><div class="ttname"><a href="namespaceripple.html#a179c66641961c1b976e7c050860064a3">ripple::selectBranch</a></div><div class="ttdeci">unsigned int selectBranch(SHAMapNodeID const &id, uint256 const &hash)</div><div class="ttdoc">Returns the branch that would contain the given hash.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00129">SHAMapNodeID.cpp:129</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a2f08d50eaefe0b52afe21deac6048746"><div class="ttname"><a href="namespaceripple.html#a2f08d50eaefe0b52afe21deac6048746">ripple::deserializeSHAMapNodeID</a></div><div class="ttdeci">std::optional< SHAMapNodeID > deserializeSHAMapNodeID(void const *data, std::size_t size)</div><div class="ttdoc">Return an object representing a serialized SHAMap Node ID.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00109">SHAMapNodeID.cpp:109</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint< 256 > uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00558">base_uint.h:558</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9d1e8c14112c6d8c126307e128ff7b4f"><div class="ttname"><a href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f">ripple::depthMask</a></div><div class="ttdeci">static uint256 const & depthMask(unsigned int depth)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8cpp_source.html#l00030">SHAMapNodeID.cpp:30</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint< Bits, Tag > const &a)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</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_a179c66641961c1b976e7c050860064a3"><div class="ttname"><a href="namespaceripple.html#a179c66641961c1b976e7c050860064a3">ripple::selectBranch</a></div><div class="ttdeci">unsigned int selectBranch(SHAMapNodeID const &id, uint256 const &hash)</div><div class="ttdoc">Returns the branch that would contain the given hash.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00129">SHAMapNodeID.cpp:129</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a2f08d50eaefe0b52afe21deac6048746"><div class="ttname"><a href="namespaceripple.html#a2f08d50eaefe0b52afe21deac6048746">ripple::deserializeSHAMapNodeID</a></div><div class="ttdeci">std::optional< SHAMapNodeID > deserializeSHAMapNodeID(void const *data, std::size_t size)</div><div class="ttdoc">Return an object representing a serialized SHAMap Node ID.</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00109">SHAMapNodeID.cpp:109</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint< 256 > uint256</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00558">base_uint.h:558</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9d1e8c14112c6d8c126307e128ff7b4f"><div class="ttname"><a href="namespaceripple.html#a9d1e8c14112c6d8c126307e128ff7b4f">ripple::depthMask</a></div><div class="ttdeci">static uint256 const & depthMask(unsigned int depth)</div><div class="ttdef"><b>Definition</b> <a href="SHAMapNodeID_8cpp_source.html#l00030">SHAMapNodeID.cpp:30</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint< Bits, Tag > const &a)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</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><!-- 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