mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
deploy: 5c8e072b7f
This commit is contained in:
@@ -108,18 +108,18 @@ $(function() {
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// No root, make it.</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  root = std::make_shared<SLE>(directory);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  root->setFieldH256(<a class="code" href="namespaceripple.html#a1e94eaf7bff76b10fa0b8c3e96d1406e">sfRootIndex</a>, directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  root->setFieldH256(<a class="code" href="namespaceripple.html#a45b5800a054a4b98658a47c88aa8419a">sfRootIndex</a>, directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  describe(root);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classripple_1_1STVector256.html">STVector256</a> v;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  v.<a class="code" href="classripple_1_1STVector256.html#a6bd443eec0924c8b8f95e6c6d812117c">push_back</a>(key);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  root->setFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>, v);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  root->setFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>, v);</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>  <a class="code" href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">insert</a>(root);</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a>{0};</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</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>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> page = root->getFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>);</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> page = root->getFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>);</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>  <span class="keyword">auto</span> node = root;</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
@@ -130,7 +130,7 @@ $(function() {
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: root back-pointer broken."</span>);</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>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">auto</span> indexes = node->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>);</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">auto</span> indexes = node->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// If there's space, we use it:</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">if</span> (indexes.size() < <a class="code" href="namespaceripple.html#aa92d4d5c77691ea9bf8a848d84187e39">dirNodeMaxEntries</a>)</div>
|
||||
@@ -157,7 +157,7 @@ $(function() {
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  indexes.insert(pos, key);</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>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>, indexes);</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>, indexes);</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(node);</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> page;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  }</div>
|
||||
@@ -168,10 +168,10 @@ $(function() {
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// We are about to create a new node; we'll link it to</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">// the chain first:</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>, page);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>, page);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(node);</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>  root->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, page);</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  root->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, page);</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(root);</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="comment">// Insert the new key:</span></div>
|
||||
@@ -179,13 +179,13 @@ $(function() {
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  indexes.push_back(key);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  node = std::make_shared<SLE>(<a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">keylet::page</a>(directory, page));</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  node->setFieldH256(<a class="code" href="namespaceripple.html#a1e94eaf7bff76b10fa0b8c3e96d1406e">sfRootIndex</a>, directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>, indexes);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  node->setFieldH256(<a class="code" href="namespaceripple.html#a45b5800a054a4b98658a47c88aa8419a">sfRootIndex</a>, directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>);</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>, indexes);</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>  <span class="comment">// Save some space by not specifying the value 0 since</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// it's the default.</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">if</span> (page != 1)</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, page - 1);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, page - 1);</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  describe(node);</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">insert</a>(node);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
||||
@@ -202,19 +202,19 @@ $(function() {
|
||||
<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>  <span class="comment">// Verify that the passed directory node is the directory root.</span></div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">if</span> (directory.<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> != <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a> ||</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  node->getFieldH256(<a class="code" href="namespaceripple.html#a1e94eaf7bff76b10fa0b8c3e96d1406e">sfRootIndex</a>) != directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>)</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  node->getFieldH256(<a class="code" href="namespaceripple.html#a45b5800a054a4b98658a47c88aa8419a">sfRootIndex</a>) != directory.<a class="code" href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">key</a>)</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  {</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  assert(!<span class="stringliteral">"emptyDirDelete() called with wrong node type"</span>);</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">// The directory still contains entries and so it cannot be removed</span></div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (!node->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span> (!node->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> <span class="keyword">false</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="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> constexpr rootPage = 0;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">auto</span> prevPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">auto</span> nextPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">auto</span> prevPage = node->getFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>);</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">auto</span> nextPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>);</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">if</span> (nextPage == rootPage && prevPage != rootPage)</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: fwd link broken"</span>);</div>
|
||||
@@ -231,13 +231,13 @@ $(function() {
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">if</span> (!last)</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: fwd link broken."</span>);</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">if</span> (!last->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">if</span> (!last->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</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>  <span class="comment">// Update the first page's linked list and</span></div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="comment">// mark it as updated.</span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(node);</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// And erase the empty last page:</span></div>
|
||||
@@ -271,7 +271,7 @@ $(function() {
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> constexpr rootPage = 0;</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  </div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  {</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">auto</span> entries = node->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>);</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">auto</span> entries = node->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">auto</span> it = <a class="codeRef" href="http://en.cppreference.com/w/cpp/algorithm/find.html">std::find</a>(entries.begin(), entries.end(), key);</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
|
||||
@@ -281,7 +281,7 @@ $(function() {
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">// We always preserve the relative order when we remove.</span></div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  entries.erase(it);</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>, entries);</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  node->setFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>, entries);</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(node);</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="keywordflow">if</span> (!entries.empty())</div>
|
||||
@@ -291,8 +291,8 @@ $(function() {
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="comment">// The current page is now empty; check if it can be</span></div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="comment">// deleted, and, if so, whether the entire directory</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="comment">// can now be removed.</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keyword">auto</span> prevPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>);</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keyword">auto</span> nextPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>);</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keyword">auto</span> prevPage = node->getFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>);</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keyword">auto</span> nextPage = node->getFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>);</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  </div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="comment">// The first page is the directory's root node and is</span></div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="comment">// treated specially: it can never be deleted even if</span></div>
|
||||
@@ -315,12 +315,12 @@ $(function() {
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keywordflow">if</span> (!last)</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: fwd link broken."</span>);</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="keywordflow">if</span> (last->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">if</span> (last->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  {</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="comment">// Update the first page's linked list and</span></div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="comment">// mark it as updated.</span></div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>, page);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, page);</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>, page);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  node->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, page);</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(node);</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// And erase the empty last page:</span></div>
|
||||
@@ -358,14 +358,14 @@ $(function() {
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keywordflow">if</span> (!prev)</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: fwd link broken."</span>);</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="comment">// Fix previous to point to its new next.</span></div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  prev->setFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>, nextPage);</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  prev->setFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>, nextPage);</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(prev);</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  </div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keyword">auto</span> next = <a class="code" href="classripple_1_1ApplyView.html#aad9fb1233dec10dcc10c2e3b1da6a723">peek</a>(<a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">keylet::page</a>(directory, nextPage));</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">if</span> (!next)</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: rev link broken."</span>);</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="comment">// Fix next to point to its new previous.</span></div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  next->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, prevPage);</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  next->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, prevPage);</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(next);</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  </div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="comment">// The page is no longer linked. Delete it.</span></div>
|
||||
@@ -373,22 +373,22 @@ $(function() {
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  </div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="comment">// Check whether the next page is the last page and, if</span></div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="comment">// so, whether it's empty. If it is, delete it.</span></div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">if</span> (nextPage != rootPage && next->getFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>) == rootPage &&</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  next->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">if</span> (nextPage != rootPage && next->getFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>) == rootPage &&</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  next->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  {</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">// Since next doesn't point to the root, it</span></div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">// can't be pointing to prev.</span></div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="classripple_1_1ApplyView.html#afda9c12acbda605becf20f54d45587d4">erase</a>(next);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  </div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="comment">// The previous page is now the last page:</span></div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  prev->setFieldU64(<a class="code" href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">sfIndexNext</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  prev->setFieldU64(<a class="code" href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">sfIndexNext</a>, rootPage);</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(prev);</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>  <span class="comment">// And the root points to the the last page:</span></div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keyword">auto</span> root = <a class="code" href="classripple_1_1ApplyView.html#aad9fb1233dec10dcc10c2e3b1da6a723">peek</a>(<a class="code" href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">keylet::page</a>(directory, rootPage));</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="keywordflow">if</span> (!root)</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Directory chain: root link broken."</span>);</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  root->setFieldU64(<a class="code" href="namespaceripple.html#a10924290886398d9747dac78ba256553">sfIndexPrevious</a>, prevPage);</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  root->setFieldU64(<a class="code" href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">sfIndexPrevious</a>, prevPage);</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <a class="code" href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">update</a>(root);</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>  nextPage = rootPage;</div>
|
||||
@@ -398,7 +398,7 @@ $(function() {
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="comment">// it's left empty. If so, delete it as well.</span></div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">if</span> (!keepRoot && nextPage == rootPage && prevPage == rootPage)</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>  <span class="keywordflow">if</span> (prev->getFieldV256(<a class="code" href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">if</span> (prev->getFieldV256(<a class="code" href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">sfIndexes</a>).empty())</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <a class="code" href="classripple_1_1ApplyView.html#afda9c12acbda605becf20f54d45587d4">erase</a>(prev);</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  }</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  </div>
|
||||
@@ -407,8 +407,8 @@ $(function() {
|
||||
<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> } <span class="comment">// namespace ripple</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="anamespaceripple_html_a77074200cc38ab479af35f26073ecd0c"><div class="ttname"><a href="namespaceripple.html#a77074200cc38ab479af35f26073ecd0c">ripple::sfIndexNext</a></div><div class="ttdeci">const SF_UINT64 sfIndexNext</div></div>
|
||||
<div class="ttc" id="astructripple_1_1Keylet_html"><div class="ttname"><a href="structripple_1_1Keylet.html">ripple::Keylet</a></div><div class="ttdoc">A pair of SHAMap key and LedgerEntryType.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00038">Keylet.h:38</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a64d5f22fb89001653b7bcadad3c439f8"><div class="ttname"><a href="namespaceripple.html#a64d5f22fb89001653b7bcadad3c439f8">ripple::sfIndexNext</a></div><div class="ttdeci">const SF_U64 sfIndexNext(access, STI_UINT64, 1, "IndexNext")</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00397">SField.h:397</a></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_1ApplyView_html_aad9fb1233dec10dcc10c2e3b1da6a723"><div class="ttname"><a href="classripple_1_1ApplyView.html#aad9fb1233dec10dcc10c2e3b1da6a723">ripple::ApplyView::peek</a></div><div class="ttdeci">virtual std::shared_ptr< SLE > peek(Keylet const &k)=0</div><div class="ttdoc">Prepare to modify the SLE associated with key.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_afda9c12acbda605becf20f54d45587d4"><div class="ttname"><a href="classripple_1_1ApplyView.html#afda9c12acbda605becf20f54d45587d4">ripple::ApplyView::erase</a></div><div class="ttdeci">virtual void erase(std::shared_ptr< SLE > const &sle)=0</div><div class="ttdoc">Remove a peeked SLE.</div></div>
|
||||
@@ -418,23 +418,23 @@ $(function() {
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_a542437b9b59a623e755979acdc075af5"><div class="ttname"><a href="classripple_1_1ApplyView.html#a542437b9b59a623e755979acdc075af5">ripple::ApplyView::update</a></div><div class="ttdeci">virtual void update(std::shared_ptr< SLE > const &sle)=0</div><div class="ttdoc">Indicate changes to a peeked SLE.</div></div>
|
||||
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
|
||||
<div class="ttc" id="asort_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/sort.html">std::sort</a></div><div class="ttdeci">T sort(T... args)</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5db6a436a1b570fd3fdfc1583c34883f"><div class="ttname"><a href="namespaceripple.html#a5db6a436a1b570fd3fdfc1583c34883f">ripple::sfIndexes</a></div><div class="ttdeci">const SF_VECTOR256 sfIndexes</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_a080612d2b57bd395c73290aea671b551"><div class="ttname"><a href="classripple_1_1ApplyView.html#a080612d2b57bd395c73290aea671b551">ripple::ApplyView::dirAdd</a></div><div class="ttdeci">boost::optional< std::uint64_t > dirAdd(bool preserveOrder, Keylet const &directory, uint256 const &key, std::function< void(std::shared_ptr< SLE > const &)> const &describe)</div><div class="ttdoc">Add an entry to a directory using the specified insert strategy.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8cpp_source.html#l00028">ApplyView.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_a5a06441ef4fdb9b7f6e51437ce4a959f"><div class="ttname"><a href="classripple_1_1ApplyView.html#a5a06441ef4fdb9b7f6e51437ce4a959f">ripple::ApplyView::dirRemove</a></div><div class="ttdeci">bool dirRemove(Keylet const &directory, std::uint64_t page, uint256 const &key, bool keepRoot)</div><div class="ttdoc">Remove an entry from a directory.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8cpp_source.html#l00189">ApplyView.cpp:189</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a10924290886398d9747dac78ba256553"><div class="ttname"><a href="namespaceripple.html#a10924290886398d9747dac78ba256553">ripple::sfIndexPrevious</a></div><div class="ttdeci">const SF_U64 sfIndexPrevious(access, STI_UINT64, 2, "IndexPrevious")</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00398">SField.h:398</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1Keylet_html_a482983062843a8682fcea76a309c73db"><div class="ttname"><a href="structripple_1_1Keylet.html#a482983062843a8682fcea76a309c73db">ripple::Keylet::key</a></div><div class="ttdeci">uint256 key</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00041">Keylet.h:41</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="anamespaceripple_1_1keylet_html_a7e018eaf4a4da32d3f6f75f864cb85d1"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">ripple::keylet::page</a></div><div class="ttdeci">Keylet page(uint256 const &key, std::uint64_t index) noexcept</div><div class="ttdoc">A page in a directory.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00305">Indexes.cpp:305</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_acedcdf61309fa91212d6839205c9be5f"><div class="ttname"><a href="namespaceripple.html#acedcdf61309fa91212d6839205c9be5f">ripple::sfIndexPrevious</a></div><div class="ttdeci">const SF_UINT64 sfIndexPrevious</div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1keylet_html_a7e018eaf4a4da32d3f6f75f864cb85d1"><div class="ttname"><a href="namespaceripple_1_1keylet.html#a7e018eaf4a4da32d3f6f75f864cb85d1">ripple::keylet::page</a></div><div class="ttdeci">Keylet page(uint256 const &key, std::uint64_t index) noexcept</div><div class="ttdoc">A page in a directory.</div><div class="ttdef"><b>Definition:</b> <a href="Indexes_8cpp_source.html#l00310">Indexes.cpp:310</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1Keylet_html_a194d83c488eaa909ae4bcf816d8f4cb0"><div class="ttname"><a href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">ripple::Keylet::type</a></div><div class="ttdeci">LedgerEntryType type</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00040">Keylet.h:40</a></div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7a057a09039ceedfe09aa311644c91b9"><div class="ttname"><a href="namespaceripple.html#a7a057a09039ceedfe09aa311644c91b9">ripple::sfIndexes</a></div><div class="ttdeci">const SF_Vec256 sfIndexes(access, STI_VECTOR256, 1, "Indexes", SField::sMD_Never)</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00494">SField.h:494</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_aa3c5b5cd9dca5f906be4b36640706e3c"><div class="ttname"><a href="classripple_1_1ApplyView.html#aa3c5b5cd9dca5f906be4b36640706e3c">ripple::ApplyView::insert</a></div><div class="ttdeci">virtual void insert(std::shared_ptr< SLE > const &sle)=0</div><div class="ttdoc">Insert a new state SLE.</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="alower_bound_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/lower_bound.html">std::lower_bound</a></div><div class="ttdeci">T lower_bound(T... args)</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1ApplyView_html_a68f2bcf1204498ac968947005ef9c3de"><div class="ttname"><a href="classripple_1_1ApplyView.html#a68f2bcf1204498ac968947005ef9c3de">ripple::ApplyView::emptyDirDelete</a></div><div class="ttdeci">bool emptyDirDelete(Keylet const &directory)</div><div class="ttdoc">Remove the specified directory, if it is empty.</div><div class="ttdef"><b>Definition:</b> <a href="ApplyView_8cpp_source.html#l00125">ApplyView.cpp:125</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aefd2f77338ce3c9a2fffc4f0b289b483"><div class="ttname"><a href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">ripple::LogicError</a></div><div class="ttdeci">void LogicError(std::string const &how) noexcept</div><div class="ttdoc">Called when faulty logic causes a broken invariant.</div><div class="ttdef"><b>Definition:</b> <a href="contract_8cpp_source.html#l00048">contract.cpp:48</a></div></div>
|
||||
<div class="ttc" id="acassert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a45b5800a054a4b98658a47c88aa8419a"><div class="ttname"><a href="namespaceripple.html#a45b5800a054a4b98658a47c88aa8419a">ripple::sfRootIndex</a></div><div class="ttdeci">const SF_HASH256 sfRootIndex</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STVector256_html"><div class="ttname"><a href="classripple_1_1STVector256.html">ripple::STVector256</a></div><div class="ttdef"><b>Definition:</b> <a href="STVector256_8h_source.html#l00029">STVector256.h:29</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1e94eaf7bff76b10fa0b8c3e96d1406e"><div class="ttname"><a href="namespaceripple.html#a1e94eaf7bff76b10fa0b8c3e96d1406e">ripple::sfRootIndex</a></div><div class="ttdeci">const SF_U256 sfRootIndex(access, STI_HASH256, 8, "RootIndex", SField::sMD_Always)</div><div class="ttdef"><b>Definition:</b> <a href="SField_8h_source.html#l00426">SField.h:426</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8">ripple::ltDIR_NODE</a></div><div class="ttdeci">@ ltDIR_NODE</div><div class="ttdoc">Directory node.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00064">LedgerFormats.h:64</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa92d4d5c77691ea9bf8a848d84187e39"><div class="ttname"><a href="namespaceripple.html#aa92d4d5c77691ea9bf8a848d84187e39">ripple::dirNodeMaxEntries</a></div><div class="ttdeci">constexpr std::size_t dirNodeMaxEntries</div><div class="ttdoc">The maximum number of entries per directory page.</div><div class="ttdef"><b>Definition:</b> <a href="Protocol_8h_source.html#l00051">Protocol.h:51</a></div></div>
|
||||
<!-- start footer part -->
|
||||
|
||||
Reference in New Issue
Block a user