mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 11:35:53 +00:00
deploy: 5c8e072b7f
This commit is contained in:
@@ -91,524 +91,274 @@ $(function() {
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define RIPPLE_SHAMAP_SHAMAPTREENODE_H_INCLUDED</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/basics/TaggedCache.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/shamap/SHAMapItem.h></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/shamap/SHAMapNodeID.h></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a 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 name="l00029"></a><span class="lineno"> 29</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 name="l00030"></a><span class="lineno"> 30</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 name="l00031"></a><span class="lineno"> 31</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 name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d"> 35</a></span> <span class="keyword">enum</span> <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d">SHANodeFormat</a> {</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dac04013643fe82a69b008807f1a255775"> 36</a></span>  <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dac04013643fe82a69b008807f1a255775">snfPREFIX</a> = 1, <span class="comment">// Form that hashes to its official hash</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36da82251cdf5d561efb6b1838672e116253"> 37</a></span>  <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36da82251cdf5d561efb6b1838672e116253">snfWIRE</a> = 2, <span class="comment">// Compressed form used on the wire</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dadcd7fe1629f926f2bc0a27d06e0b4802"> 38</a></span>  <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dadcd7fe1629f926f2bc0a27d06e0b4802">snfHASH</a> = 3, <span class="comment">// just the hash</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> };</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// A SHAMapHash is the hash of a node in a SHAMap, and also the</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// type of the hash of the entire SHAMap.</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html"> 43</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830"> 45</a></span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/basics/CountedObject.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/basics/TaggedCache.h></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/shamap/SHAMapItem.h></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <ripple/shamap/SHAMapNodeID.h></span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</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 name="l00030"></a><span class="lineno"> 30</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 name="l00031"></a><span class="lineno"> 31</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 name="l00032"></a><span class="lineno"> 32</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 name="l00033"></a><span class="lineno"> 33</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// These are wire-protocol identifiers used during serialization to encode the</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// type of a node. They should not be arbitrarily be changed.</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceripple.html#a358175eb11ec25bda82f8bfc46077581"> 38</a></span> <span class="keyword">static</span> constexpr <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code" href="namespaceripple.html#a358175eb11ec25bda82f8bfc46077581">wireTypeTransaction</a> = 0;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespaceripple.html#a2431568230bc455a272a4d23cf1020f8"> 39</a></span> <span class="keyword">static</span> constexpr <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code" href="namespaceripple.html#a2431568230bc455a272a4d23cf1020f8">wireTypeAccountState</a> = 1;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae4966411bf110181aa1b1ef4a2d8c690"> 40</a></span> <span class="keyword">static</span> constexpr <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code" href="namespaceripple.html#ae4966411bf110181aa1b1ef4a2d8c690">wireTypeInner</a> = 2;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac329442511917ee4fb295996041263e9"> 41</a></span> <span class="keyword">static</span> constexpr <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code" href="namespaceripple.html#ac329442511917ee4fb295996041263e9">wireTypeCompressedInner</a> = 3;</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae4ab9a7d71bae5a1e2bdb826e737474d"> 42</a></span> <span class="keyword">static</span> constexpr <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <span class="keyword">const</span> <a class="code" href="namespaceripple.html#ae4ab9a7d71bae5a1e2bdb826e737474d">wireTypeTransactionWithMeta</a> = 4;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// A SHAMapHash is the hash of a node in a SHAMap, and also the</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// type of the hash of the entire SHAMap.</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classripple_1_1SHAMapHash.html#a0e92760f4e5e96fbeb7aeb45ca3c7a84">SHAMapHash</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb"> 49</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb">SHAMapHash</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash) : <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>(hash)</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  {</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f"> 54</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f">as_uint256</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a>&</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2"> 59</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2">as_uint256</a>()</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  {</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13"> 64</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13">isZero</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a6fd7dba1ad932f4c1246c9a090c145e5">isZero</a>();</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  }</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f"> 69</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f">isNonZero</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">isNonZero</a>();</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">int</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb"> 74</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb">signum</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a3cd8618ff1a55ff0216c45b1cbbb0d31">signum</a>();</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3"> 79</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3">zero</a>()</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  {</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a1f9135f2eef3ec702d5f17e679733e8e">zero</a>();</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724"> 85</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724">operator==</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  {</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">return</span> x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a> == y.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858"> 91</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858">operator<</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a> < y.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8"> 97</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8">operator<<</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>& os, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  {</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">return</span> os << x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  }</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49"> 103</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">to_string</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  {</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">to_string</a>(x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">template</span> <<span class="keyword">class</span> H></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892"> 110</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">hash_append</a>(H& h, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  {</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">hash_append</a>(h, x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>);</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> };</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="namespaceripple.html#a762966134ba824d239c412265f68e762"> 117</a></span> <a class="code" href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd">operator!=</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> {</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> !(x == y);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> }</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html"> 122</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> {</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f"> 125</a></span>  <span class="keyword">enum</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> {</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa7d2117d97c00ea6cd908fb9456fa5ac8"> 126</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa7d2117d97c00ea6cd908fb9456fa5ac8">tnERROR</a> = 0,</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3"> 127</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3">tnINNER</a> = 1,</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1b3c155717a3a38e221227adfca005a7"> 128</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1b3c155717a3a38e221227adfca005a7">tnTRANSACTION_NM</a> = 2, <span class="comment">// transaction, no metadata</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1df3b78277a42252737ee96a727d4735"> 129</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1df3b78277a42252737ee96a727d4735">tnTRANSACTION_MD</a> = 3, <span class="comment">// transaction, with metadata</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1ac378e4702b7b3dceba0d2cb1026a5d"> 130</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1ac378e4702b7b3dceba0d2cb1026a5d">tnACCOUNT_STATE</a> = 4</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  };</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html"> 47</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830"> 49</a></span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classripple_1_1SHAMapHash.html#a0e92760f4e5e96fbeb7aeb45ca3c7a84">SHAMapHash</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb"> 53</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb">SHAMapHash</a>(<a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash) : <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>(hash)</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f"> 58</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f">as_uint256</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a>&</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2"> 63</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2">as_uint256</a>()</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13"> 68</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13">isZero</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a6fd7dba1ad932f4c1246c9a090c145e5">isZero</a>();</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f"> 73</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f">isNonZero</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">isNonZero</a>();</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">int</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb"> 78</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb">signum</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a3cd8618ff1a55ff0216c45b1cbbb0d31">signum</a>();</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3"> 83</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3">zero</a>()</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>.<a class="code" href="classripple_1_1base__uint.html#a1f9135f2eef3ec702d5f17e679733e8e">zero</a>();</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724"> 89</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724">operator==</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  {</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a> == y.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858"> 95</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858">operator<</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  {</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a> < y.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  }</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>&</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8"> 101</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8">operator<<</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a>& os, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> os << x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>;</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">friend</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49"> 107</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">to_string</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  {</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">to_string</a>(x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  }</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">template</span> <<span class="keyword">class</span> H></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892"> 114</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">hash_append</a>(H& h, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x)</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  {</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">hash_append</a>(h, x.<a class="code" href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">hash_</a>);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> };</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="namespaceripple.html#a762966134ba824d239c412265f68e762"> 121</a></span> <a class="code" href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd">operator!=</a>(<a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& x, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& y)</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> {</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordflow">return</span> !(x == y);</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58"> 126</a></span> <span class="keyword">enum class</span> <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a> {</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a603cc9fa7c68a8ccd6d25fbb0dd83248">tnINNER</a> = 1,</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a9b447756a7d7ddf4e828beeb38d079f6">tnTRANSACTION_NM</a> = 2, <span class="comment">// transaction, no metadata</span></div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58a5065e45315e5eab27c63b2dabd8ad150">tnTRANSACTION_MD</a> = 3, <span class="comment">// transaction, with metadata</span></div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">tnACCOUNT_STATE</a> = 4</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> };</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d"> 134</a></span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a>;</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#ab06fd22b6fadd92aedeb8a9f3bef273a"> 135</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ab06fd22b6fadd92aedeb8a9f3bef273a">mHash</a>;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a4a3f326fdcbc05976d4fa56cc03d33e0"> 136</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4a3f326fdcbc05976d4fa56cc03d33e0">mSeq</a>;</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html"> 133</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a></div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> {</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d"> 136</a></span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">virtual</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#af3430d08a6a6dbee7c262c77eef54a57">~SHAMapAbstractNode</a>() = 0;</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">SHAMapAbstractNode</a>(<a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a>&</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#acd0d460002a8e1fb26b288e3a39cfee6">operator=</a>(<a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  </div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">SHAMapAbstractNode</a>(<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">SHAMapAbstractNode</a>(<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6f3f6c8b0f7e5a7adac2a5c31e0a3d8a">getSeq</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4473cbb305f81ec908c8173ae0de6fb9">setSeq</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> s);</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a5edcccaa282bf888fd02627aedfef5f6">getNodeHash</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a></div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a9d2aedcbf833f8cdf78aa01b253b4115">getType</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ac6bacdca95843712978b4a8d38904f5f">isLeaf</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a12f84ac5268602ad2a3e32e0be7e04c5">isInner</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4ff7f51ba884e6202e666e617c4d17c5">isValid</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1920e10c7e023eba9312b5c8cc81a39d">isInBounds</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ac47161ee86963446808588137d0b1472">updateHash</a>() = 0;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a979678a54d6b342496c0fcc0680f6a49">addRaw</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&, <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d">SHANodeFormat</a> format) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keyword">virtual</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a8159df4fd7a8af32f5ae7343273d9a00">getString</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">virtual</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ab565c1041b29abfd391522448715f452">clone</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keyword">virtual</span> <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a8b384d5537ba8e9102a107beda5b2dfe">key</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a561ac9070543a07093078738aa758089">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 name="l00177"></a><span class="lineno"> 177</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a09b930438f02ca9b5279cbfd78f5b037">makeFromPrefix</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> rawNode, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1ff32f1526fc282631db5877441ed798">makeFromWire</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> rawNode);</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#acc24498d7f31afcf983f2b1584231239">makeTransaction</a>(</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classripple_1_1Slice.html">Slice</a> data,</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4774d63ae48621eb60f20cf3cb2cca7c">makeAccountState</a>(</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="classripple_1_1Slice.html">Slice</a> data,</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#acbfc9766fe96d2cc300ff5ab29b033be">makeTransactionWithMeta</a>(</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classripple_1_1Slice.html">Slice</a> data,</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> };</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html"> 207</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapInnerNode.html">SHAMapInnerNode</a> : <span class="keyword">public</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> {</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a9c5a779b0bbd40e5ce29848f5f49dc62"> 209</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array<SHAMapHash, 16></a> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a9c5a779b0bbd40e5ce29848f5f49dc62">mHashes</a>;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#aebc71b6d80676d850b40a149645b99bf"> 210</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a> <a class="code" href="classripple_1_1SHAMapInnerNode.html#aebc71b6d80676d850b40a149645b99bf">mChildren</a>[16];</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a457b64179499364bc56cae4b388e6c61"> 211</a></span>  <span class="keywordtype">int</span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a457b64179499364bc56cae4b388e6c61">mIsBranch</a> = 0;</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a8bd429cbb478721d570038879f20ca7c"> 212</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a8bd429cbb478721d570038879f20ca7c">mFullBelowGen</a> = 0;</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#ade4fdfad9804690e890a095c9e0cc089"> 214</a></span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1SHAMapInnerNode.html#ade4fdfad9804690e890a095c9e0cc089">childLock</a>;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#ab42b05663c1fd7cbdd6e498eb0ee20fe">SHAMapInnerNode</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a7b7b66b2c97e56e639e1078b7fa32a95">clone</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb"> 144</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a5d6ab29492fb57f985168b8b67ba0f29">SHAMapTreeNode</a>(<a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a1058bcc690b705eb93336f85d77f0c97">operator=</a>(<a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> <span class="keyword">const</span>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad"> 157</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a75913d63884566b418422b8114d274ad">SHAMapTreeNode</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) noexcept : <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d"> 161</a></span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#ac061590096c0673e149b4b75340ea02d">SHAMapTreeNode</a>(</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>,</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash) noexcept</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  : <a class="code" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>(hash), <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>(<a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>)</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  {</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">virtual</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a16ec50906918863e49031dbc14b2aea3">~SHAMapTreeNode</a>() noexcept = default;</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="namespacestd.html">std</a>::uint32_t</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1"> 196</a></span>  <a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a>;</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  }</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3"> 207</a></span>  <a class="code" href="group__SHAMap.html#ga766bfbd4b6d8fdfd9e60ebcd603da6a3">unshare</a>()</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  {</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7f27d867484104446867c0f50adc5ffb">cowid_</a> = 0;</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  }</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">virtual</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="group__SHAMap.html#gaa47d992a6d4f439258714054f0c497a5">clone</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <a class="code" href="group__SHAMap.html#gac9adec7146a8bea60fe6acf6c1ed98d1">cowid</a>) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a6bdd2d5b35200db414ead5041495f7dd">updateHash</a>() = 0;</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a13fcdfee8199a8e54429edf6b9085ae0">isEmpty</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a5b4f103d62324f6efb4e21a8a6404c27">isEmptyBranch</a>(<span class="keywordtype">int</span> m) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordtype">int</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#aec522cbc8cfb50ed87ebf8c634a40276">getBranchCount</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a8932a6ff79c447556da4b17e908bd008">getChildHash</a>(<span class="keywordtype">int</span> m) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#ad2415c0cbfb4d15c77c4cc64320ff39f">setChild</a>(<span class="keywordtype">int</span> m, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a> <span class="keyword">const</span>& child);</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#aef62a596be719f5de0f8f970963dbb13">shareChild</a>(<span class="keywordtype">int</span> m, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a> <span class="keyword">const</span>& child);</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a>*</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a9f9336ea557832c66b20037cc82fd491">getChildPointer</a>(<span class="keywordtype">int</span> branch);</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a21e39b900b7402e094bfd06a35e6490f">getChild</a>(<span class="keywordtype">int</span> branch);</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keyword">virtual</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#af3bcf653d615c8cbbf76d775df409125">canonicalizeChild</a>(<span class="keywordtype">int</span> branch, <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a> node);</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">// sync functions</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a597b4db5c84297776d2e8ebdbe9e1b6f">isFullBelow</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> generation) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#ad03f4f678da9104ef53946bb07bdf8ae">setFullBelowGen</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> gen);</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#aa8ee90419c5516ba69fbeceba6317afe">updateHash</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#ad83701be0c7a908a61601d1bcbf7ecb1">updateHashDeep</a>();</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a36068238a945999fd954ed429a355988">addRaw</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&, <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d">SHANodeFormat</a> format) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#aa91785cf9d4979e8dd4dd9c183ad9c5e">getString</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a016901cf53e7da6e2b32e32eb024be00">key</a>() <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a964421b7b7b071f1a5daa95afa8f0fe9">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a454e86c9ed693f8921d53a915d8b1415"> 223</a></span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a454e86c9ed693f8921d53a915d8b1415">getHash</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="keyword"> </span>{</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a705bca4eb622097a917a3cac5c3a013d">hash_</a>;</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">virtual</span> <a class="code" href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58">SHAMapNodeType</a></div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#aebfb8013182e80c9c2436764cf018090">getType</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a3feaa925a9dc0e847049e6c4cfbb6875">isLeaf</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  </div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7aff7622ccd8ffd0be9367518b39436e">isInner</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  </div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ad46f1e9ad54cbfff3af4c21991f659da">serializeForWire</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  </div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ae1888014b78e231a2ce381f8871fad61">serializeWithPrefix</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&) <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keyword">virtual</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a2dbee3cfa72319c01b649f4c255a5a9d">getString</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  </div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" 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 name="l00253"></a><span class="lineno"> 253</span>  </div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a5631e2f77123e3b73229ef4c890ad60f">makeFromPrefix</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> rawNode, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  </div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ae1b494609b7a732614554da92e235f57">makeFromWire</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> rawNode);</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a2b6c4bfbe8c3365eabe572cdcbb0a89a">makeFullInner</a>(</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <a class="code" href="classripple_1_1Slice.html">Slice</a> data,</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a86766049429f10a7a04bca455542313e">makeTransaction</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a3c42ed30e5e522b0f9cfcb4a44ff197f">makeAccountState</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a9efec4c7630be19cbe06cdadbd9e082a">makeCompressedInner</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapTreeNode></a></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a14ef4be050f894475d155ea11f00d011">makeTransactionWithMeta</a>(<a class="code" href="classripple_1_1Slice.html">Slice</a> data, <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash, <span class="keywordtype">bool</span> hashValid);</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> };</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment">// SHAMapTreeNode represents a leaf, and may eventually be renamed to reflect</span></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment">// that.</span></div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html"> 273</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a> : <span class="keyword">public</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a></div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> {</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a75727e0b58820d659bab779abe47958b"> 276</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a75727e0b58820d659bab779abe47958b">mItem</a>;</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ac31e792b3db471e6e82d533ebae3e1fd">SHAMapTreeNode</a>(<span class="keyword">const</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ae298c29b95210db875ac82c3998f1a00">operator=</a>(<span class="keyword">const</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html">SHAMapTreeNode</a>&) = <span class="keyword">delete</span>;</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ac31e792b3db471e6e82d533ebae3e1fd">SHAMapTreeNode</a>(</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> item,</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type,</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq);</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ac31e792b3db471e6e82d533ebae3e1fd">SHAMapTreeNode</a>(</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> item,</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type,</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash);</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapAbstractNode></a></div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#af5ec725929e10dbf2a9e53367f2efe18">clone</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a7fedc9c5913db56974a07e233f693ba7">addRaw</a>(<a class="code" href="classripple_1_1Serializer.html">Serializer</a>&, <a class="code" href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d">SHANodeFormat</a> format) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a19980d15bf2e6f696332ba11c0d53a96">key</a>() <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ae1d0de94c4d12e76faab0f651e878646">invariants</a>(<span class="keywordtype">bool</span> is_root = <span class="keyword">false</span>) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="keyword">public</span>: <span class="comment">// public only to SHAMap</span></div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="comment">// item node function</span></div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a07ea0d7e3412068ffce83764bd6ee339">hasItem</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a076439e930f0e2a07d9538d6a7937c09">peekItem</a>() <span class="keyword">const</span>;</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#aa8afc31144547ce1e204baef5f3b05bc">setItem</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> i, <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type);</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  </div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#ac2b0cde4d620682f48fff7948fa5690d">getString</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>&) <span class="keyword">const override</span>;</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classripple_1_1SHAMapTreeNode.html#a1b14cdde38cddbc2d7b85dd05bbb1c11">updateHash</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> };</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  </div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="comment">// SHAMapAbstractNode</span></div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  </div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a7be8072fb9bb06b971c1944e6fb81081"> 319</a></span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">SHAMapAbstractNode::SHAMapAbstractNode</a>(<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq)</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  : mType(type), mSeq(seq)</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> {</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> }</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  </div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#aa3a443c358fd4ca72adb1fcdf88e6d2d"> 324</a></span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">SHAMapAbstractNode::SHAMapAbstractNode</a>(</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">TNType</a> type,</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq,</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>& hash)</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  : mType(type), mHash(hash), mSeq(seq)</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> {</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> }</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  </div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a6f3f6c8b0f7e5a7adac2a5c31e0a3d8a"> 333</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6f3f6c8b0f7e5a7adac2a5c31e0a3d8a">SHAMapAbstractNode::getSeq</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4a3f326fdcbc05976d4fa56cc03d33e0">mSeq</a>;</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> }</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  </div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a4473cbb305f81ec908c8173ae0de6fb9"> 339</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4473cbb305f81ec908c8173ae0de6fb9">SHAMapAbstractNode::setSeq</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> s)</div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> {</div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4a3f326fdcbc05976d4fa56cc03d33e0">mSeq</a> = s;</div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> }</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a5edcccaa282bf888fd02627aedfef5f6"> 345</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a5edcccaa282bf888fd02627aedfef5f6">SHAMapAbstractNode::getNodeHash</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ab06fd22b6fadd92aedeb8a9f3bef273a">mHash</a>;</div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> }</div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  </div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">SHAMapAbstractNode::TNType</a></div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a9d2aedcbf833f8cdf78aa01b253b4115"> 351</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a9d2aedcbf833f8cdf78aa01b253b4115">SHAMapAbstractNode::getType</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a>;</div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> }</div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  </div>
|
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#ac6bacdca95843712978b4a8d38904f5f"> 357</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#ac6bacdca95843712978b4a8d38904f5f">SHAMapAbstractNode::isLeaf</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordflow">return</span> (<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a> == <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1b3c155717a3a38e221227adfca005a7">tnTRANSACTION_NM</a>) || (<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a> == <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1df3b78277a42252737ee96a727d4735">tnTRANSACTION_MD</a>) ||</div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  (<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a> == <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1ac378e4702b7b3dceba0d2cb1026a5d">tnACCOUNT_STATE</a>);</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> }</div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  </div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a12f84ac5268602ad2a3e32e0be7e04c5"> 364</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a12f84ac5268602ad2a3e32e0be7e04c5">SHAMapAbstractNode::isInner</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a> == <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3">tnINNER</a>;</div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> }</div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a4ff7f51ba884e6202e666e617c4d17c5"> 370</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a4ff7f51ba884e6202e666e617c4d17c5">SHAMapAbstractNode::isValid</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">mType</a> != <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa7d2117d97c00ea6cd908fb9456fa5ac8">tnERROR</a>;</div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> }</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  </div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapAbstractNode.html#a1920e10c7e023eba9312b5c8cc81a39d"> 376</a></span> <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a1920e10c7e023eba9312b5c8cc81a39d">SHAMapAbstractNode::isInBounds</a>(<a class="code" href="classripple_1_1SHAMapNodeID.html">SHAMapNodeID</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="comment">// Nodes at depth 64 must be leaves</span></div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordflow">return</span> (!<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a12f84ac5268602ad2a3e32e0be7e04c5">isInner</a>() || (<span class="keywordtype">id</span>.getDepth() < 64));</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> }</div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  </div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> <span class="comment">// SHAMapInnerNode</span></div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  </div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#ab42b05663c1fd7cbdd6e498eb0ee20fe"> 384</a></span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#ab42b05663c1fd7cbdd6e498eb0ee20fe">SHAMapInnerNode::SHAMapInnerNode</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq)</div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  : <a class="code" href="classripple_1_1SHAMapAbstractNode.html">SHAMapAbstractNode</a>(tnINNER, seq)</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> {</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> }</div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  </div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a5b4f103d62324f6efb4e21a8a6404c27"> 390</a></span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a5b4f103d62324f6efb4e21a8a6404c27">SHAMapInnerNode::isEmptyBranch</a>(<span class="keywordtype">int</span> m)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">return</span> (<a class="code" href="classripple_1_1SHAMapInnerNode.html#a457b64179499364bc56cae4b388e6c61">mIsBranch</a> & (1 << m)) == 0;</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> }</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  </div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="keyword">inline</span> <a class="code" href="classripple_1_1SHAMapHash.html">SHAMapHash</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a8932a6ff79c447556da4b17e908bd008"> 396</a></span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a8932a6ff79c447556da4b17e908bd008">SHAMapInnerNode::getChildHash</a>(<span class="keywordtype">int</span> m)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  assert((m >= 0) && (m < 16) && (<a class="code" href="classripple_1_1SHAMapAbstractNode.html#a9d2aedcbf833f8cdf78aa01b253b4115">getType</a>() == <a class="code" href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3">tnINNER</a>));</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a9c5a779b0bbd40e5ce29848f5f49dc62">mHashes</a>[m];</div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> }</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  </div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#a597b4db5c84297776d2e8ebdbe9e1b6f"> 403</a></span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a597b4db5c84297776d2e8ebdbe9e1b6f">SHAMapInnerNode::isFullBelow</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> generation)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#a8bd429cbb478721d570038879f20ca7c">mFullBelowGen</a> == generation;</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> }</div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  </div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapInnerNode.html#ad03f4f678da9104ef53946bb07bdf8ae"> 409</a></span> <a class="code" href="classripple_1_1SHAMapInnerNode.html#ad03f4f678da9104ef53946bb07bdf8ae">SHAMapInnerNode::setFullBelowGen</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> gen)</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> {</div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <a class="code" href="classripple_1_1SHAMapInnerNode.html#a8bd429cbb478721d570038879f20ca7c">mFullBelowGen</a> = gen;</div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> }</div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="comment">// SHAMapTreeNode</span></div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  </div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> <span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a07ea0d7e3412068ffce83764bd6ee339"> 417</a></span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a07ea0d7e3412068ffce83764bd6ee339">SHAMapTreeNode::hasItem</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">return</span> bool(<a class="code" href="classripple_1_1SHAMapTreeNode.html#a75727e0b58820d659bab779abe47958b">mItem</a>);</div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> }</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  </div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="keyword">inline</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<SHAMapItem const></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="classripple_1_1SHAMapTreeNode.html#a076439e930f0e2a07d9538d6a7937c09"> 423</a></span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a076439e930f0e2a07d9538d6a7937c09">SHAMapTreeNode::peekItem</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordflow">return</span> <a class="code" href="classripple_1_1SHAMapTreeNode.html#a75727e0b58820d659bab779abe47958b">mItem</a>;</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> }</div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  </div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  </div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  </div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a3cd8618ff1a55ff0216c45b1cbbb0d31"><div class="ttname"><a href="classripple_1_1base__uint.html#a3cd8618ff1a55ff0216c45b1cbbb0d31">ripple::base_uint::signum</a></div><div class="ttdeci">int signum() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00219">base_uint.h:219</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a09b930438f02ca9b5279cbfd78f5b037"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a09b930438f02ca9b5279cbfd78f5b037">ripple::SHAMapAbstractNode::makeFromPrefix</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeFromPrefix(Slice rawNode, SHAMapHash const &hash)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00258">SHAMapTreeNode.cpp:258</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ac31e792b3db471e6e82d533ebae3e1fd"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ac31e792b3db471e6e82d533ebae3e1fd">ripple::SHAMapTreeNode::SHAMapTreeNode</a></div><div class="ttdeci">SHAMapTreeNode(const SHAMapTreeNode &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_ab06fd22b6fadd92aedeb8a9f3bef273a"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#ab06fd22b6fadd92aedeb8a9f3bef273a">ripple::SHAMapAbstractNode::mHash</a></div><div class="ttdeci">SHAMapHash mHash</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00135">SHAMapTreeNode.h:135</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a2b6c4bfbe8c3365eabe572cdcbb0a89a"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a2b6c4bfbe8c3365eabe572cdcbb0a89a">ripple::SHAMapInnerNode::makeFullInner</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeFullInner(Slice data, std::uint32_t seq, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00165">SHAMapTreeNode.cpp:165</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#l00196">SHAMapTreeNode.h:196</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a3cd8618ff1a55ff0216c45b1cbbb0d31"><div class="ttname"><a href="classripple_1_1base__uint.html#a3cd8618ff1a55ff0216c45b1cbbb0d31">ripple::base_uint::signum</a></div><div class="ttdeci">int signum() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00229">base_uint.h:229</a></div></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 class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0fa1ac378e4702b7b3dceba0d2cb1026a5d"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1ac378e4702b7b3dceba0d2cb1026a5d">ripple::SHAMapAbstractNode::tnACCOUNT_STATE</a></div><div class="ttdeci">@ tnACCOUNT_STATE</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00130">SHAMapTreeNode.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a9c5a779b0bbd40e5ce29848f5f49dc62"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a9c5a779b0bbd40e5ce29848f5f49dc62">ripple::SHAMapInnerNode::mHashes</a></div><div class="ttdeci">std::array< SHAMapHash, 16 > mHashes</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00209">SHAMapTreeNode.h:209</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_ad2bffc75e554b89befbb9388e07392c0"><div class="ttname"><a href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">ripple::base_uint::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00480">base_uint.h:480</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a61c1440035476b92c3cfbf392f4d0858"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858">ripple::SHAMapHash::operator<</a></div><div class="ttdeci">friend bool operator<(SHAMapHash const &x, SHAMapHash const &y)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00091">SHAMapTreeNode.h:91</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0fa1b3c155717a3a38e221227adfca005a7"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1b3c155717a3a38e221227adfca005a7">ripple::SHAMapAbstractNode::tnTRANSACTION_NM</a></div><div class="ttdeci">@ tnTRANSACTION_NM</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00128">SHAMapTreeNode.h:128</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a7fedc9c5913db56974a07e233f693ba7"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a7fedc9c5913db56974a07e233f693ba7">ripple::SHAMapTreeNode::addRaw</a></div><div class="ttdeci">void addRaw(Serializer &, SHANodeFormat format) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00404">SHAMapTreeNode.cpp:404</a></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="aclassripple_1_1base__uint_html_ad2bffc75e554b89befbb9388e07392c0"><div class="ttname"><a href="classripple_1_1base__uint.html#ad2bffc75e554b89befbb9388e07392c0">ripple::base_uint::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00444">base_uint.h:444</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a61c1440035476b92c3cfbf392f4d0858"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a61c1440035476b92c3cfbf392f4d0858">ripple::SHAMapHash::operator<</a></div><div class="ttdeci">friend bool operator<(SHAMapHash const &x, SHAMapHash const &y)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00095">SHAMapTreeNode.h:95</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:44</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a1b14cdde38cddbc2d7b85dd05bbb1c11"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a1b14cdde38cddbc2d7b85dd05bbb1c11">ripple::SHAMapTreeNode::updateHash</a></div><div class="ttdeci">bool updateHash() override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00325">SHAMapTreeNode.cpp:325</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a1920e10c7e023eba9312b5c8cc81a39d"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a1920e10c7e023eba9312b5c8cc81a39d">ripple::SHAMapAbstractNode::isInBounds</a></div><div class="ttdeci">bool isInBounds(SHAMapNodeID const &id) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00376">SHAMapTreeNode.h:376</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a8b384d5537ba8e9102a107beda5b2dfe"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a8b384d5537ba8e9102a107beda5b2dfe">ripple::SHAMapAbstractNode::key</a></div><div class="ttdeci">virtual uint256 const & key() const =0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a8bd429cbb478721d570038879f20ca7c"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a8bd429cbb478721d570038879f20ca7c">ripple::SHAMapInnerNode::mFullBelowGen</a></div><div class="ttdeci">std::uint32_t mFullBelowGen</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00212">SHAMapTreeNode.h:212</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae298c29b95210db875ac82c3998f1a00"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae298c29b95210db875ac82c3998f1a00">ripple::SHAMapTreeNode::operator=</a></div><div class="ttdeci">SHAMapTreeNode & operator=(const SHAMapTreeNode &)=delete</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac8683dfc227ea8c196fc4e4f2080e36dac04013643fe82a69b008807f1a255775"><div class="ttname"><a href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dac04013643fe82a69b008807f1a255775">ripple::snfPREFIX</a></div><div class="ttdeci">@ snfPREFIX</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00036">SHAMapTreeNode.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_af01163fbbe9d95238e446c5b3ae1fda2"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2">ripple::SHAMapHash::as_uint256</a></div><div class="ttdeci">uint256 & as_uint256()</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_1SHAMapInnerNode_html_a016901cf53e7da6e2b32e32eb024be00"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a016901cf53e7da6e2b32e32eb024be00">ripple::SHAMapInnerNode::key</a></div><div class="ttdeci">uint256 const & key() const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00620">SHAMapTreeNode.cpp:620</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a9d2aedcbf833f8cdf78aa01b253b4115"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a9d2aedcbf833f8cdf78aa01b253b4115">ripple::SHAMapAbstractNode::getType</a></div><div class="ttdeci">TNType getType() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00351">SHAMapTreeNode.h:351</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a9da182ac6ba19109c55bd2a6cd745a13"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13">ripple::SHAMapHash::isZero</a></div><div class="ttdeci">bool isZero() const</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_1SHAMapAbstractNode_html_a8159df4fd7a8af32f5ae7343273d9a00"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a8159df4fd7a8af32f5ae7343273d9a00">ripple::SHAMapAbstractNode::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#l00492">SHAMapTreeNode.cpp:492</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a561ac9070543a07093078738aa758089"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a561ac9070543a07093078738aa758089">ripple::SHAMapAbstractNode::invariants</a></div><div class="ttdeci">virtual void invariants(bool is_root=false) const =0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a36068238a945999fd954ed429a355988"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a36068238a945999fd954ed429a355988">ripple::SHAMapInnerNode::addRaw</a></div><div class="ttdeci">void addRaw(Serializer &, SHANodeFormat format) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00354">SHAMapTreeNode.cpp:354</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="ttdef"><b>Definition:</b> <a href="SHAMapNodeID_8h_source.html#l00033">SHAMapNodeID.h:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a6e42edf954f9565ebffd6a9036d6646f"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f">ripple::SHAMapHash::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00069">SHAMapTreeNode.h:69</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b"><div class="ttname"><a href="namespaceripple.html#ae0356b1de00f841c554c830be509dd58ab2364e40a67b08ba6170314afc07d07b">ripple::SHAMapNodeType::tnACCOUNT_STATE</a></div><div class="ttdeci">@ tnACCOUNT_STATE</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#l00144">SHAMapTreeNode.h:144</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#l00126">SHAMapTreeNode.h:126</a></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_a1058bcc690b705eb93336f85d77f0c97"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a1058bcc690b705eb93336f85d77f0c97">ripple::SHAMapTreeNode::operator=</a></div><div class="ttdeci">SHAMapTreeNode & operator=(SHAMapTreeNode const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_af01163fbbe9d95238e446c5b3ae1fda2"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#af01163fbbe9d95238e446c5b3ae1fda2">ripple::SHAMapHash::as_uint256</a></div><div class="ttdeci">uint256 & as_uint256()</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00063">SHAMapTreeNode.h:63</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="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#l00207">SHAMapTreeNode.h:207</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a358175eb11ec25bda82f8bfc46077581"><div class="ttname"><a href="namespaceripple.html#a358175eb11ec25bda82f8bfc46077581">ripple::wireTypeTransaction</a></div><div class="ttdeci">static constexpr unsigned const char wireTypeTransaction</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00038">SHAMapTreeNode.h:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a9da182ac6ba19109c55bd2a6cd745a13"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a9da182ac6ba19109c55bd2a6cd745a13">ripple::SHAMapHash::isZero</a></div><div class="ttdeci">bool isZero() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00068">SHAMapTreeNode.h:68</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae4966411bf110181aa1b1ef4a2d8c690"><div class="ttname"><a href="namespaceripple.html#ae4966411bf110181aa1b1ef4a2d8c690">ripple::wireTypeInner</a></div><div class="ttdeci">static constexpr unsigned const char wireTypeInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00040">SHAMapTreeNode.h:40</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#l00119">SHAMapTreeNode.cpp:119</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:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a6e42edf954f9565ebffd6a9036d6646f"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a6e42edf954f9565ebffd6a9036d6646f">ripple::SHAMapHash::isNonZero</a></div><div class="ttdeci">bool isNonZero() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00073">SHAMapTreeNode.h:73</a></div></div>
|
||||
<div class="ttc" id="agroup__SHAMap_html_gaa47d992a6d4f439258714054f0c497a5"><div class="ttname"><a href="group__SHAMap.html#gaa47d992a6d4f439258714054f0c497a5">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="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#l00187">SHAMapTreeNode.cpp:187</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_1SHAMapHash_html_a0e92760f4e5e96fbeb7aeb45ca3c7a84"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a0e92760f4e5e96fbeb7aeb45ca3c7a84">ripple::SHAMapHash::SHAMapHash</a></div><div class="ttdeci">SHAMapHash()=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_aaeb135a0a5197696917894de16c5aeb7"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#aaeb135a0a5197696917894de16c5aeb7">ripple::SHAMapAbstractNode::SHAMapAbstractNode</a></div><div class="ttdeci">SHAMapAbstractNode(SHAMapAbstractNode const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a9f9336ea557832c66b20037cc82fd491"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a9f9336ea557832c66b20037cc82fd491">ripple::SHAMapInnerNode::getChildPointer</a></div><div class="ttdeci">SHAMapAbstractNode * getChildPointer(int branch)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00576">SHAMapTreeNode.cpp:576</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="SHAMapTreeNode_8h_source.html#l00043">SHAMapTreeNode.h:43</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a7b7b66b2c97e56e639e1078b7fa32a95"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a7b7b66b2c97e56e639e1078b7fa32a95">ripple::SHAMapInnerNode::clone</a></div><div class="ttdeci">std::shared_ptr< SHAMapAbstractNode > clone(std::uint32_t seq) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00039">SHAMapTreeNode.cpp:39</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_ab565c1041b29abfd391522448715f452"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#ab565c1041b29abfd391522448715f452">ripple::SHAMapAbstractNode::clone</a></div><div class="ttdeci">virtual std::shared_ptr< SHAMapAbstractNode > clone(std::uint32_t seq) const =0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad2415c0cbfb4d15c77c4cc64320ff39f"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad2415c0cbfb4d15c77c4cc64320ff39f">ripple::SHAMapInnerNode::setChild</a></div><div class="ttdeci">void setChild(int m, std::shared_ptr< SHAMapAbstractNode > const &child)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00543">SHAMapTreeNode.cpp:543</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a4473cbb305f81ec908c8173ae0de6fb9"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a4473cbb305f81ec908c8173ae0de6fb9">ripple::SHAMapAbstractNode::setSeq</a></div><div class="ttdeci">void setSeq(std::uint32_t s)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00339">SHAMapTreeNode.h:339</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a5b4f103d62324f6efb4e21a8a6404c27"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a5b4f103d62324f6efb4e21a8a6404c27">ripple::SHAMapInnerNode::isEmptyBranch</a></div><div class="ttdeci">bool isEmptyBranch(int m) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00390">SHAMapTreeNode.h:390</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a45075cb4486425ad7f55bb1ed87d5a49"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">ripple::SHAMapHash::to_string</a></div><div class="ttdeci">friend std::string to_string(SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00103">SHAMapTreeNode.h:103</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_acc24498d7f31afcf983f2b1584231239"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#acc24498d7f31afcf983f2b1584231239">ripple::SHAMapAbstractNode::makeTransaction</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeTransaction(Slice data, std::uint32_t seq, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00079">SHAMapTreeNode.cpp:79</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#l00136">SHAMapTreeNode.h:136</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="SHAMapTreeNode_8h_source.html#l00047">SHAMapTreeNode.h:47</a></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>
|
||||
<div class="ttc" id="anamespaceripple_html_ae4ab9a7d71bae5a1e2bdb826e737474d"><div class="ttname"><a href="namespaceripple.html#ae4ab9a7d71bae5a1e2bdb826e737474d">ripple::wireTypeTransactionWithMeta</a></div><div class="ttdeci">static constexpr unsigned const char wireTypeTransactionWithMeta</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_a2431568230bc455a272a4d23cf1020f8"><div class="ttname"><a href="namespaceripple.html#a2431568230bc455a272a4d23cf1020f8">ripple::wireTypeAccountState</a></div><div class="ttdeci">static constexpr unsigned const char wireTypeAccountState</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00039">SHAMapTreeNode.h:39</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a45075cb4486425ad7f55bb1ed87d5a49"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a45075cb4486425ad7f55bb1ed87d5a49">ripple::SHAMapHash::to_string</a></div><div class="ttdeci">friend std::string to_string(SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00107">SHAMapTreeNode.h:107</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_1SHAMapInnerNode_html_aa91785cf9d4979e8dd4dd9c183ad9c5e"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aa91785cf9d4979e8dd4dd9c183ad9c5e">ripple::SHAMapInnerNode::getString</a></div><div class="ttdeci">std::string getString(SHAMapNodeID const &) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00503">SHAMapTreeNode.cpp:503</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a19980d15bf2e6f696332ba11c0d53a96"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a19980d15bf2e6f696332ba11c0d53a96">ripple::SHAMapTreeNode::key</a></div><div class="ttdeci">uint256 const & key() const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00628">SHAMapTreeNode.cpp:628</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a979678a54d6b342496c0fcc0680f6a49"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a979678a54d6b342496c0fcc0680f6a49">ripple::SHAMapAbstractNode::addRaw</a></div><div class="ttdeci">virtual void addRaw(Serializer &, SHANodeFormat format) const =0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ae1d0de94c4d12e76faab0f651e878646"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ae1d0de94c4d12e76faab0f651e878646">ripple::SHAMapTreeNode::invariants</a></div><div class="ttdeci">void invariants(bool is_root=false) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00661">SHAMapTreeNode.cpp:661</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_acd0d460002a8e1fb26b288e3a39cfee6"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#acd0d460002a8e1fb26b288e3a39cfee6">ripple::SHAMapAbstractNode::operator=</a></div><div class="ttdeci">SHAMapAbstractNode & operator=(SHAMapAbstractNode const &)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ab42b05663c1fd7cbdd6e498eb0ee20fe"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ab42b05663c1fd7cbdd6e498eb0ee20fe">ripple::SHAMapInnerNode::SHAMapInnerNode</a></div><div class="ttdeci">SHAMapInnerNode(std::uint32_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00384">SHAMapTreeNode.h:384</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a12f84ac5268602ad2a3e32e0be7e04c5"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a12f84ac5268602ad2a3e32e0be7e04c5">ripple::SHAMapAbstractNode::isInner</a></div><div class="ttdeci">bool isInner() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00364">SHAMapTreeNode.h:364</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a8932a6ff79c447556da4b17e908bd008"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a8932a6ff79c447556da4b17e908bd008">ripple::SHAMapInnerNode::getChildHash</a></div><div class="ttdeci">SHAMapHash const & getChildHash(int m) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00396">SHAMapTreeNode.h:396</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a6fd7dba1ad932f4c1246c9a090c145e5"><div class="ttname"><a href="classripple_1_1base__uint.html#a6fd7dba1ad932f4c1246c9a090c145e5">ripple::base_uint::isZero</a></div><div class="ttdeci">bool isZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00475">base_uint.h:475</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a9efec4c7630be19cbe06cdadbd9e082a"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a9efec4c7630be19cbe06cdadbd9e082a">ripple::SHAMapInnerNode::makeCompressedInner</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeCompressedInner(Slice data, std::uint32_t seq)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00194">SHAMapTreeNode.cpp:194</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html">ripple::SHAMapInnerNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00207">SHAMapTreeNode.h:207</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a597b4db5c84297776d2e8ebdbe9e1b6f"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a597b4db5c84297776d2e8ebdbe9e1b6f">ripple::SHAMapInnerNode::isFullBelow</a></div><div class="ttdeci">bool isFullBelow(std::uint32_t generation) const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00403">SHAMapTreeNode.h:403</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a5edcccaa282bf888fd02627aedfef5f6"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a5edcccaa282bf888fd02627aedfef5f6">ripple::SHAMapAbstractNode::getNodeHash</a></div><div class="ttdeci">SHAMapHash const & getNodeHash() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00345">SHAMapTreeNode.h:345</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#l00040">SHAMapTreeNode.cpp:40</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a6fd7dba1ad932f4c1246c9a090c145e5"><div class="ttname"><a href="classripple_1_1base__uint.html#a6fd7dba1ad932f4c1246c9a090c145e5">ripple::base_uint::isZero</a></div><div class="ttdeci">bool isZero() const</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00439">base_uint.h:439</a></div></div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::ostream</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_af3bcf653d615c8cbbf76d775df409125"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#af3bcf653d615c8cbbf76d775df409125">ripple::SHAMapInnerNode::canonicalizeChild</a></div><div class="ttdeci">virtual std::shared_ptr< SHAMapAbstractNode > canonicalizeChild(int branch, std::shared_ptr< SHAMapAbstractNode > node)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00596">SHAMapTreeNode.cpp:596</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6f3f6c8b0f7e5a7adac2a5c31e0a3d8a"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6f3f6c8b0f7e5a7adac2a5c31e0a3d8a">ripple::SHAMapAbstractNode::getSeq</a></div><div class="ttdeci">std::uint32_t getSeq() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00333">SHAMapTreeNode.h:333</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_ad62d442940078aa48c2c903b35afd830"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">ripple::SHAMapHash::hash_</a></div><div class="ttdeci">uint256 hash_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00045">SHAMapTreeNode.h:45</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a1f0d3da3e068b94a48abc2c413faef8d"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a1f0d3da3e068b94a48abc2c413faef8d">ripple::SHAMapAbstractNode::mType</a></div><div class="ttdeci">TNType mType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00134">SHAMapTreeNode.h:134</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#l00058">SHAMapTreeNode.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_ad62d442940078aa48c2c903b35afd830"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#ad62d442940078aa48c2c903b35afd830">ripple::SHAMapHash::hash_</a></div><div class="ttdeci">uint256 hash_</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00049">SHAMapTreeNode.h:49</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a068a05c4d658a764ce2be1810e1779fd"><div class="ttname"><a href="namespaceripple.html#a068a05c4d658a764ce2be1810e1779fd">ripple::operator!=</a></div><div class="ttdeci">bool operator!=(Manifest const &lhs, Manifest const &rhs)</div><div class="ttdef"><b>Definition:</b> <a href="Manifest_8h_source.html#l00165">Manifest.h:165</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a4ff7f51ba884e6202e666e617c4d17c5"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a4ff7f51ba884e6202e666e617c4d17c5">ripple::SHAMapAbstractNode::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00370">SHAMapTreeNode.h:370</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#l00273">SHAMapTreeNode.h:273</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a53d69dd7ccbafadef8934e9f914072e8"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8">ripple::SHAMapHash::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &os, SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00097">SHAMapTreeNode.h:97</a></div></div>
|
||||
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad83701be0c7a908a61601d1bcbf7ecb1"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad83701be0c7a908a61601d1bcbf7ecb1">ripple::SHAMapInnerNode::updateHashDeep</a></div><div class="ttdeci">void updateHashDeep()</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00314">SHAMapTreeNode.cpp:314</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_aa8afc31144547ce1e204baef5f3b05bc"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#aa8afc31144547ce1e204baef5f3b05bc">ripple::SHAMapTreeNode::setItem</a></div><div class="ttdeci">bool setItem(std::shared_ptr< SHAMapItem const > i, TNType type)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00463">SHAMapTreeNode.cpp:463</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="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#l00133">SHAMapTreeNode.h:133</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a53d69dd7ccbafadef8934e9f914072e8"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a53d69dd7ccbafadef8934e9f914072e8">ripple::SHAMapHash::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &os, SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00101">SHAMapTreeNode.h:101</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_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="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_aec522cbc8cfb50ed87ebf8c634a40276"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aec522cbc8cfb50ed87ebf8c634a40276">ripple::SHAMapInnerNode::getBranchCount</a></div><div class="ttdeci">int getBranchCount() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00479">SHAMapTreeNode.cpp:479</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#l00157">SHAMapTreeNode.h:157</a></div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0f"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0f">ripple::SHAMapAbstractNode::TNType</a></div><div class="ttdeci">TNType</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00125">SHAMapTreeNode.h:125</a></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="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a60b514c8f15ae3e6d79191e2a9983724"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724">ripple::SHAMapHash::operator==</a></div><div class="ttdeci">friend bool operator==(SHAMapHash const &x, SHAMapHash const &y)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00085">SHAMapTreeNode.h:85</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_ac6bacdca95843712978b4a8d38904f5f"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#ac6bacdca95843712978b4a8d38904f5f">ripple::SHAMapAbstractNode::isLeaf</a></div><div class="ttdeci">bool isLeaf() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00357">SHAMapTreeNode.h:357</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a75727e0b58820d659bab779abe47958b"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a75727e0b58820d659bab779abe47958b">ripple::SHAMapTreeNode::mItem</a></div><div class="ttdeci">std::shared_ptr< SHAMapItem const > mItem</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00276">SHAMapTreeNode.h:276</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a60b514c8f15ae3e6d79191e2a9983724"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a60b514c8f15ae3e6d79191e2a9983724">ripple::SHAMapHash::operator==</a></div><div class="ttdeci">friend bool operator==(SHAMapHash const &x, SHAMapHash const &y)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00089">SHAMapTreeNode.h:89</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a454e86c9ed693f8921d53a915d8b1415"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a454e86c9ed693f8921d53a915d8b1415">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#l00223">SHAMapTreeNode.h:223</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#l00039">Serializer.h:39</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac8683dfc227ea8c196fc4e4f2080e36dadcd7fe1629f926f2bc0a27d06e0b4802"><div class="ttname"><a href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36dadcd7fe1629f926f2bc0a27d06e0b4802">ripple::snfHASH</a></div><div class="ttdeci">@ snfHASH</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00038">SHAMapTreeNode.h:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_aef62a596be719f5de0f8f970963dbb13"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aef62a596be719f5de0f8f970963dbb13">ripple::SHAMapInnerNode::shareChild</a></div><div class="ttdeci">void shareChild(int m, std::shared_ptr< SHAMapAbstractNode > const &child)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00562">SHAMapTreeNode.cpp:562</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac329442511917ee4fb295996041263e9"><div class="ttname"><a href="namespaceripple.html#ac329442511917ee4fb295996041263e9">ripple::wireTypeCompressedInner</a></div><div class="ttdeci">static constexpr unsigned const char wireTypeCompressedInner</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00041">SHAMapTreeNode.h:41</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#l00151">SHAMapTreeNode.cpp:151</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a1ff32f1526fc282631db5877441ed798"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a1ff32f1526fc282631db5877441ed798">ripple::SHAMapAbstractNode::makeFromWire</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeFromWire(Slice rawNode)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00224">SHAMapTreeNode.cpp:224</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a457b64179499364bc56cae4b388e6c61"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a457b64179499364bc56cae4b388e6c61">ripple::SHAMapInnerNode::mIsBranch</a></div><div class="ttdeci">int mIsBranch</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00211">SHAMapTreeNode.h:211</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a698138d3b31165bf9acd96f3afec08fb"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb">ripple::SHAMapHash::SHAMapHash</a></div><div class="ttdeci">SHAMapHash(uint256 const &hash)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00049">SHAMapTreeNode.h:49</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a1f9135f2eef3ec702d5f17e679733e8e"><div class="ttname"><a href="classripple_1_1base__uint.html#a1f9135f2eef3ec702d5f17e679733e8e">ripple::base_uint::zero</a></div><div class="ttdeci">void zero()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00485">base_uint.h:485</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_ac2b0cde4d620682f48fff7948fa5690d"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#ac2b0cde4d620682f48fff7948fa5690d">ripple::SHAMapTreeNode::getString</a></div><div class="ttdeci">std::string getString(SHAMapNodeID const &) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00520">SHAMapTreeNode.cpp:520</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_af4ebd102e0623885986c4fc9874323f3"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3">ripple::SHAMapHash::zero</a></div><div class="ttdeci">void zero()</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00079">SHAMapTreeNode.h:79</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a4a3f326fdcbc05976d4fa56cc03d33e0"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a4a3f326fdcbc05976d4fa56cc03d33e0">ripple::SHAMapAbstractNode::mSeq</a></div><div class="ttdeci">std::uint32_t mSeq</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00136">SHAMapTreeNode.h:136</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac8683dfc227ea8c196fc4e4f2080e36da82251cdf5d561efb6b1838672e116253"><div class="ttname"><a href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36da82251cdf5d561efb6b1838672e116253">ripple::snfWIRE</a></div><div class="ttdeci">@ snfWIRE</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00037">SHAMapTreeNode.h:37</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ade4fdfad9804690e890a095c9e0cc089"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ade4fdfad9804690e890a095c9e0cc089">ripple::SHAMapInnerNode::childLock</a></div><div class="ttdeci">static std::mutex childLock</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00214">SHAMapTreeNode.h:214</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html">ripple::SHAMapAbstractNode</a></div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00122">SHAMapTreeNode.h:122</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0fa1df3b78277a42252737ee96a727d4735"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa1df3b78277a42252737ee96a727d4735">ripple::SHAMapAbstractNode::tnTRANSACTION_MD</a></div><div class="ttdeci">@ tnTRANSACTION_MD</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00129">SHAMapTreeNode.h:129</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_1SHAMapHash_html_a698138d3b31165bf9acd96f3afec08fb"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a698138d3b31165bf9acd96f3afec08fb">ripple::SHAMapHash::SHAMapHash</a></div><div class="ttdeci">SHAMapHash(uint256 const &hash)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00053">SHAMapTreeNode.h:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a1f9135f2eef3ec702d5f17e679733e8e"><div class="ttname"><a href="classripple_1_1base__uint.html#a1f9135f2eef3ec702d5f17e679733e8e">ripple::base_uint::zero</a></div><div class="ttdeci">void zero()</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00449">base_uint.h:449</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_af4ebd102e0623885986c4fc9874323f3"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#af4ebd102e0623885986c4fc9874323f3">ripple::SHAMapHash::zero</a></div><div class="ttdeci">void zero()</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00083">SHAMapTreeNode.h:83</a></div></div>
|
||||
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</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="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0fa7d2117d97c00ea6cd908fb9456fa5ac8"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa7d2117d97c00ea6cd908fb9456fa5ac8">ripple::SHAMapAbstractNode::tnERROR</a></div><div class="ttdeci">@ tnERROR</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00126">SHAMapTreeNode.h:126</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a13fcdfee8199a8e54429edf6b9085ae0"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a13fcdfee8199a8e54429edf6b9085ae0">ripple::SHAMapInnerNode::isEmpty</a></div><div class="ttdeci">bool isEmpty() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00473">SHAMapTreeNode.cpp:473</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_aebc71b6d80676d850b40a149645b99bf"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aebc71b6d80676d850b40a149645b99bf">ripple::SHAMapInnerNode::mChildren</a></div><div class="ttdeci">std::shared_ptr< SHAMapAbstractNode > mChildren[16]</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00210">SHAMapTreeNode.h:210</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a8f95b5bc14b7085d368f56aeaa17ef4f"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f">ripple::SHAMapHash::as_uint256</a></div><div class="ttdeci">uint256 const & as_uint256() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00054">SHAMapTreeNode.h:54</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_ad03f4f678da9104ef53946bb07bdf8ae"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#ad03f4f678da9104ef53946bb07bdf8ae">ripple::SHAMapInnerNode::setFullBelowGen</a></div><div class="ttdeci">void setFullBelowGen(std::uint32_t gen)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00409">SHAMapTreeNode.h:409</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a21e39b900b7402e094bfd06a35e6490f"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a21e39b900b7402e094bfd06a35e6490f">ripple::SHAMapInnerNode::getChild</a></div><div class="ttdeci">std::shared_ptr< SHAMapAbstractNode > getChild(int branch)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00586">SHAMapTreeNode.cpp:586</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_ad73e463d9dc2c6d64582a62f9fff09eb"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb">ripple::SHAMapHash::signum</a></div><div class="ttdeci">int signum() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00074">SHAMapTreeNode.h:74</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_aa8ee90419c5516ba69fbeceba6317afe"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#aa8ee90419c5516ba69fbeceba6317afe">ripple::SHAMapInnerNode::updateHash</a></div><div class="ttdeci">bool updateHash() override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00295">SHAMapTreeNode.cpp:295</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a07ea0d7e3412068ffce83764bd6ee339"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a07ea0d7e3412068ffce83764bd6ee339">ripple::SHAMapTreeNode::hasItem</a></div><div class="ttdeci">bool hasItem() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00417">SHAMapTreeNode.h:417</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a6cdeae87f96a46b976f2e70e985d4b0fa14d85d1d3c5923d734bb0025276d2ef3">ripple::SHAMapAbstractNode::tnINNER</a></div><div class="ttdeci">@ tnINNER</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00127">SHAMapTreeNode.h:127</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_a4774d63ae48621eb60f20cf3cb2cca7c"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#a4774d63ae48621eb60f20cf3cb2cca7c">ripple::SHAMapAbstractNode::makeAccountState</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeAccountState(Slice data, std::uint32_t seq, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00131">SHAMapTreeNode.cpp:131</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a7b4b40bed0855716d741d916791f6892"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">ripple::SHAMapHash::hash_append</a></div><div class="ttdeci">friend void hash_append(H &h, SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00110">SHAMapTreeNode.h:110</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_acbfc9766fe96d2cc300ff5ab29b033be"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#acbfc9766fe96d2cc300ff5ab29b033be">ripple::SHAMapAbstractNode::makeTransactionWithMeta</a></div><div class="ttdeci">static std::shared_ptr< SHAMapAbstractNode > makeTransactionWithMeta(Slice data, std::uint32_t seq, SHAMapHash const &hash, bool hashValid)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00100">SHAMapTreeNode.cpp:100</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapInnerNode_html_a964421b7b7b071f1a5daa95afa8f0fe9"><div class="ttname"><a href="classripple_1_1SHAMapInnerNode.html#a964421b7b7b071f1a5daa95afa8f0fe9">ripple::SHAMapInnerNode::invariants</a></div><div class="ttdeci">void invariants(bool is_root=false) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00634">SHAMapTreeNode.cpp:634</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_af3430d08a6a6dbee7c262c77eef54a57"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#af3430d08a6a6dbee7c262c77eef54a57">ripple::SHAMapAbstractNode::~SHAMapAbstractNode</a></div><div class="ttdeci">virtual ~SHAMapAbstractNode()=0</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac8683dfc227ea8c196fc4e4f2080e36d"><div class="ttname"><a href="namespaceripple.html#ac8683dfc227ea8c196fc4e4f2080e36d">ripple::SHANodeFormat</a></div><div class="ttdeci">SHANodeFormat</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00035">SHAMapTreeNode.h:35</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapAbstractNode_html_ac47161ee86963446808588137d0b1472"><div class="ttname"><a href="classripple_1_1SHAMapAbstractNode.html#ac47161ee86963446808588137d0b1472">ripple::SHAMapAbstractNode::updateHash</a></div><div class="ttdeci">virtual bool updateHash()=0</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_af5ec725929e10dbf2a9e53367f2efe18"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#af5ec725929e10dbf2a9e53367f2efe18">ripple::SHAMapTreeNode::clone</a></div><div class="ttdeci">std::shared_ptr< SHAMapAbstractNode > clone(std::uint32_t seq) const override</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8cpp_source.html#l00053">SHAMapTreeNode.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapTreeNode_html_a076439e930f0e2a07d9538d6a7937c09"><div class="ttname"><a href="classripple_1_1SHAMapTreeNode.html#a076439e930f0e2a07d9538d6a7937c09">ripple::SHAMapTreeNode::peekItem</a></div><div class="ttdeci">std::shared_ptr< SHAMapItem const > const & peekItem() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00423">SHAMapTreeNode.h:423</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_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#l00161">SHAMapTreeNode.h:161</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a8f95b5bc14b7085d368f56aeaa17ef4f"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a8f95b5bc14b7085d368f56aeaa17ef4f">ripple::SHAMapHash::as_uint256</a></div><div class="ttdeci">uint256 const & as_uint256() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00058">SHAMapTreeNode.h:58</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_ad73e463d9dc2c6d64582a62f9fff09eb"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#ad73e463d9dc2c6d64582a62f9fff09eb">ripple::SHAMapHash::signum</a></div><div class="ttdeci">int signum() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00078">SHAMapTreeNode.h:78</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1SHAMapHash_html_a7b4b40bed0855716d741d916791f6892"><div class="ttname"><a href="classripple_1_1SHAMapHash.html#a7b4b40bed0855716d741d916791f6892">ripple::SHAMapHash::hash_append</a></div><div class="ttdeci">friend void hash_append(H &h, SHAMapHash const &x)</div><div class="ttdef"><b>Definition:</b> <a href="SHAMapTreeNode_8h_source.html#l00114">SHAMapTreeNode.h:114</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#l00087">SHAMapTreeNode.cpp:87</a></div></div>
|
||||
<div class="ttc" id="astring_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/string.html">string</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user