mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
deploy: 2406b28e64
This commit is contained in:
@@ -100,164 +100,157 @@ $(function() {
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/shamap/SHAMapItem.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/shamap/SHAMapNodeID.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/basics/CountedObject.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/basics/SHAMapHash.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#include <xrpl/basics/TaggedCache.h></span></div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <xrpl/protocol/Serializer.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/basics/SHAMapHash.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/protocol/Serializer.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></span></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="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a>></span></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a>></span></div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/string.html">string</a>></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">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">// These are wire-protocol identifiers used during serialization to encode the</span></div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment">// type of a node. They should not be arbitrarily be changed.</span></div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c"> 40</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">wireTypeTransaction</a> = 0;</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544"> 41</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">wireTypeAccountState</a> = 1;</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014"> 42</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">wireTypeInner</a> = 2;</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765"> 43</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">wireTypeCompressedInner</a> = 3;</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0"> 44</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">wireTypeTransactionWithMeta</a> = 4;</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58"> 46</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a> {</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">tnINNER</a> = 1,</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">tnTRANSACTION_NM</a> = 2, <span class="comment">// transaction, no metadata</span></div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">tnTRANSACTION_MD</a> = 3, <span class="comment">// transaction, with metadata</span></div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">tnACCOUNT_STATE</a> = 4</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>};</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment">// These are wire-protocol identifiers used during serialization to encode the</span></div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="comment">// type of a node. They should not be arbitrarily be changed.</span></div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c"> 35</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">wireTypeTransaction</a> = 0;</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544"> 36</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">wireTypeAccountState</a> = 1;</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014"> 37</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">wireTypeInner</a> = 2;</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765"> 38</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">wireTypeCompressedInner</a> = 3;</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0"> 39</a></span><span class="keyword">static</span> <span class="keyword">constexpr</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">wireTypeTransactionWithMeta</a> = 4;</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58"> 41</a></span><span class="keyword">enum class</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a> {</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">tnINNER</a> = 1,</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">tnTRANSACTION_NM</a> = 2, <span class="comment">// transaction, no metadata</span></div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">tnTRANSACTION_MD</a> = 3, <span class="comment">// transaction, with metadata</span></div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <a class="code hl_enumvalue" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">tnACCOUNT_STATE</a> = 4</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</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"><a class="line" href="classripple_1_1SHAMapTreeNode.html"> 48</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a></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="keyword">protected</span>:</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d"> 51</a></span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html"> 53</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a></div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span>{</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d"> 56</a></span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb"> 64</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb"> 59</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29"> 62</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">SHAMapTreeNode</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596"> 64</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596">operator=</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span><span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29"> 67</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">SHAMapTreeNode</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596"> 69</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596">operator=</a>(<a class="code hl_class" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad"> 77</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">SHAMapTreeNode</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) noexcept : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> {</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> }</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"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d"> 81</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">SHAMapTreeNode</a>(</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>,</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash) noexcept</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>(hash), <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> }</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3"> 90</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">~SHAMapTreeNode</a>() noexcept = default;</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <a class="code hl_namespace" href="namespacestd.html">std</a>::uint32_t</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1"> 116</a></span> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> }</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> </div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3"> 127</a></span> <a class="code hl_function" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">unshare</a>()</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> {</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a> = 0;</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> </div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gafbef5562609f6212266f6fb6f16984b9"> 134</a></span> <a class="code hl_function" href="group__SHAMap.html#gafbef5562609f6212266f6fb6f16984b9">clone</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd"> 139</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">updateHash</a>() = 0;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> </div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00"> 143</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">getHash</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</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> </div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090"> 150</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">getType</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> </div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875"> 154</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">isLeaf</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e"> 158</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">isInner</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da"> 162</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">serializeForWire</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> </div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61"> 166</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">serializeWithPrefix</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">getString</a>(<a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f"> 172</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> </div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a5631e2f77123e3b73229ef4c890ad60f">makeFromPrefix</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> </div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1b494609b7a732614554da92e235f57">makeFromWire</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode);</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a86766049429f10a7a04bca455542313e">makeTransaction</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> </div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a3c42ed30e5e522b0f9cfcb4a44ff197f">makeAccountState</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a14ef4be050f894475d155ea11f00d011">makeTransactionWithMeta</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span>};</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> </div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad"> 72</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">SHAMapTreeNode</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) noexcept : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</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="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d"> 76</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">SHAMapTreeNode</a>(</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>,</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash) noexcept</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> : <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>(hash), <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</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="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3"> 85</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">~SHAMapTreeNode</a>() noexcept = default;</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <a class="code hl_namespace" href="namespacestd.html">std</a>::uint32_t</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1"> 111</a></span> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> </div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3"> 122</a></span> <a class="code hl_function" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">unshare</a>()</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> {</div>
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a> = 0;</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> </div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gafbef5562609f6212266f6fb6f16984b9"> 129</a></span> <a class="code hl_function" href="group__SHAMap.html#gafbef5562609f6212266f6fb6f16984b9">clone</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code hl_function" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd"> 134</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">updateHash</a>() = 0;</div>
|
||||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00"> 138</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">getHash</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
||||
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a></div>
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090"> 145</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">getType</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> </div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875"> 149</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">isLeaf</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e"> 153</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">isInner</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da"> 157</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">serializeForWire</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> </div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61"> 161</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">serializeWithPrefix</a>(<a class="code hl_class" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">getString</a>(<a class="code hl_class" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f"> 167</a></span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> </div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a5631e2f77123e3b73229ef4c890ad60f">makeFromPrefix</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> </div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#ae1b494609b7a732614554da92e235f57">makeFromWire</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> rawNode);</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> </div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a86766049429f10a7a04bca455542313e">makeTransaction</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> </div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a3c42ed30e5e522b0f9cfcb4a44ff197f">makeAccountState</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <a class="code hl_function" href="classripple_1_1SHAMapTreeNode.html#a14ef4be050f894475d155ea11f00d011">makeTransactionWithMeta</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data, <a class="code hl_class" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span>};</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div>
|
||||
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> </div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span><span class="preprocessor">#endif</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_1SHAMapHash_html"><div class="ttname"><a href="classripple_1_1SHAMapHash.html">ripple::SHAMapHash</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapHash_8h_source.html#l00033">SHAMapHash.h:34</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_1SHAMapTreeNode_html"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html">ripple::SHAMapTreeNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00053">SHAMapTreeNode.h:54</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html">ripple::SHAMapTreeNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00048">SHAMapTreeNode.h:49</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a01b8cfb105c1f931d97926da231f0596"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a01b8cfb105c1f931d97926da231f0596">ripple::SHAMapTreeNode::operator=</a></div><div class="ttdeci">SHAMapTreeNode & operator=(SHAMapTreeNode const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a14ef4be050f894475d155ea11f00d011"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a14ef4be050f894475d155ea11f00d011">ripple::SHAMapTreeNode::makeTransactionWithMeta</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeTransactionWithMeta(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00055">SHAMapTreeNode.cpp:55</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a14ef4be050f894475d155ea11f00d011"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a14ef4be050f894475d155ea11f00d011">ripple::SHAMapTreeNode::makeTransactionWithMeta</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeTransactionWithMeta(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00052">SHAMapTreeNode.cpp:52</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a16ec50906918863e49031dbc14b2aea3"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">ripple::SHAMapTreeNode::~SHAMapTreeNode</a></div><div class="ttdeci">virtual ~SHAMapTreeNode() noexcept=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a2dbee3cfa72319c01b649f4c255a5a9d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">ripple::SHAMapTreeNode::getString</a></div><div class="ttdeci">virtual std::string getString(SHAMapNodeID const &) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00184">SHAMapTreeNode.cpp:184</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a3c42ed30e5e522b0f9cfcb4a44ff197f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a3c42ed30e5e522b0f9cfcb4a44ff197f">ripple::SHAMapTreeNode::makeAccountState</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeAccountState(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00084">SHAMapTreeNode.cpp:84</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a2dbee3cfa72319c01b649f4c255a5a9d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">ripple::SHAMapTreeNode::getString</a></div><div class="ttdeci">virtual std::string getString(SHAMapNodeID const &) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00181">SHAMapTreeNode.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a3c42ed30e5e522b0f9cfcb4a44ff197f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a3c42ed30e5e522b0f9cfcb4a44ff197f">ripple::SHAMapTreeNode::makeAccountState</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeAccountState(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00081">SHAMapTreeNode.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a3feaa925a9dc0e847049e6c4cfbb6875"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">ripple::SHAMapTreeNode::isLeaf</a></div><div class="ttdeci">virtual bool isLeaf() const =0</div><div class="ttdoc">Determines if this is a leaf node.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a5631e2f77123e3b73229ef4c890ad60f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a5631e2f77123e3b73229ef4c890ad60f">ripple::SHAMapTreeNode::makeFromPrefix</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeFromPrefix(Slice rawNode, SHAMapHash const &hash)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00148">SHAMapTreeNode.cpp:148</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a5631e2f77123e3b73229ef4c890ad60f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a5631e2f77123e3b73229ef4c890ad60f">ripple::SHAMapTreeNode::makeFromPrefix</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeFromPrefix(Slice rawNode, SHAMapHash const &hash)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00145">SHAMapTreeNode.cpp:145</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a5d6ab29492fb57f985168b8b67ba0f29"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(SHAMapTreeNode const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a6bdd2d5b35200db414ead5041495f7dd"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">ripple::SHAMapTreeNode::updateHash</a></div><div class="ttdeci">virtual void updateHash()=0</div><div class="ttdoc">Recalculate the hash of this node.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a705bca4eb622097a917a3cac5c3a013d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">ripple::SHAMapTreeNode::hash_</a></div><div class="ttdeci">SHAMapHash hash_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00056">SHAMapTreeNode.h:56</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a75913d63884566b418422b8114d274ad"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid) noexcept</div><div class="ttdoc">Construct a node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00077">SHAMapTreeNode.h:77</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a705bca4eb622097a917a3cac5c3a013d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">ripple::SHAMapTreeNode::hash_</a></div><div class="ttdeci">SHAMapHash hash_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00051">SHAMapTreeNode.h:51</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a75913d63884566b418422b8114d274ad"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid) noexcept</div><div class="ttdoc">Construct a node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00072">SHAMapTreeNode.h:72</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7aff7622ccd8ffd0be9367518b39436e"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">ripple::SHAMapTreeNode::isInner</a></div><div class="ttdeci">virtual bool isInner() const =0</div><div class="ttdoc">Determines if this is an inner node.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7f27d867484104446867c0f50adc5ffb"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">ripple::SHAMapTreeNode::cowid_</a></div><div class="ttdeci">std::uint32_t cowid_</div><div class="ttdoc">Determines the owning SHAMap, if any.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00064">SHAMapTreeNode.h:64</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7f27d867484104446867c0f50adc5ffb"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">ripple::SHAMapTreeNode::cowid_</a></div><div class="ttdeci">std::uint32_t cowid_</div><div class="ttdoc">Determines the owning SHAMap, if any.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00059">SHAMapTreeNode.h:59</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a80832069374ff1ff0473b1eca6ece09f"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a80832069374ff1ff0473b1eca6ece09f">ripple::SHAMapTreeNode::invariants</a></div><div class="ttdeci">virtual void invariants(bool is_root=false) const =0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a86766049429f10a7a04bca455542313e"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a86766049429f10a7a04bca455542313e">ripple::SHAMapTreeNode::makeTransaction</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeTransaction(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00040">SHAMapTreeNode.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ac061590096c0673e149b4b75340ea02d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid, SHAMapHash const &hash) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00081">SHAMapTreeNode.h:81</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_acb3c6246b5d9ec2162ef4a9c18959a00"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">ripple::SHAMapTreeNode::getHash</a></div><div class="ttdeci">SHAMapHash const & getHash() const</div><div class="ttdoc">Return the hash of this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00143">SHAMapTreeNode.h:143</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a86766049429f10a7a04bca455542313e"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a86766049429f10a7a04bca455542313e">ripple::SHAMapTreeNode::makeTransaction</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeTransaction(Slice data, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00037">SHAMapTreeNode.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ac061590096c0673e149b4b75340ea02d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(std::uint32_t cowid, SHAMapHash const &hash) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00076">SHAMapTreeNode.h:76</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_acb3c6246b5d9ec2162ef4a9c18959a00"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#acb3c6246b5d9ec2162ef4a9c18959a00">ripple::SHAMapTreeNode::getHash</a></div><div class="ttdeci">SHAMapHash const & getHash() const</div><div class="ttdoc">Return the hash of this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00138">SHAMapTreeNode.h:138</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ad46f1e9ad54cbfff3af4c21991f659da"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">ripple::SHAMapTreeNode::serializeForWire</a></div><div class="ttdeci">virtual void serializeForWire(Serializer &) const =0</div><div class="ttdoc">Serialize the node in a format appropriate for sending over the wire.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1888014b78e231a2ce381f8871fad61"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">ripple::SHAMapTreeNode::serializeWithPrefix</a></div><div class="ttdeci">virtual void serializeWithPrefix(Serializer &) const =0</div><div class="ttdoc">Serialize the node in a format appropriate for hashing.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1b494609b7a732614554da92e235f57"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1b494609b7a732614554da92e235f57">ripple::SHAMapTreeNode::makeFromWire</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeFromWire(Slice rawNode)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00116">SHAMapTreeNode.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1b494609b7a732614554da92e235f57"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1b494609b7a732614554da92e235f57">ripple::SHAMapTreeNode::makeFromWire</a></div><div class="ttdeci">static std::shared_ptr< SHAMapTreeNode > makeFromWire(Slice rawNode)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00113">SHAMapTreeNode.cpp:113</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_aebfb8013182e80c9c2436764cf018090"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">ripple::SHAMapTreeNode::getType</a></div><div class="ttdeci">virtual SHAMapNodeType getType() const =0</div><div class="ttdoc">Determines the type of node.</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_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00044">Slice.h:45</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#l00041">Serializer.h:42</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00045">Slice.h:46</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="agroup__SHAMap_html_ga766bfbd4b6d8fdfd9e60ebcd603da6a3"><div class="ttname"><a href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">ripple::SHAMapTreeNode::unshare</a></div><div class="ttdeci">void unshare()</div><div class="ttdoc">If this node is shared with another map, mark it as no longer shared.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00127">SHAMapTreeNode.h:127</a></div></div>
|
||||
<div class="ttc" id="agroup__SHAMap_html_gac9adec7146a8bea60fe6acf6c1ed98d1"><div class="ttname"><a href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">ripple::SHAMapTreeNode::cowid</a></div><div class="ttdeci">std::uint32_t cowid() const</div><div class="ttdoc">Returns the SHAMap that owns this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00116">SHAMapTreeNode.h:116</a></div></div>
|
||||
<div class="ttc" id="agroup__SHAMap_html_ga766bfbd4b6d8fdfd9e60ebcd603da6a3"><div class="ttname"><a href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">ripple::SHAMapTreeNode::unshare</a></div><div class="ttdeci">void unshare()</div><div class="ttdoc">If this node is shared with another map, mark it as no longer shared.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00122">SHAMapTreeNode.h:122</a></div></div>
|
||||
<div class="ttc" id="agroup__SHAMap_html_gac9adec7146a8bea60fe6acf6c1ed98d1"><div class="ttname"><a href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">ripple::SHAMapTreeNode::cowid</a></div><div class="ttdeci">std::uint32_t cowid() const</div><div class="ttdoc">Returns the SHAMap that owns this node.</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00111">SHAMapTreeNode.h:111</a></div></div>
|
||||
<div class="ttc" id="agroup__SHAMap_html_gafbef5562609f6212266f6fb6f16984b9"><div class="ttname"><a href="group__SHAMap.html#gafbef5562609f6212266f6fb6f16984b9">ripple::SHAMapTreeNode::clone</a></div><div class="ttdeci">virtual std::shared_ptr< SHAMapTreeNode > clone(std::uint32_t cowid) const =0</div><div class="ttdoc">Make a copy of this node, setting the owner.</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="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
|
||||
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a13f504b80b64e611448d2ca65dc08544"><div class="ttname"><a href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">ripple::wireTypeAccountState</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeAccountState</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00041">SHAMapTreeNode.h:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32350973ba137a0eb4153335a37dd765"><div class="ttname"><a href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">ripple::wireTypeCompressedInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeCompressedInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00043">SHAMapTreeNode.h:43</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac55314c93492ab8b29354cf6356b7014"><div class="ttname"><a href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">ripple::wireTypeInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00042">SHAMapTreeNode.h:42</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac956f6a414aa8c9a20c598f4388e013c"><div class="ttname"><a href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">ripple::wireTypeTransaction</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransaction</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00040">SHAMapTreeNode.h:40</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_acfb0a178d3b182e58fb4736dc90347f0"><div class="ttname"><a href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">ripple::wireTypeTransactionWithMeta</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransactionWithMeta</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00044">SHAMapTreeNode.h:44</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">ripple::SHAMapNodeType</a></div><div class="ttdeci">SHAMapNodeType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00046">SHAMapTreeNode.h:46</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a13f504b80b64e611448d2ca65dc08544"><div class="ttname"><a href="namespaceripple.html#a13f504b80b64e611448d2ca65dc08544">ripple::wireTypeAccountState</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeAccountState</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00036">SHAMapTreeNode.h:36</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a32350973ba137a0eb4153335a37dd765"><div class="ttname"><a href="namespaceripple.html#a32350973ba137a0eb4153335a37dd765">ripple::wireTypeCompressedInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeCompressedInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00038">SHAMapTreeNode.h:38</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac55314c93492ab8b29354cf6356b7014"><div class="ttname"><a href="namespaceripple.html#ac55314c93492ab8b29354cf6356b7014">ripple::wireTypeInner</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00037">SHAMapTreeNode.h:37</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac956f6a414aa8c9a20c598f4388e013c"><div class="ttname"><a href="namespaceripple.html#ac956f6a414aa8c9a20c598f4388e013c">ripple::wireTypeTransaction</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransaction</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00035">SHAMapTreeNode.h:35</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_acfb0a178d3b182e58fb4736dc90347f0"><div class="ttname"><a href="namespaceripple.html#acfb0a178d3b182e58fb4736dc90347f0">ripple::wireTypeTransactionWithMeta</a></div><div class="ttdeci">static constexpr unsigned char const wireTypeTransactionWithMeta</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00039">SHAMapTreeNode.h:39</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">ripple::SHAMapNodeType</a></div><div class="ttdeci">SHAMapNodeType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00041">SHAMapTreeNode.h:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">ripple::SHAMapNodeType::tnTRANSACTION_MD</a></div><div class="ttdeci">@ tnTRANSACTION_MD</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">ripple::SHAMapNodeType::tnINNER</a></div><div class="ttdeci">@ tnINNER</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">ripple::SHAMapNodeType::tnTRANSACTION_NM</a></div><div class="ttdeci">@ tnTRANSACTION_NM</div></div>
|
||||
|
||||
Reference in New Issue
Block a user