mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
deploy: ed8e32cc92
This commit is contained in:
@@ -330,220 +330,198 @@ $(function() {
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> Feature <span class="keyword">const</span>* i = getByName(name);</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> <span class="keywordflow">if</span> (!i)</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> {</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> <span class="comment">// If this check fails, and you just added a feature, increase the</span></div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// numFeatures value in Feature.h</span></div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> features.size() < <a class="code hl_variable" href="namespaceripple_1_1detail.html#a21f3cf18de89d49823e064f09526cb5f">detail::numFeatures</a>,</div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> <span class="stringliteral">"More features defined than allocated. Adjust numFeatures in "</span></div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <span class="stringliteral">"Feature.h."</span>);</div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> </div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <span class="keyword">auto</span> <span class="keyword">const</span> f = <a class="code hl_function" href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">sha512Half</a>(Slice(name.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/data.html">data</a>(), name.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">size</a>()));</div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> </div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> features.emplace_back(name, f);</div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> </div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <span class="keyword">auto</span> <span class="keyword">const</span> getAmendmentSupport = [=]() {</div>
|
||||
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <span class="keywordflow">if</span> (vote == <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7">VoteBehavior::Obsolete</a>)</div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ad109ac74df282488efd1dd7621a847d2">AmendmentSupport::Retired</a>;</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <span class="keywordflow">return</span> support == Supported::yes ? <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124">AmendmentSupport::Supported</a></div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> : <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ab4080bdf74febf04d578ff105cce9d3f">AmendmentSupport::Unsupported</a>;</div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> };</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> <a class="code hl_enumvalue" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">all</a>.emplace(name, getAmendmentSupport());</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> </div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">if</span> (support == Supported::yes)</div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> {</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> supported.emplace(name, vote);</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> </div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> <span class="keywordflow">if</span> (vote == <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6a7edd41da231424c2a5df0cffd15af6bf">VoteBehavior::DefaultYes</a>)</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> ++upVotes;</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> ++downVotes;</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> }</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> features.size() < <a class="code hl_variable" href="namespaceripple_1_1detail.html#a21f3cf18de89d49823e064f09526cb5f">detail::numFeatures</a>,</div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="stringliteral">"More features defined than allocated."</span>);</div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> </div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> <span class="keyword">auto</span> <span class="keyword">const</span> f = <a class="code hl_function" href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">sha512Half</a>(Slice(name.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/data.html">data</a>(), name.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">size</a>()));</div>
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> </div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> features.emplace_back(name, f);</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> </div>
|
||||
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> <span class="keyword">auto</span> <span class="keyword">const</span> getAmendmentSupport = [=]() {</div>
|
||||
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> <span class="keywordflow">if</span> (vote == <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7">VoteBehavior::Obsolete</a>)</div>
|
||||
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ad109ac74df282488efd1dd7621a847d2">AmendmentSupport::Retired</a>;</div>
|
||||
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> <span class="keywordflow">return</span> support == Supported::yes ? <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124">AmendmentSupport::Supported</a></div>
|
||||
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> : <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ab4080bdf74febf04d578ff105cce9d3f">AmendmentSupport::Unsupported</a>;</div>
|
||||
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> };</div>
|
||||
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> <a class="code hl_enumvalue" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">all</a>.emplace(name, getAmendmentSupport());</div>
|
||||
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> </div>
|
||||
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> <span class="keywordflow">if</span> (support == Supported::yes)</div>
|
||||
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> {</div>
|
||||
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> supported.emplace(name, vote);</div>
|
||||
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> </div>
|
||||
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> <span class="keywordflow">if</span> (vote == <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6a7edd41da231424c2a5df0cffd15af6bf">VoteBehavior::DefaultYes</a>)</div>
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> ++upVotes;</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> ++downVotes;</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> }</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> upVotes + downVotes == supported.size(),</div>
|
||||
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> <span class="stringliteral">"Feature counting logic broke"</span>);</div>
|
||||
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> upVotes + downVotes == supported.size(),</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="stringliteral">"Feature counting logic broke"</span>);</div>
|
||||
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> supported.size() <= features.size(),</div>
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> <span class="stringliteral">"More supported features than defined features"</span>);</div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> supported.size() <= features.size(),</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> <span class="stringliteral">"More supported features than defined features"</span>);</div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(</div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> features.size() == <a class="code hl_enumvalue" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">all</a>.size(),</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <span class="stringliteral">"The 'all' features list is populated incorrectly"</span>);</div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <span class="keywordflow">return</span> f;</div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> }</div>
|
||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> <span class="comment">// Each feature should only be registered once</span></div>
|
||||
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <a class="code hl_function" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Duplicate feature registration"</span>);</div>
|
||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span>}</div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> </div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span>FeatureCollections::registrationIsDone()</div>
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span>{</div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> readOnly = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span>}</div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> </div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span><span class="keywordtype">size_t</span></div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span>FeatureCollections::featureToBitsetIndex(<a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>& f)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="stringliteral">"ripple::FeatureCollections::featureToBitsetIndex : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> </div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> Feature <span class="keyword">const</span>* feature = getByFeature(f);</div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="keywordflow">if</span> (!feature)</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span> <a class="code hl_function" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Invalid Feature ID"</span>);</div>
|
||||
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> features.size() == <a class="code hl_enumvalue" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">all</a>.size(),</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> <span class="stringliteral">"The 'all' features list is populated incorrectly"</span>);</div>
|
||||
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="keywordflow">return</span> f;</div>
|
||||
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> }</div>
|
||||
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> <span class="comment">// Each feature should only be registered once</span></div>
|
||||
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> <a class="code hl_function" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Duplicate feature registration"</span>);</div>
|
||||
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span>}</div>
|
||||
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> </div>
|
||||
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span>FeatureCollections::registrationIsDone()</div>
|
||||
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span>{</div>
|
||||
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> readOnly = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span>}</div>
|
||||
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span><span class="keywordtype">size_t</span></div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span>FeatureCollections::featureToBitsetIndex(<a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>& f)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> <span class="stringliteral">"ripple::FeatureCollections::featureToBitsetIndex : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> </div>
|
||||
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> Feature <span class="keyword">const</span>* feature = getByFeature(f);</div>
|
||||
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> <span class="keywordflow">if</span> (!feature)</div>
|
||||
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <a class="code hl_function" href="namespaceripple.html#aefd2f77338ce3c9a2fffc4f0b289b483">LogicError</a>(<span class="stringliteral">"Invalid Feature ID"</span>);</div>
|
||||
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span> </div>
|
||||
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> <span class="keywordflow">return</span> getIndex(*feature);</div>
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span>}</div>
|
||||
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> </div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <span class="keywordflow">return</span> getIndex(*feature);</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span>}</div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> </div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span>FeatureCollections::bitsetIndexToFeature(<span class="keywordtype">size_t</span> i)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> <span class="stringliteral">"ripple::FeatureCollections::bitsetIndexToFeature : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> Feature <span class="keyword">const</span>& feature = getByIndex(i);</div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span> <span class="keywordflow">return</span> feature.feature;</div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span>}</div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span> </div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span>FeatureCollections::featureToName(<a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>& f)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <span class="stringliteral">"ripple::FeatureCollections::featureToName : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> Feature <span class="keyword">const</span>* feature = getByFeature(f);</div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> <span class="keywordflow">return</span> feature ? feature->name : <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(f);</div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span>}</div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> </div>
|
||||
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span><span class="keyword">static</span> FeatureCollections featureCollections;</div>
|
||||
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> </div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span>} <span class="comment">// namespace</span></div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
|
||||
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map<std::string, AmendmentSupport></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"><a class="line" href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204"> 354</a></span><a class="code hl_function" href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204">allAmendments</a>()</div>
|
||||
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span>{</div>
|
||||
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> <span class="keywordflow">return</span> featureCollections.allAmendments();</div>
|
||||
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span>}</div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map<std::string, VoteBehavior></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3"> 363</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3">detail::supportedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span>{</div>
|
||||
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> <span class="keywordflow">return</span> featureCollections.supportedAmendments();</div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span>}</div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> </div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107"> 370</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107">detail::numDownVotedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span>{</div>
|
||||
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> <span class="keywordflow">return</span> featureCollections.numDownVotedAmendments();</div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span>}</div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span> </div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e"> 377</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e">detail::numUpVotedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span>{</div>
|
||||
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> <span class="keywordflow">return</span> featureCollections.numUpVotedAmendments();</div>
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span>}</div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> </div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> </div>
|
||||
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<uint256></a></div>
|
||||
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c"> 385</a></span><a class="code hl_function" href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c">getRegisteredFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span>{</div>
|
||||
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> <span class="keywordflow">return</span> featureCollections.getRegisteredFeature(name);</div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span>}</div>
|
||||
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> </div>
|
||||
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9"> 391</a></span><a class="code hl_function" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">registerFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124">Supported</a> support, <a class="code hl_enumeration" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6">VoteBehavior</a> vote)</div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span>{</div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> <span class="keywordflow">return</span> featureCollections.registerFeature(name, support, vote);</div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span>}</div>
|
||||
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> </div>
|
||||
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span><span class="comment">// Retired features are in the ledger and have no code controlled by the</span></div>
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span><span class="comment">// feature. They need to be supported, but do not need to be voted on.</span></div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037"> 399</a></span><a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span>{</div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">registerFeature</a>(name, Supported::yes, <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7">VoteBehavior::Obsolete</a>);</div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span>}</div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> </div>
|
||||
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8"> 406</a></span><a class="code hl_function" href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8">registrationIsDone</a>()</div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span>{</div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span> <span class="keywordflow">return</span> featureCollections.registrationIsDone();</div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"> 409</span>}</div>
|
||||
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span> </div>
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span><span class="keywordtype">size_t</span></div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="namespaceripple.html#a7829716dab9950c88863168cc8731870"> 412</a></span><a class="code hl_function" href="namespaceripple.html#a7829716dab9950c88863168cc8731870">featureToBitsetIndex</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& f)</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span>{</div>
|
||||
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span> <span class="keywordflow">return</span> featureCollections.featureToBitsetIndex(f);</div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"> 415</span>}</div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span> </div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"><a class="line" href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf"> 418</a></span><a class="code hl_function" href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf">bitsetIndexToFeature</a>(<span class="keywordtype">size_t</span> i)</div>
|
||||
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span>{</div>
|
||||
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span> <span class="keywordflow">return</span> featureCollections.bitsetIndexToFeature(i);</div>
|
||||
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"> 421</span>}</div>
|
||||
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span> </div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec"> 424</a></span><a class="code hl_function" href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec">featureToName</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& f)</div>
|
||||
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span>{</div>
|
||||
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span> <span class="keywordflow">return</span> featureCollections.featureToName(f);</div>
|
||||
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span>}</div>
|
||||
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span>FeatureCollections::bitsetIndexToFeature(<span class="keywordtype">size_t</span> i)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> <span class="stringliteral">"ripple::FeatureCollections::bitsetIndexToFeature : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> Feature <span class="keyword">const</span>& feature = getByIndex(i);</div>
|
||||
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> <span class="keywordflow">return</span> feature.feature;</div>
|
||||
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span>}</div>
|
||||
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> </div>
|
||||
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span>FeatureCollections::featureToName(<a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span>& f)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> XRPL_ASSERT(</div>
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> readOnly.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/atomic/atomic/load.html">load</a>(),</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="stringliteral">"ripple::FeatureCollections::featureToName : startup completed"</span>);</div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> Feature <span class="keyword">const</span>* feature = getByFeature(f);</div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> <span class="keywordflow">return</span> feature ? feature->name : <a class="code hl_function" href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">to_string</a>(f);</div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span>}</div>
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> </div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span><span class="keyword">static</span> FeatureCollections featureCollections;</div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> </div>
|
||||
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span>} <span class="comment">// namespace</span></div>
|
||||
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> </div>
|
||||
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map<std::string, AmendmentSupport></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"><a class="line" href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204"> 351</a></span><a class="code hl_function" href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204">allAmendments</a>()</div>
|
||||
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span>{</div>
|
||||
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> <span class="keywordflow">return</span> featureCollections.allAmendments();</div>
|
||||
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span>}</div>
|
||||
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> </div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map<std::string, VoteBehavior></a> <span class="keyword">const</span>&</div>
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3"> 360</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3">detail::supportedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span>{</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <span class="keywordflow">return</span> featureCollections.supportedAmendments();</div>
|
||||
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span>}</div>
|
||||
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> </div>
|
||||
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
||||
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107"> 367</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107">detail::numDownVotedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span>{</div>
|
||||
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> <span class="keywordflow">return</span> featureCollections.numDownVotedAmendments();</div>
|
||||
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span>}</div>
|
||||
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> </div>
|
||||
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
|
||||
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"><a class="line" href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e"> 374</a></span><a class="code hl_function" href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e">detail::numUpVotedAmendments</a>()</div>
|
||||
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span>{</div>
|
||||
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"> 376</span> <span class="keywordflow">return</span> featureCollections.numUpVotedAmendments();</div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span>}</div>
|
||||
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> </div>
|
||||
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> </div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<uint256></a></div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c"> 382</a></span><a class="code hl_function" href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c">getRegisteredFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span>{</div>
|
||||
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> <span class="keywordflow">return</span> featureCollections.getRegisteredFeature(name);</div>
|
||||
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span>}</div>
|
||||
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> </div>
|
||||
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"><a class="line" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9"> 388</a></span><a class="code hl_function" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">registerFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name, <a class="code hl_enumvalue" href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124">Supported</a> support, <a class="code hl_enumeration" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6">VoteBehavior</a> vote)</div>
|
||||
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span>{</div>
|
||||
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> <span class="keywordflow">return</span> featureCollections.registerFeature(name, support, vote);</div>
|
||||
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span>}</div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> </div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span><span class="comment">// Retired features are in the ledger and have no code controlled by the</span></div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span><span class="comment">// feature. They need to be supported, but do not need to be voted on.</span></div>
|
||||
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037"> 396</a></span><a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& name)</div>
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span>{</div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">registerFeature</a>(name, Supported::yes, <a class="code hl_enumvalue" href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7">VoteBehavior::Obsolete</a>);</div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span>}</div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> </div>
|
||||
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span><span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8"> 403</a></span><a class="code hl_function" href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8">registrationIsDone</a>()</div>
|
||||
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span>{</div>
|
||||
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"> 405</span> <span class="keywordflow">return</span> featureCollections.registrationIsDone();</div>
|
||||
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"> 406</span>}</div>
|
||||
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"> 407</span> </div>
|
||||
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"> 408</span><span class="keywordtype">size_t</span></div>
|
||||
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno"><a class="line" href="namespaceripple.html#a7829716dab9950c88863168cc8731870"> 409</a></span><a class="code hl_function" href="namespaceripple.html#a7829716dab9950c88863168cc8731870">featureToBitsetIndex</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& f)</div>
|
||||
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno"> 410</span>{</div>
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"> 411</span> <span class="keywordflow">return</span> featureCollections.featureToBitsetIndex(f);</div>
|
||||
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"> 412</span>}</div>
|
||||
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno"> 413</span> </div>
|
||||
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno"> 414</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></div>
|
||||
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno"><a class="line" href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf"> 415</a></span><a class="code hl_function" href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf">bitsetIndexToFeature</a>(<span class="keywordtype">size_t</span> i)</div>
|
||||
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno"> 416</span>{</div>
|
||||
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno"> 417</span> <span class="keywordflow">return</span> featureCollections.bitsetIndexToFeature(i);</div>
|
||||
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno"> 418</span>}</div>
|
||||
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno"> 419</span> </div>
|
||||
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno"> 420</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno"><a class="line" href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec"> 421</a></span><a class="code hl_function" href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec">featureToName</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& f)</div>
|
||||
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno"> 422</span>{</div>
|
||||
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno"> 423</span> <span class="keywordflow">return</span> featureCollections.featureToName(f);</div>
|
||||
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno"> 424</span>}</div>
|
||||
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno"> 425</span> </div>
|
||||
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno"> 426</span><span class="comment">// All known amendments must be registered either here or below with the</span></div>
|
||||
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"> 427</span><span class="comment">// "retired" amendments</span></div>
|
||||
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"> 428</span> </div>
|
||||
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span><span class="comment">// All known amendments must be registered either here or below with the</span></div>
|
||||
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span><span class="comment">// "retired" amendments</span></div>
|
||||
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span> </div>
|
||||
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span><span class="preprocessor">#pragma push_macro("XRPL_FEATURE"</span>)</div>
|
||||
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span><span class="preprocessor">#undef XRPL_FEATURE</span></div>
|
||||
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span><span class="preprocessor">#pragma push_macro("XRPL_FIX"</span>)</div>
|
||||
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span><span class="preprocessor">#undef XRPL_FIX</span></div>
|
||||
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span> </div>
|
||||
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span><span class="preprocessor">#define XRPL_FEATURE(name, supported, vote) \</span></div>
|
||||
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span><span class="preprocessor"> uint256 const feature##name = registerFeature(#name, supported, vote);</span></div>
|
||||
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span><span class="preprocessor">#define XRPL_FIX(name, supported, vote) \</span></div>
|
||||
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span><span class="preprocessor"> uint256 const fix##name = registerFeature("fix"</span> #name, supported, vote);</div>
|
||||
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span> </div>
|
||||
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span><span class="preprocessor">#include <xrpl/protocol/detail/features.macro></span></div>
|
||||
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"> 429</span><span class="preprocessor">#pragma push_macro("XRPL_FEATURE"</span>)</div>
|
||||
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"> 430</span><span class="preprocessor">#undef XRPL_FEATURE</span></div>
|
||||
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno"> 431</span><span class="preprocessor">#pragma push_macro("XRPL_FIX"</span>)</div>
|
||||
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno"> 432</span><span class="preprocessor">#undef XRPL_FIX</span></div>
|
||||
<div class="line"><a id="l00433" name="l00433"></a><span class="lineno"> 433</span><span class="preprocessor">#pragma push_macro("XRPL_RETIRE"</span>)</div>
|
||||
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"> 434</span><span class="preprocessor">#undef XRPL_RETIRE</span></div>
|
||||
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno"> 435</span> </div>
|
||||
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno"> 436</span><span class="preprocessor">#define XRPL_FEATURE(name, supported, vote) \</span></div>
|
||||
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno"> 437</span><span class="preprocessor"> uint256 const feature##name = registerFeature(#name, supported, vote);</span></div>
|
||||
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno"> 438</span><span class="preprocessor">#define XRPL_FIX(name, supported, vote) \</span></div>
|
||||
<div class="line"><a id="l00439" name="l00439"></a><span class="lineno"> 439</span><span class="preprocessor"> uint256 const fix##name = registerFeature("fix"</span> #name, supported, vote);</div>
|
||||
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"> 440</span><span class="preprocessor">#define XRPL_RETIRE(name) \</span></div>
|
||||
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"> 441</span><span class="preprocessor"> [[deprecated("The referenced amendment has been retired"</span>), maybe_unused]] \</div>
|
||||
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"> 442</span> uint256 const retired##name = retireFeature(#name);</div>
|
||||
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno"> 443</span> </div>
|
||||
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span><span class="preprocessor">#undef XRPL_FIX</span></div>
|
||||
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span><span class="preprocessor">#pragma pop_macro("XRPL_FIX"</span>)</div>
|
||||
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span><span class="preprocessor">#undef XRPL_FEATURE</span></div>
|
||||
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span><span class="preprocessor">#pragma pop_macro("XRPL_FEATURE"</span>)</div>
|
||||
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span> </div>
|
||||
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span><span class="comment">// clang-format off</span></div>
|
||||
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span> </div>
|
||||
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span><span class="comment">// The following amendments have been active for at least two years. Their</span></div>
|
||||
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span><span class="comment">// pre-amendment code has been removed and the identifiers are deprecated.</span></div>
|
||||
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span><span class="comment">// All known amendments and amendments that may appear in a validated</span></div>
|
||||
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span><span class="comment">// ledger must be registered either here or above with the "active" amendments</span></div>
|
||||
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span>[[deprecated(<span class="stringliteral">"The referenced amendment has been retired"</span>), maybe_unused]]</div>
|
||||
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span><a class="code hl_typedef" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> <span class="keyword">const</span></div>
|
||||
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"><a class="line" href="namespaceripple.html#aca442231e914cd7cc2e281bf40d2297f"> 457</a></span> <a class="code hl_variable" href="namespaceripple.html#aca442231e914cd7cc2e281bf40d2297f">retiredMultiSign</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"MultiSign"</span>),</div>
|
||||
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="namespaceripple.html#a3a835ca68f94459268b5110e3940633e"> 458</a></span> <a class="code hl_variable" href="namespaceripple.html#a3a835ca68f94459268b5110e3940633e">retiredTrustSetAuth</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"TrustSetAuth"</span>),</div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1252db24dc72b14ae8d094dad876ceb0"> 459</a></span> <a class="code hl_variable" href="namespaceripple.html#a1252db24dc72b14ae8d094dad876ceb0">retiredFeeEscalation</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"FeeEscalation"</span>),</div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"><a class="line" href="namespaceripple.html#acfe0dd6bb6647991f9b32d8811db3bc2"> 460</a></span> <a class="code hl_variable" href="namespaceripple.html#acfe0dd6bb6647991f9b32d8811db3bc2">retiredPayChan</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"PayChan"</span>),</div>
|
||||
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"><a class="line" href="namespaceripple.html#a4d54402f30e7745c8ec622832558f63f"> 461</a></span> <a class="code hl_variable" href="namespaceripple.html#a4d54402f30e7745c8ec622832558f63f">retiredCryptoConditions</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"CryptoConditions"</span>),</div>
|
||||
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno"><a class="line" href="namespaceripple.html#aca5f4ff20f78a82f945a1e66606ffae3"> 462</a></span> <a class="code hl_variable" href="namespaceripple.html#aca5f4ff20f78a82f945a1e66606ffae3">retiredTickSize</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"TickSize"</span>),</div>
|
||||
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno"><a class="line" href="namespaceripple.html#a1d41b8de235b5974a5863d29cfb7c423"> 463</a></span> <a class="code hl_variable" href="namespaceripple.html#a1d41b8de235b5974a5863d29cfb7c423">retiredFix1368</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1368"</span>),</div>
|
||||
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno"><a class="line" href="namespaceripple.html#a90ab4c05681dc38f94cc94b68cd81421"> 464</a></span> <a class="code hl_variable" href="namespaceripple.html#a90ab4c05681dc38f94cc94b68cd81421">retiredEscrow</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"Escrow"</span>),</div>
|
||||
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno"><a class="line" href="namespaceripple.html#a8abb20151d4c2fd32f24688b13186b81"> 465</a></span> <a class="code hl_variable" href="namespaceripple.html#a8abb20151d4c2fd32f24688b13186b81">retiredFix1373</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1373"</span>),</div>
|
||||
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae7222ae6cf5043a674e87793a508d8d2"> 466</a></span> <a class="code hl_variable" href="namespaceripple.html#ae7222ae6cf5043a674e87793a508d8d2">retiredEnforceInvariants</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"EnforceInvariants"</span>),</div>
|
||||
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno"><a class="line" href="namespaceripple.html#a5615be68395c1c761f657a4f20fee5c0"> 467</a></span> <a class="code hl_variable" href="namespaceripple.html#a5615be68395c1c761f657a4f20fee5c0">retiredSortedDirectories</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"SortedDirectories"</span>),</div>
|
||||
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno"><a class="line" href="namespaceripple.html#ab855b7dc597a1d39d89b0056a1dbac6f"> 468</a></span> <a class="code hl_variable" href="namespaceripple.html#ab855b7dc597a1d39d89b0056a1dbac6f">retiredFix1201</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1201"</span>),</div>
|
||||
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno"><a class="line" href="namespaceripple.html#a2d6d1d5f493cee3b5c87f2127793d9e4"> 469</a></span> <a class="code hl_variable" href="namespaceripple.html#a2d6d1d5f493cee3b5c87f2127793d9e4">retiredFix1512</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1512"</span>),</div>
|
||||
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno"><a class="line" href="namespaceripple.html#a6e6cb404a0c2959a27f3ff9664d42278"> 470</a></span> <a class="code hl_variable" href="namespaceripple.html#a6e6cb404a0c2959a27f3ff9664d42278">retiredFix1523</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1523"</span>),</div>
|
||||
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno"><a class="line" href="namespaceripple.html#a15af9593e9fbf548108cc81b798020c3"> 471</a></span> <a class="code hl_variable" href="namespaceripple.html#a15af9593e9fbf548108cc81b798020c3">retiredFix1528</a> = <a class="code hl_function" href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">retireFeature</a>(<span class="stringliteral">"fix1528"</span>);</div>
|
||||
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno"> 472</span> </div>
|
||||
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno"> 473</span><span class="comment">// clang-format on</span></div>
|
||||
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno"> 474</span> </div>
|
||||
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno"> 475</span><span class="comment">// All of the features should now be registered, since variables in a cpp file</span></div>
|
||||
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno"> 476</span><span class="comment">// are initialized from top to bottom.</span></div>
|
||||
<div class="line"><a id="l00477" name="l00477"></a><span class="lineno"> 477</span><span class="comment">//</span></div>
|
||||
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"> 478</span><span class="comment">// Use initialization of one final static variable to set</span></div>
|
||||
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"> 479</span><span class="comment">// featureCollections::readOnly.</span></div>
|
||||
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7"> 480</a></span>[[maybe_unused]] <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7">readOnlySet</a> =</div>
|
||||
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"> 481</span> featureCollections.registrationIsDone();</div>
|
||||
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"> 482</span> </div>
|
||||
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"> 483</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno"> 444</span><span class="preprocessor">#include <xrpl/protocol/detail/features.macro></span></div>
|
||||
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno"> 445</span> </div>
|
||||
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno"> 446</span><span class="preprocessor">#undef XRPL_RETIRE</span></div>
|
||||
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno"> 447</span><span class="preprocessor">#pragma pop_macro("XRPL_RETIRE"</span>)</div>
|
||||
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno"> 448</span><span class="preprocessor">#undef XRPL_FIX</span></div>
|
||||
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno"> 449</span><span class="preprocessor">#pragma pop_macro("XRPL_FIX"</span>)</div>
|
||||
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno"> 450</span><span class="preprocessor">#undef XRPL_FEATURE</span></div>
|
||||
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno"> 451</span><span class="preprocessor">#pragma pop_macro("XRPL_FEATURE"</span>)</div>
|
||||
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno"> 452</span> </div>
|
||||
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno"> 453</span><span class="comment">// All of the features should now be registered, since variables in a cpp file</span></div>
|
||||
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno"> 454</span><span class="comment">// are initialized from top to bottom.</span></div>
|
||||
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno"> 455</span><span class="comment">//</span></div>
|
||||
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"> 456</span><span class="comment">// Use initialization of one final static variable to set</span></div>
|
||||
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno"> 457</span><span class="comment">// featureCollections::readOnly.</span></div>
|
||||
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno"><a class="line" href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7"> 458</a></span>[[maybe_unused]] <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7">readOnlySet</a> =</div>
|
||||
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno"> 459</span> featureCollections.registrationIsDone();</div>
|
||||
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno"> 460</span> </div>
|
||||
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno"> 461</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="ttc" id="aatomic_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/atomic.html">atomic</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>
|
||||
<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>
|
||||
@@ -553,49 +531,34 @@ $(function() {
|
||||
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/map.html">map</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html_af3b5e4579dafe6a4a496663e541bfebc"><div class="ttname"><a href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">Json::check</a></div><div class="ttdeci">void check(bool condition, std::string const &message)</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00253">json/Writer.h:253</a></div></div>
|
||||
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="IPAddress_8h_source.html#l00105">IPAddress.h:105</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a21f3cf18de89d49823e064f09526cb5f"><div class="ttname"><a href="namespaceripple_1_1detail.html#a21f3cf18de89d49823e064f09526cb5f">ripple::detail::numFeatures</a></div><div class="ttdeci">static constexpr std::size_t numFeatures</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8h_source.html#l00085">Feature.h:85</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a48573a366f17fd2a6294905c3cb4a29e"><div class="ttname"><a href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e">ripple::detail::numUpVotedAmendments</a></div><div class="ttdeci">std::size_t numUpVotedAmendments()</div><div class="ttdoc">Amendments that this server will vote for by default.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00377">Feature.cpp:377</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a907b165d0a3ebb3ce0a2f1c64c50e107"><div class="ttname"><a href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107">ripple::detail::numDownVotedAmendments</a></div><div class="ttdeci">std::size_t numDownVotedAmendments()</div><div class="ttdoc">Amendments that this server won't vote for by default.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00370">Feature.cpp:370</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_aa306c03c39352f8b30c6fbde3fe972f3"><div class="ttname"><a href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3">ripple::detail::supportedAmendments</a></div><div class="ttdeci">std::map< std::string, VoteBehavior > const & supportedAmendments()</div><div class="ttdoc">Amendments that this server supports and the default voting behavior.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00363">Feature.cpp:363</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a21f3cf18de89d49823e064f09526cb5f"><div class="ttname"><a href="namespaceripple_1_1detail.html#a21f3cf18de89d49823e064f09526cb5f">ripple::detail::numFeatures</a></div><div class="ttdeci">static constexpr std::size_t numFeatures</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8h_source.html#l00100">Feature.h:100</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a48573a366f17fd2a6294905c3cb4a29e"><div class="ttname"><a href="namespaceripple_1_1detail.html#a48573a366f17fd2a6294905c3cb4a29e">ripple::detail::numUpVotedAmendments</a></div><div class="ttdeci">std::size_t numUpVotedAmendments()</div><div class="ttdoc">Amendments that this server will vote for by default.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00374">Feature.cpp:374</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_a907b165d0a3ebb3ce0a2f1c64c50e107"><div class="ttname"><a href="namespaceripple_1_1detail.html#a907b165d0a3ebb3ce0a2f1c64c50e107">ripple::detail::numDownVotedAmendments</a></div><div class="ttdeci">std::size_t numDownVotedAmendments()</div><div class="ttdoc">Amendments that this server won't vote for by default.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00367">Feature.cpp:367</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1detail_html_aa306c03c39352f8b30c6fbde3fe972f3"><div class="ttname"><a href="namespaceripple_1_1detail.html#aa306c03c39352f8b30c6fbde3fe972f3">ripple::detail::supportedAmendments</a></div><div class="ttdeci">std::map< std::string, VoteBehavior > const & supportedAmendments()</div><div class="ttdoc">Amendments that this server supports and the default voting behavior.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00360">Feature.cpp:360</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1252db24dc72b14ae8d094dad876ceb0"><div class="ttname"><a href="namespaceripple.html#a1252db24dc72b14ae8d094dad876ceb0">ripple::retiredFeeEscalation</a></div><div class="ttdeci">uint256 const retiredFeeEscalation</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00459">Feature.cpp:459</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a15af9593e9fbf548108cc81b798020c3"><div class="ttname"><a href="namespaceripple.html#a15af9593e9fbf548108cc81b798020c3">ripple::retiredFix1528</a></div><div class="ttdeci">uint256 const retiredFix1528</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00471">Feature.cpp:471</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1d41b8de235b5974a5863d29cfb7c423"><div class="ttname"><a href="namespaceripple.html#a1d41b8de235b5974a5863d29cfb7c423">ripple::retiredFix1368</a></div><div class="ttdeci">uint256 const retiredFix1368</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00463">Feature.cpp:463</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a28da871aa8d28d28a444e1b3885065cf"><div class="ttname"><a href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf">ripple::bitsetIndexToFeature</a></div><div class="ttdeci">uint256 bitsetIndexToFeature(size_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00418">Feature.cpp:418</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a2d6d1d5f493cee3b5c87f2127793d9e4"><div class="ttname"><a href="namespaceripple.html#a2d6d1d5f493cee3b5c87f2127793d9e4">ripple::retiredFix1512</a></div><div class="ttdeci">uint256 const retiredFix1512</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00469">Feature.cpp:469</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a326f6023f0803e3b50aa98f8922327c7"><div class="ttname"><a href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7">ripple::readOnlySet</a></div><div class="ttdeci">static const bool readOnlySet</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00480">Feature.cpp:480</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a28da871aa8d28d28a444e1b3885065cf"><div class="ttname"><a href="namespaceripple.html#a28da871aa8d28d28a444e1b3885065cf">ripple::bitsetIndexToFeature</a></div><div class="ttdeci">uint256 bitsetIndexToFeature(size_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00415">Feature.cpp:415</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a326f6023f0803e3b50aa98f8922327c7"><div class="ttname"><a href="namespaceripple.html#a326f6023f0803e3b50aa98f8922327c7">ripple::readOnlySet</a></div><div class="ttdeci">static const bool readOnlySet</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00458">Feature.cpp:458</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3330933c50c449b7830586d1450da8f5ab4080bdf74febf04d578ff105cce9d3f"><div class="ttname"><a href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ab4080bdf74febf04d578ff105cce9d3f">ripple::AmendmentSupport::Unsupported</a></div><div class="ttdeci">@ Unsupported</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3330933c50c449b7830586d1450da8f5ad109ac74df282488efd1dd7621a847d2"><div class="ttname"><a href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5ad109ac74df282488efd1dd7621a847d2">ripple::AmendmentSupport::Retired</a></div><div class="ttdeci">@ Retired</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124"><div class="ttname"><a href="namespaceripple.html#a3330933c50c449b7830586d1450da8f5aeaa4dc5078017a5c5bebf383ab6f5124">ripple::AmendmentSupport::Supported</a></div><div class="ttdeci">@ Supported</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a356c68147333a9a48a344718038576d9"><div class="ttname"><a href="namespaceripple.html#a356c68147333a9a48a344718038576d9">ripple::uint256</a></div><div class="ttdeci">base_uint< 256 > uint256</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00558">base_uint.h:558</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3a835ca68f94459268b5110e3940633e"><div class="ttname"><a href="namespaceripple.html#a3a835ca68f94459268b5110e3940633e">ripple::retiredTrustSetAuth</a></div><div class="ttdeci">uint256 const retiredTrustSetAuth</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00458">Feature.cpp:458</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a409262339843a2785f29845c7ec5c7f9"><div class="ttname"><a href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">ripple::registerFeature</a></div><div class="ttdeci">uint256 registerFeature(std::string const &name, Supported support, VoteBehavior vote)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00391">Feature.cpp:391</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a4d54402f30e7745c8ec622832558f63f"><div class="ttname"><a href="namespaceripple.html#a4d54402f30e7745c8ec622832558f63f">ripple::retiredCryptoConditions</a></div><div class="ttdeci">uint256 const retiredCryptoConditions</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00461">Feature.cpp:461</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5615be68395c1c761f657a4f20fee5c0"><div class="ttname"><a href="namespaceripple.html#a5615be68395c1c761f657a4f20fee5c0">ripple::retiredSortedDirectories</a></div><div class="ttdeci">uint256 const retiredSortedDirectories</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00467">Feature.cpp:467</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a6e6cb404a0c2959a27f3ff9664d42278"><div class="ttname"><a href="namespaceripple.html#a6e6cb404a0c2959a27f3ff9664d42278">ripple::retiredFix1523</a></div><div class="ttdeci">uint256 const retiredFix1523</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00470">Feature.cpp:470</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7829716dab9950c88863168cc8731870"><div class="ttname"><a href="namespaceripple.html#a7829716dab9950c88863168cc8731870">ripple::featureToBitsetIndex</a></div><div class="ttdeci">size_t featureToBitsetIndex(uint256 const &f)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00412">Feature.cpp:412</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a409262339843a2785f29845c7ec5c7f9"><div class="ttname"><a href="namespaceripple.html#a409262339843a2785f29845c7ec5c7f9">ripple::registerFeature</a></div><div class="ttdeci">uint256 registerFeature(std::string const &name, Supported support, VoteBehavior vote)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00388">Feature.cpp:388</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7829716dab9950c88863168cc8731870"><div class="ttname"><a href="namespaceripple.html#a7829716dab9950c88863168cc8731870">ripple::featureToBitsetIndex</a></div><div class="ttdeci">size_t featureToBitsetIndex(uint256 const &f)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00409">Feature.cpp:409</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a786c40cb27211e1704047accb2ca26bda1e5e1f9aa3cae812e41b2cf743bcfec0"><div class="ttname"><a href="namespaceripple.html#a786c40cb27211e1704047accb2ca26bda1e5e1f9aa3cae812e41b2cf743bcfec0">ripple::no</a></div><div class="ttdeci">@ no</div><div class="ttdef"><b>Definition:</b> <a href="Steps_8h_source.html#l00043">Steps.h:43</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a786c40cb27211e1704047accb2ca26bda1f50dcfdaa21158935cd0b5ea204fa2b"><div class="ttname"><a href="namespaceripple.html#a786c40cb27211e1704047accb2ca26bda1f50dcfdaa21158935cd0b5ea204fa2b">ripple::yes</a></div><div class="ttdeci">@ yes</div><div class="ttdef"><b>Definition:</b> <a href="Steps_8h_source.html#l00043">Steps.h:43</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7bd0d2a0e51e2826e5e588e30886f204"><div class="ttname"><a href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204">ripple::allAmendments</a></div><div class="ttdeci">std::map< std::string, AmendmentSupport > const & allAmendments()</div><div class="ttdoc">All amendments libxrpl knows about.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00354">Feature.cpp:354</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7bd0d2a0e51e2826e5e588e30886f204"><div class="ttname"><a href="namespaceripple.html#a7bd0d2a0e51e2826e5e588e30886f204">ripple::allAmendments</a></div><div class="ttdeci">std::map< std::string, AmendmentSupport > const & allAmendments()</div><div class="ttdoc">All amendments libxrpl knows about.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00351">Feature.cpp:351</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7f497dcb1c3e98dd745e3278eafc5342"><div class="ttname"><a href="namespaceripple.html#a7f497dcb1c3e98dd745e3278eafc5342">ripple::hash_value</a></div><div class="ttdeci">std::size_t hash_value(ripple::uint256 const &feature)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00044">Feature.cpp:44</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51"><div class="ttname"><a href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">ripple::TxSearched::all</a></div><div class="ttdeci">@ all</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a8abb20151d4c2fd32f24688b13186b81"><div class="ttname"><a href="namespaceripple.html#a8abb20151d4c2fd32f24688b13186b81">ripple::retiredFix1373</a></div><div class="ttdeci">uint256 const retiredFix1373</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00465">Feature.cpp:465</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a8c231e0a6ac493297e442e8e99af8037"><div class="ttname"><a href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">ripple::retireFeature</a></div><div class="ttdeci">uint256 retireFeature(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00399">Feature.cpp:399</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a90ab4c05681dc38f94cc94b68cd81421"><div class="ttname"><a href="namespaceripple.html#a90ab4c05681dc38f94cc94b68cd81421">ripple::retiredEscrow</a></div><div class="ttdeci">uint256 const retiredEscrow</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00464">Feature.cpp:464</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa00e870074854cb15cc1d91427e47bec"><div class="ttname"><a href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec">ripple::featureToName</a></div><div class="ttdeci">std::string featureToName(uint256 const &f)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00424">Feature.cpp:424</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa3339c924836be74a553eb0fd5966a3c"><div class="ttname"><a href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c">ripple::getRegisteredFeature</a></div><div class="ttdeci">std::optional< uint256 > getRegisteredFeature(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00385">Feature.cpp:385</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa5778f9faa15e3677dcda7975d9db7c6"><div class="ttname"><a href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6">ripple::VoteBehavior</a></div><div class="ttdeci">VoteBehavior</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8h_source.html#l00072">Feature.h:72</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a8c231e0a6ac493297e442e8e99af8037"><div class="ttname"><a href="namespaceripple.html#a8c231e0a6ac493297e442e8e99af8037">ripple::retireFeature</a></div><div class="ttdeci">uint256 retireFeature(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00396">Feature.cpp:396</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa00e870074854cb15cc1d91427e47bec"><div class="ttname"><a href="namespaceripple.html#aa00e870074854cb15cc1d91427e47bec">ripple::featureToName</a></div><div class="ttdeci">std::string featureToName(uint256 const &f)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00421">Feature.cpp:421</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa3339c924836be74a553eb0fd5966a3c"><div class="ttname"><a href="namespaceripple.html#aa3339c924836be74a553eb0fd5966a3c">ripple::getRegisteredFeature</a></div><div class="ttdeci">std::optional< uint256 > getRegisteredFeature(std::string const &name)</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00382">Feature.cpp:382</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa5778f9faa15e3677dcda7975d9db7c6"><div class="ttname"><a href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6">ripple::VoteBehavior</a></div><div class="ttdeci">VoteBehavior</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8h_source.html#l00076">Feature.h:76</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa5778f9faa15e3677dcda7975d9db7c6a3fcbd083035206240ef4d4488ac18498"><div class="ttname"><a href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6a3fcbd083035206240ef4d4488ac18498">ripple::VoteBehavior::DefaultNo</a></div><div class="ttdeci">@ DefaultNo</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa5778f9faa15e3677dcda7975d9db7c6a7edd41da231424c2a5df0cffd15af6bf"><div class="ttname"><a href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6a7edd41da231424c2a5df0cffd15af6bf">ripple::VoteBehavior::DefaultYes</a></div><div class="ttdeci">@ DefaultYes</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7"><div class="ttname"><a href="namespaceripple.html#aa5778f9faa15e3677dcda7975d9db7c6aec30c235d0eb792797af1aa1d11759a7">ripple::VoteBehavior::Obsolete</a></div><div class="ttdeci">@ Obsolete</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ab855b7dc597a1d39d89b0056a1dbac6f"><div class="ttname"><a href="namespaceripple.html#ab855b7dc597a1d39d89b0056a1dbac6f">ripple::retiredFix1201</a></div><div class="ttdeci">uint256 const retiredFix1201</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00468">Feature.cpp:468</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint< Bits, Tag > const &a)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac52a0eb5ca3e6aec7bc695eb44ed1ab8"><div class="ttname"><a href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8">ripple::registrationIsDone</a></div><div class="ttdeci">bool registrationIsDone()</div><div class="ttdoc">Tell FeatureCollections when registration is complete.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00406">Feature.cpp:406</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aca442231e914cd7cc2e281bf40d2297f"><div class="ttname"><a href="namespaceripple.html#aca442231e914cd7cc2e281bf40d2297f">ripple::retiredMultiSign</a></div><div class="ttdeci">uint256 const retiredMultiSign</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00457">Feature.cpp:457</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aca5f4ff20f78a82f945a1e66606ffae3"><div class="ttname"><a href="namespaceripple.html#aca5f4ff20f78a82f945a1e66606ffae3">ripple::retiredTickSize</a></div><div class="ttdeci">uint256 const retiredTickSize</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00462">Feature.cpp:462</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_acfe0dd6bb6647991f9b32d8811db3bc2"><div class="ttname"><a href="namespaceripple.html#acfe0dd6bb6647991f9b32d8811db3bc2">ripple::retiredPayChan</a></div><div class="ttdeci">uint256 const retiredPayChan</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00460">Feature.cpp:460</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac52a0eb5ca3e6aec7bc695eb44ed1ab8"><div class="ttname"><a href="namespaceripple.html#ac52a0eb5ca3e6aec7bc695eb44ed1ab8">ripple::registrationIsDone</a></div><div class="ttdeci">bool registrationIsDone()</div><div class="ttdoc">Tell FeatureCollections when registration is complete.</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00403">Feature.cpp:403</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae3f5bc352766a1a8dbf5270eb7dbc2e7"><div class="ttname"><a href="namespaceripple.html#ae3f5bc352766a1a8dbf5270eb7dbc2e7">ripple::sha512Half</a></div><div class="ttdeci">sha512_half_hasher::result_type sha512Half(Args const &... args)</div><div class="ttdoc">Returns the SHA512-Half of a series of objects.</div><div class="ttdef"><b>Definition:</b> <a href="digest_8h_source.html#l00225">digest.h:225</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ae7222ae6cf5043a674e87793a508d8d2"><div class="ttname"><a href="namespaceripple.html#ae7222ae6cf5043a674e87793a508d8d2">ripple::retiredEnforceInvariants</a></div><div class="ttdeci">uint256 const retiredEnforceInvariants</div><div class="ttdef"><b>Definition:</b> <a href="Feature_8cpp_source.html#l00466">Feature.cpp:466</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#l00050">contract.cpp:50</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/optional.html">optional</a></div></div>
|
||||
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/size.html">std::string::size</a></div><div class="ttdeci">T size(T... args)</div></div>
|
||||
|
||||
Reference in New Issue
Block a user