mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
deploy: afc05659ed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.5"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>rippled: AmendmentTable.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -29,7 +29,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.5 -->
|
||||
<!-- Generated by Doxygen 1.9.8 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
@@ -46,6 +46,11 @@ $(function() {
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(0); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
@@ -116,6 +121,7 @@ $(function() {
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::pair<uint256, std::string></a>></div>
|
||||
<div class="foldopen" id="foldopen00041" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple.html#a0506410105aac310c2e4e0cebb9b18aa"> 41</a></span><a class="code hl_function" href="namespaceripple.html#a0506410105aac310c2e4e0cebb9b18aa">parseSection</a>(<a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& section)</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">static</span> boost::regex <span class="keyword">const</span> re1(</div>
|
||||
@@ -149,17 +155,21 @@ $(function() {
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">return</span> names;</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
||||
<div class="foldopen" id="foldopen00093" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="classripple_1_1TrustedVotes.html"> 93</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1TrustedVotes.html">TrustedVotes</a></div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span>{</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// Associates each trusted validator with the last votes we saw from them</span></div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// and an expiration for that record.</span></div>
|
||||
<div class="foldopen" id="foldopen00098" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html"> 98</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html">UpvotesAndTimeout</a></div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> {</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a4588ecf54c235e6525991eb727a0fa92"> 100</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a> <a class="code hl_variable" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a4588ecf54c235e6525991eb727a0fa92">upVotes</a>;</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a8aa0aefb1fe98d9700c4be5d2c2ab1b2"> 106</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<NetClock::time_point></a> <a class="code hl_variable" href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a8aa0aefb1fe98d9700c4be5d2c2ab1b2">timeout</a>;</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> };</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="classripple_1_1TrustedVotes.html#a92a6e302c047b3c033dfa5b88549d6d1"> 108</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<PublicKey, UpvotesAndTimeout></a> <a class="code hl_variable" href="classripple_1_1TrustedVotes.html#a92a6e302c047b3c033dfa5b88549d6d1">recordedVotes_</a>;</div>
|
||||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div>
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="keyword">public</span>:</div>
|
||||
@@ -172,6 +182,7 @@ $(function() {
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="comment">//</span></div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="comment">// Call with AmendmentTable::mutex_ locked.</span></div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00120" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="classripple_1_1TrustedVotes.html#abc0eec642a9611d23c5e451374db4a9c"> 120</a></span> <a class="code hl_function" href="classripple_1_1TrustedVotes.html#abc0eec642a9611d23c5e451374db4a9c">trustChanged</a>(</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<PublicKey></a> <span class="keyword">const</span>& allTrusted,</div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> <span class="keyword">const</span>& lock)</div>
|
||||
@@ -200,11 +211,13 @@ $(function() {
|
||||
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> <span class="comment">// when changedTrustedVotes goes out of scope.</span></div>
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_variable" href="classripple_1_1TrustedVotes.html#a92a6e302c047b3c033dfa5b88549d6d1">recordedVotes_</a>.swap(newRecordedVotes);</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="comment">// Called when we receive the latest votes.</span></div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="comment">//</span></div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="comment">// Call with AmendmentTable::mutex_ locked.</span></div>
|
||||
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00153" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="classripple_1_1TrustedVotes.html#a6ddb6129de9561409013dd3a789d96ea"> 153</a></span> <a class="code hl_function" href="classripple_1_1TrustedVotes.html#a6ddb6129de9561409013dd3a789d96ea">recordVotes</a>(</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<STValidation></a>> <span class="keyword">const</span>& valSet,</div>
|
||||
@@ -314,11 +327,13 @@ $(function() {
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span> }</div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> });</div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
|
||||
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// Return the information needed by AmendmentSet to determine votes.</span></div>
|
||||
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="comment">//</span></div>
|
||||
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <span class="comment">// Call with AmendmentTable::mutex_ locked.</span></div>
|
||||
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> [[nodiscard]] <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair<int, hash_map<uint256, int></a>></div>
|
||||
<div class="foldopen" id="foldopen00267" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"><a class="line" href="classripple_1_1TrustedVotes.html#a922f8bafae9857187a7711f809ae4cfb"> 267</a></span> <a class="code hl_function" href="classripple_1_1TrustedVotes.html#a922f8bafae9857187a7711f809ae4cfb">getVotes</a>(<a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> <span class="keyword">const</span>& lock)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<uint256, int></a> ret;</div>
|
||||
@@ -338,8 +353,11 @@ $(function() {
|
||||
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> }</div>
|
||||
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">return</span> {<a class="code hl_enumvalue" href="namespaceripple.html#aaf9d6587e02c610e84a029ad5b5e17b4ae4894ca167b08880bfc35862f18575eb">available</a>, ret};</div>
|
||||
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> </div>
|
||||
<div class="foldopen" id="foldopen00292" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"><a class="line" href="structripple_1_1AmendmentState.html"> 292</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a></div>
|
||||
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span>{</div>
|
||||
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="structripple_1_1AmendmentState.html#aded5fcee7705f5497086749ea0aea289"> 295</a></span> <a class="code hl_enumeration" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> vote = AmendmentVote::down;</div>
|
||||
@@ -352,7 +370,9 @@ $(function() {
|
||||
<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"><a class="line" href="structripple_1_1AmendmentState.html#ae51fd7660d8d88e63430777f10cae97e"> 310</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="structripple_1_1AmendmentState.html#ae51fd7660d8d88e63430777f10cae97e">AmendmentState</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> </div>
|
||||
<div class="foldopen" id="foldopen00314" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html"> 314</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1AmendmentSet.html">AmendmentSet</a></div>
|
||||
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span>{</div>
|
||||
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span><span class="keyword">private</span>:</div>
|
||||
@@ -365,6 +385,7 @@ $(function() {
|
||||
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#a8918c8eb31f69d5298b0ea8af6cb0982"> 323</a></span> <span class="keywordtype">int</span> threshold_ = 0;</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="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00326" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#a7539e5037a8c380f9b5baf445298deba"> 326</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#a7539e5037a8c380f9b5baf445298deba">computeThreshold</a>(<span class="keywordtype">int</span> trustedValidations, <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules)</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> threshold_ = !rules_.<a class="code hl_function" href="classripple_1_1Rules.html#a1a8388a2b9588aa9446ece92a88e0dd2">enabled</a>(fixAmendmentMajorityCalc)</div>
|
||||
@@ -381,8 +402,10 @@ $(function() {
|
||||
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <a class="code hl_variable" href="namespaceripple.html#a7efda97c0ca3525b31f602de3243fae7">postFixAmendmentMajorityCalcThreshold</a>.num) /</div>
|
||||
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_variable" href="namespaceripple.html#a7efda97c0ca3525b31f602de3243fae7">postFixAmendmentMajorityCalcThreshold</a>.den));</div>
|
||||
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> </div>
|
||||
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span><span class="keyword">public</span>:</div>
|
||||
<div class="foldopen" id="foldopen00344" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#ab715d365e58e89818d1d45ec3354988d"> 344</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#ab715d365e58e89818d1d45ec3354988d">AmendmentSet</a>(</div>
|
||||
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
||||
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> <a class="code hl_class" href="classripple_1_1TrustedVotes.html">TrustedVotes</a> <span class="keyword">const</span>& trustedVotes,</div>
|
||||
@@ -397,8 +420,10 @@ $(function() {
|
||||
<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> computeThreshold(trustedValidations_, rules);</div>
|
||||
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> </div>
|
||||
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00360" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#a784480b9d6fe68e8945fb9378728f534"> 360</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#a784480b9d6fe68e8945fb9378728f534">passes</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> <span class="keyword">auto</span> <span class="keyword">const</span>& it = votes_.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">find</a>(amendment);</div>
|
||||
@@ -417,8 +442,10 @@ $(function() {
|
||||
<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> it->second > threshold_;</div>
|
||||
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> }</div>
|
||||
</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="keywordtype">int</span></div>
|
||||
<div class="foldopen" id="foldopen00380" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#a0013b2363b5bb424e124cf0af9997380"> 380</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#a0013b2363b5bb424e124cf0af9997380">votes</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> <span class="keyword">auto</span> <span class="keyword">const</span>& it = votes_.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">find</a>(amendment);</div>
|
||||
@@ -428,22 +455,29 @@ $(function() {
|
||||
<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> it->second;</div>
|
||||
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> }</div>
|
||||
</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="keywordtype">int</span></div>
|
||||
<div class="foldopen" id="foldopen00391" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#a6d6b63ea4b09a0b012667c79aff07528"> 391</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#a6d6b63ea4b09a0b012667c79aff07528">trustedValidations</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"> 393</span> <span class="keywordflow">return</span> trustedValidations_;</div>
|
||||
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> }</div>
|
||||
</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="keywordtype">int</span></div>
|
||||
<div class="foldopen" id="foldopen00397" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentSet.html#ac0d9edcc31c8b0fe5a90da0e35e09dc5"> 397</a></span> <a class="code hl_function" href="classripple_1_1AmendmentSet.html#ac0d9edcc31c8b0fe5a90da0e35e09dc5">threshold</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span><span class="keyword"> </span>{</div>
|
||||
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> <span class="keywordflow">return</span> threshold_;</div>
|
||||
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span>};</div>
|
||||
</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><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span> </div>
|
||||
<div class="foldopen" id="foldopen00411" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html"> 411</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1AmendmentTableImpl.html">AmendmentTableImpl</a> final : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1AmendmentTable.html">AmendmentTable</a></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><span class="keyword">private</span>:</div>
|
||||
@@ -564,9 +598,11 @@ $(function() {
|
||||
<div class="line"><a id="l00528" name="l00528"></a><span class="lineno"> 528</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">majorityAmendments_t</a> <span class="keyword">const</span>& majorityAmendments,</div>
|
||||
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno"> 529</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a><<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<STValidation></a>> <span class="keyword">const</span>& validations) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a id="l00530" name="l00530"></a><span class="lineno"> 530</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00531" name="l00531"></a><span class="lineno"> 531</span> </div>
|
||||
<div class="line"><a id="l00532" name="l00532"></a><span class="lineno"> 532</span><span class="comment">//------------------------------------------------------------------------------</span></div>
|
||||
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno"> 533</span> </div>
|
||||
<div class="foldopen" id="foldopen00534" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00534" name="l00534"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#ad8ae023b65df83333c31ccfbd08246f6"> 534</a></span>AmendmentTableImpl::AmendmentTableImpl(</div>
|
||||
<div class="line"><a id="l00535" name="l00535"></a><span class="lineno"> 535</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>& app,</div>
|
||||
<div class="line"><a id="l00536" name="l00536"></a><span class="lineno"> 536</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> majorityTime,</div>
|
||||
@@ -707,8 +743,10 @@ $(function() {
|
||||
<div class="line"><a id="l00671" name="l00671"></a><span class="lineno"> 671</span> }</div>
|
||||
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno"> 672</span> });</div>
|
||||
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno"> 673</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno"> 674</span> </div>
|
||||
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno"> 675</span><a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a>&</div>
|
||||
<div class="foldopen" id="foldopen00676" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a6a02743339c64f66083284b3098c8345"> 676</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a6a02743339c64f66083284b3098c8345">AmendmentTableImpl::add</a>(</div>
|
||||
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno"> 677</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendmentHash,</div>
|
||||
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno"> 678</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> <span class="keyword">const</span>&)</div>
|
||||
@@ -716,8 +754,10 @@ $(function() {
|
||||
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno"> 680</span> <span class="comment">// call with the mutex held</span></div>
|
||||
<div class="line"><a id="l00681" name="l00681"></a><span class="lineno"> 681</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a7cca5bba8dff04a84023969c1499160f">amendmentMap_</a>[amendmentHash];</div>
|
||||
<div class="line"><a id="l00682" name="l00682"></a><span class="lineno"> 682</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00683" name="l00683"></a><span class="lineno"> 683</span> </div>
|
||||
<div class="line"><a id="l00684" name="l00684"></a><span class="lineno"> 684</span><a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a>*</div>
|
||||
<div class="foldopen" id="foldopen00685" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00685" name="l00685"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e"> 685</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">AmendmentTableImpl::get</a>(</div>
|
||||
<div class="line"><a id="l00686" name="l00686"></a><span class="lineno"> 686</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendmentHash,</div>
|
||||
<div class="line"><a id="l00687" name="l00687"></a><span class="lineno"> 687</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> <span class="keyword">const</span>& lock)</div>
|
||||
@@ -726,8 +766,10 @@ $(function() {
|
||||
<div class="line"><a id="l00690" name="l00690"></a><span class="lineno"> 690</span> <span class="keywordflow">return</span> <span class="keyword">const_cast<</span><a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a>*<span class="keyword">></span>(</div>
|
||||
<div class="line"><a id="l00691" name="l00691"></a><span class="lineno"> 691</span> <a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/utility/as_const.html">std::as_const</a>(*this).get(amendmentHash, lock));</div>
|
||||
<div class="line"><a id="l00692" name="l00692"></a><span class="lineno"> 692</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00693" name="l00693"></a><span class="lineno"> 693</span> </div>
|
||||
<div class="line"><a id="l00694" name="l00694"></a><span class="lineno"> 694</span><a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a> <span class="keyword">const</span>*</div>
|
||||
<div class="foldopen" id="foldopen00695" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00695" name="l00695"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#accf7c7c2e4b9eb4c479e05487cc30b7c"> 695</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">AmendmentTableImpl::get</a>(</div>
|
||||
<div class="line"><a id="l00696" name="l00696"></a><span class="lineno"> 696</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendmentHash,</div>
|
||||
<div class="line"><a id="l00697" name="l00697"></a><span class="lineno"> 697</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard<std::mutex></a> <span class="keyword">const</span>&)<span class="keyword"> const</span></div>
|
||||
@@ -740,8 +782,10 @@ $(function() {
|
||||
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno"> 704</span> </div>
|
||||
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno"> 705</span> <span class="keywordflow">return</span> &ret->second;</div>
|
||||
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno"> 706</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno"> 707</span> </div>
|
||||
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno"> 708</span><a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a></div>
|
||||
<div class="foldopen" id="foldopen00709" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a0ce3359d4362a4d0fdd0b84c39b6ff95"> 709</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a0ce3359d4362a4d0fdd0b84c39b6ff95">AmendmentTableImpl::find</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)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno"> 710</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno"> 711</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
@@ -754,8 +798,10 @@ $(function() {
|
||||
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno"> 718</span> </div>
|
||||
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno"> 719</span> <span class="keywordflow">return</span> {};</div>
|
||||
<div class="line"><a id="l00720" name="l00720"></a><span class="lineno"> 720</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00721" name="l00721"></a><span class="lineno"> 721</span> </div>
|
||||
<div class="line"><a id="l00722" name="l00722"></a><span class="lineno"> 722</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00723" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00723" name="l00723"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a"> 723</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">AmendmentTableImpl::persistVote</a>(</div>
|
||||
<div class="line"><a id="l00724" name="l00724"></a><span class="lineno"> 724</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment,</div>
|
||||
<div class="line"><a id="l00725" name="l00725"></a><span class="lineno"> 725</span> <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>
|
||||
@@ -767,8 +813,10 @@ $(function() {
|
||||
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno"> 731</span> <span class="keyword">auto</span> db = <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a154a5c8e4a4839ec9db272a1b85a7b93">db_</a>.<a class="code hl_function" href="classripple_1_1DatabaseCon.html#a16c6f729c6462f6200b724543f5c67bc">checkoutDb</a>();</div>
|
||||
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno"> 732</span> <a class="code hl_function" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">voteAmendment</a>(*db, amendment, name, vote);</div>
|
||||
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno"> 733</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno"> 734</span> </div>
|
||||
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno"> 735</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00736" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00736" name="l00736"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a3ed0fa478f3811768ffa240db7effeed"> 736</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a3ed0fa478f3811768ffa240db7effeed">AmendmentTableImpl::veto</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)</div>
|
||||
<div class="line"><a id="l00737" name="l00737"></a><span class="lineno"> 737</span>{</div>
|
||||
<div class="line"><a id="l00738" name="l00738"></a><span class="lineno"> 738</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
@@ -780,8 +828,10 @@ $(function() {
|
||||
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno"> 744</span> <a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">persistVote</a>(amendment, s.<a class="code hl_variable" href="structripple_1_1AmendmentState.html#aa277e358200e0a43605b34f901d6f6d7">name</a>, s.<a class="code hl_variable" href="structripple_1_1AmendmentState.html#aded5fcee7705f5497086749ea0aea289">vote</a>);</div>
|
||||
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno"> 745</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno"> 746</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno"> 747</span> </div>
|
||||
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno"> 748</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00749" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00749" name="l00749"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a0d1704ba32d8c87761c27236cde40f88"> 749</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a0d1704ba32d8c87761c27236cde40f88">AmendmentTableImpl::unVeto</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)</div>
|
||||
<div class="line"><a id="l00750" name="l00750"></a><span class="lineno"> 750</span>{</div>
|
||||
<div class="line"><a id="l00751" name="l00751"></a><span class="lineno"> 751</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
@@ -793,8 +843,10 @@ $(function() {
|
||||
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno"> 757</span> <a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">persistVote</a>(amendment, s-><a class="code hl_variable" href="structripple_1_1AmendmentState.html#aa277e358200e0a43605b34f901d6f6d7">name</a>, s-><a class="code hl_variable" href="structripple_1_1AmendmentState.html#aded5fcee7705f5497086749ea0aea289">vote</a>);</div>
|
||||
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno"> 758</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno"> 759</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno"> 760</span> </div>
|
||||
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno"> 761</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00762" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a195a61b5c9f813b5c275ae50a7b40e25"> 762</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a195a61b5c9f813b5c275ae50a7b40e25">AmendmentTableImpl::enable</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)</div>
|
||||
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno"> 763</span>{</div>
|
||||
<div class="line"><a id="l00764" name="l00764"></a><span class="lineno"> 764</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
@@ -814,38 +866,48 @@ $(function() {
|
||||
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno"> 778</span> </div>
|
||||
<div class="line"><a id="l00779" name="l00779"></a><span class="lineno"> 779</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00780" name="l00780"></a><span class="lineno"> 780</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00781" name="l00781"></a><span class="lineno"> 781</span> </div>
|
||||
<div class="line"><a id="l00782" name="l00782"></a><span class="lineno"> 782</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00783" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00783" name="l00783"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a630f159b4f3029034ac3c5b91b48e08c"> 783</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a630f159b4f3029034ac3c5b91b48e08c">AmendmentTableImpl::isEnabled</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00784" name="l00784"></a><span class="lineno"> 784</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00785" name="l00785"></a><span class="lineno"> 785</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno"> 786</span> <a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a> <span class="keyword">const</span>* s = <a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">get</a>(amendment, lock);</div>
|
||||
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno"> 787</span> <span class="keywordflow">return</span> s && s-><a class="code hl_variable" href="structripple_1_1AmendmentState.html#a39806570502aef287f7d682ed8292521">enabled</a>;</div>
|
||||
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno"> 788</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno"> 789</span> </div>
|
||||
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno"> 790</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00791" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00791" name="l00791"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#adce6a4a3f12e891ffdb1a59a547ea11a"> 791</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#adce6a4a3f12e891ffdb1a59a547ea11a">AmendmentTableImpl::isSupported</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendment)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00792" name="l00792"></a><span class="lineno"> 792</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00793" name="l00793"></a><span class="lineno"> 793</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
<div class="line"><a id="l00794" name="l00794"></a><span class="lineno"> 794</span> <a class="code hl_struct" href="structripple_1_1AmendmentState.html">AmendmentState</a> <span class="keyword">const</span>* s = <a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">get</a>(amendment, lock);</div>
|
||||
<div class="line"><a id="l00795" name="l00795"></a><span class="lineno"> 795</span> <span class="keywordflow">return</span> s && s-><a class="code hl_variable" href="structripple_1_1AmendmentState.html#a2d39d31177436771b94c8fa48f5d67f4">supported</a>;</div>
|
||||
<div class="line"><a id="l00796" name="l00796"></a><span class="lineno"> 796</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00797" name="l00797"></a><span class="lineno"> 797</span> </div>
|
||||
<div class="line"><a id="l00798" name="l00798"></a><span class="lineno"> 798</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00799" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15"> 799</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15">AmendmentTableImpl::hasUnsupportedEnabled</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno"> 800</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno"> 801</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno"> 802</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#ac17353f2946a09f26809d15b3c24cc48">unsupportedEnabled_</a>;</div>
|
||||
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno"> 803</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno"> 804</span> </div>
|
||||
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno"> 805</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional<NetClock::time_point></a></div>
|
||||
<div class="foldopen" id="foldopen00806" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#ae591250cf5ab06c0310da46a9e5543fb"> 806</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ae591250cf5ab06c0310da46a9e5543fb">AmendmentTableImpl::firstUnsupportedExpected</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno"> 807</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00808" name="l00808"></a><span class="lineno"> 808</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
<div class="line"><a id="l00809" name="l00809"></a><span class="lineno"> 809</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">firstUnsupportedExpected_</a>;</div>
|
||||
<div class="line"><a id="l00810" name="l00810"></a><span class="lineno"> 810</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno"> 811</span> </div>
|
||||
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno"> 812</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
||||
<div class="foldopen" id="foldopen00813" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9"> 813</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9">AmendmentTableImpl::doValidation</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<uint256></a> <span class="keyword">const</span>& enabled)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno"> 814</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno"> 815</span> <span class="comment">// Get the list of amendments we support and do not</span></div>
|
||||
@@ -871,15 +933,19 @@ $(function() {
|
||||
<div class="line"><a id="l00835" name="l00835"></a><span class="lineno"> 835</span> </div>
|
||||
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno"> 836</span> <span class="keywordflow">return</span> amendments;</div>
|
||||
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno"> 837</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno"> 838</span> </div>
|
||||
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno"> 839</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a></div>
|
||||
<div class="foldopen" id="foldopen00840" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00840" name="l00840"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a38055e674ea217fa366b5bf954d4cd72"> 840</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a38055e674ea217fa366b5bf954d4cd72">AmendmentTableImpl::getDesired</a>()<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00841" name="l00841"></a><span class="lineno"> 841</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00842" name="l00842"></a><span class="lineno"> 842</span> <span class="comment">// Get the list of amendments we support and do not veto</span></div>
|
||||
<div class="line"><a id="l00843" name="l00843"></a><span class="lineno"> 843</span> <span class="keywordflow">return</span> <a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9">doValidation</a>({});</div>
|
||||
<div class="line"><a id="l00844" name="l00844"></a><span class="lineno"> 844</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00845" name="l00845"></a><span class="lineno"> 845</span> </div>
|
||||
<div class="line"><a id="l00846" name="l00846"></a><span class="lineno"> 846</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map<uint256, std::uint32_t></a></div>
|
||||
<div class="foldopen" id="foldopen00847" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00847" name="l00847"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#ac63ab31f4e1f8ea3b8447535c6595a6b"> 847</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#ac63ab31f4e1f8ea3b8447535c6595a6b">AmendmentTableImpl::doVoting</a>(</div>
|
||||
<div class="line"><a id="l00848" name="l00848"></a><span class="lineno"> 848</span> <a class="code hl_class" href="classripple_1_1Rules.html">Rules</a> <span class="keyword">const</span>& rules,</div>
|
||||
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno"> 849</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/time_point.html">NetClock::time_point</a> closeTime,</div>
|
||||
@@ -898,7 +964,7 @@ $(function() {
|
||||
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno"> 862</span> </div>
|
||||
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno"> 863</span> <span class="comment">// Tally the most recent votes.</span></div>
|
||||
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno"> 864</span> <span class="keyword">auto</span> vote =</div>
|
||||
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"> 865</span> std::make_unique<AmendmentSet>(rules, <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a7a558c717f67864197f41f9d7edbc380">previousTrustedVotes_</a>, lock);</div>
|
||||
<div class="line"><a id="l00865" name="l00865"></a><span class="lineno"> 865</span> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::make_unique<AmendmentSet></a>(rules, <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a7a558c717f67864197f41f9d7edbc380">previousTrustedVotes_</a>, lock);</div>
|
||||
<div class="line"><a id="l00866" name="l00866"></a><span class="lineno"> 866</span> JLOG(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a861afbbb0dc1a5669003fbd17a086cbc">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) << <span class="stringliteral">"Counted votes from "</span> << vote->trustedValidations()</div>
|
||||
<div class="line"><a id="l00867" name="l00867"></a><span class="lineno"> 867</span> << <span class="stringliteral">" valid trusted validations, threshold is: "</span></div>
|
||||
<div class="line"><a id="l00868" name="l00868"></a><span class="lineno"> 868</span> << vote->threshold();</div>
|
||||
@@ -923,7 +989,7 @@ $(function() {
|
||||
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno"> 887</span> <span class="keyword">auto</span> <span class="keyword">const</span> it = majorityAmendments.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/map/find.html">find</a>(entry.first);</div>
|
||||
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno"> 888</span> <span class="keywordflow">if</span> (it != majorityAmendments.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/map/end.html">end</a>())</div>
|
||||
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno"> 889</span> <span class="keywordflow">return</span> it->second;</div>
|
||||
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span> <span class="keywordflow">return</span> std::nullopt;</div>
|
||||
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno"> 890</span> <span class="keywordflow">return</span> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::nullopt</a>;</div>
|
||||
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno"> 891</span> }();</div>
|
||||
<div class="line"><a id="l00892" name="l00892"></a><span class="lineno"> 892</span> </div>
|
||||
<div class="line"><a id="l00893" name="l00893"></a><span class="lineno"> 893</span> <span class="keywordtype">bool</span> <span class="keyword">const</span> hasLedgerMajority = majorityTime.has_value();</div>
|
||||
@@ -975,8 +1041,10 @@ $(function() {
|
||||
<div class="line"><a id="l00939" name="l00939"></a><span class="lineno"> 939</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a51e688abb62a1f399751971156723aae">lastVote_</a> = std::move(vote);</div>
|
||||
<div class="line"><a id="l00940" name="l00940"></a><span class="lineno"> 940</span> <span class="keywordflow">return</span> actions;</div>
|
||||
<div class="line"><a id="l00941" name="l00941"></a><span class="lineno"> 941</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno"> 942</span> </div>
|
||||
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno"> 943</span><span class="keywordtype">bool</span></div>
|
||||
<div class="foldopen" id="foldopen00944" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444"> 944</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444">AmendmentTableImpl::needValidatedLedger</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> ledgerSeq)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno"> 945</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno"> 946</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
@@ -986,8 +1054,10 @@ $(function() {
|
||||
<div class="line"><a id="l00950" name="l00950"></a><span class="lineno"> 950</span> </div>
|
||||
<div class="line"><a id="l00951" name="l00951"></a><span class="lineno"> 951</span> <span class="keywordflow">return</span> ((ledgerSeq - 1) / 256) != ((<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#aefbfbe13885b57244364ab17906ebb8c">lastUpdateSeq_</a> - 1) / 256);</div>
|
||||
<div class="line"><a id="l00952" name="l00952"></a><span class="lineno"> 952</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno"> 953</span> </div>
|
||||
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno"> 954</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00955" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a5a1de10b5b7e51cc4f20f2636503c2e6"> 955</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a5a1de10b5b7e51cc4f20f2636503c2e6">AmendmentTableImpl::doValidatedLedger</a>(</div>
|
||||
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno"> 956</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">LedgerIndex</a> ledgerSeq,</div>
|
||||
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno"> 957</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/set.html">std::set<uint256></a> <span class="keyword">const</span>& enabled,</div>
|
||||
@@ -1023,15 +1093,19 @@ $(function() {
|
||||
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno"> 987</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">firstUnsupportedExpected_</a>)</div>
|
||||
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno"> 988</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">firstUnsupportedExpected_</a> = *<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">firstUnsupportedExpected_</a> + <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a563973e7d013c5260add78fb60724b77">majorityTime_</a>;</div>
|
||||
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno"> 989</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno"> 990</span> </div>
|
||||
<div class="line"><a id="l00991" name="l00991"></a><span class="lineno"> 991</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00992" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00992" name="l00992"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a93f3d59b0992e57dac0d1a1f0377959c"> 992</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a93f3d59b0992e57dac0d1a1f0377959c">AmendmentTableImpl::trustChanged</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<PublicKey></a> <span class="keyword">const</span>& allTrusted)</div>
|
||||
<div class="line"><a id="l00993" name="l00993"></a><span class="lineno"> 993</span>{</div>
|
||||
<div class="line"><a id="l00994" name="l00994"></a><span class="lineno"> 994</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> lock(<a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">mutex_</a>);</div>
|
||||
<div class="line"><a id="l00995" name="l00995"></a><span class="lineno"> 995</span> <a class="code hl_variable" href="classripple_1_1AmendmentTableImpl.html#a7a558c717f67864197f41f9d7edbc380">previousTrustedVotes_</a>.<a class="code hl_function" href="classripple_1_1TrustedVotes.html#abc0eec642a9611d23c5e451374db4a9c">trustChanged</a>(allTrusted, lock);</div>
|
||||
<div class="line"><a id="l00996" name="l00996"></a><span class="lineno"> 996</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno"> 997</span> </div>
|
||||
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno"> 998</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00999" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a7d021a2ba5be052ab848f7dd5ff0de25"> 999</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a7d021a2ba5be052ab848f7dd5ff0de25">AmendmentTableImpl::injectJson</a>(</div>
|
||||
<div class="line"><a id="l01000" name="l01000"></a><span class="lineno"> 1000</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a>& v,</div>
|
||||
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& <span class="keywordtype">id</span>,</div>
|
||||
@@ -1065,8 +1139,10 @@ $(function() {
|
||||
<div class="line"><a id="l01029" name="l01029"></a><span class="lineno"> 1029</span> v[jss::threshold] = votesNeeded;</div>
|
||||
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"> 1030</span> }</div>
|
||||
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span> </div>
|
||||
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="foldopen" id="foldopen01034" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a8f8c9cec31fa120c43e41fa2e7d108ad"> 1034</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a8f8c9cec31fa120c43e41fa2e7d108ad">AmendmentTableImpl::getJson</a>(<span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceripple.html#a4267716481f84b7fd7ea521266fa9ef8">isAdmin</a>)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l01035" name="l01035"></a><span class="lineno"> 1035</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l01036" name="l01036"></a><span class="lineno"> 1036</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> ret(<a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>);</div>
|
||||
@@ -1084,8 +1160,10 @@ $(function() {
|
||||
<div class="line"><a id="l01048" name="l01048"></a><span class="lineno"> 1048</span> }</div>
|
||||
<div class="line"><a id="l01049" name="l01049"></a><span class="lineno"> 1049</span> <span class="keywordflow">return</span> ret;</div>
|
||||
<div class="line"><a id="l01050" name="l01050"></a><span class="lineno"> 1050</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l01051" name="l01051"></a><span class="lineno"> 1051</span> </div>
|
||||
<div class="line"><a id="l01052" name="l01052"></a><span class="lineno"> 1052</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
||||
<div class="foldopen" id="foldopen01053" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l01053" name="l01053"></a><span class="lineno"><a class="line" href="classripple_1_1AmendmentTableImpl.html#a989a955a89400c53e8d89a280b890d6b"> 1053</a></span><a class="code hl_function" href="classripple_1_1AmendmentTableImpl.html#a8f8c9cec31fa120c43e41fa2e7d108ad">AmendmentTableImpl::getJson</a>(<a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& amendmentID, <span class="keywordtype">bool</span> <a class="code hl_function" href="namespaceripple.html#a4267716481f84b7fd7ea521266fa9ef8">isAdmin</a>)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a id="l01054" name="l01054"></a><span class="lineno"> 1054</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l01055" name="l01055"></a><span class="lineno"> 1055</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> ret = <a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>;</div>
|
||||
@@ -1103,8 +1181,10 @@ $(function() {
|
||||
<div class="line"><a id="l01067" name="l01067"></a><span class="lineno"> 1067</span> </div>
|
||||
<div class="line"><a id="l01068" name="l01068"></a><span class="lineno"> 1068</span> <span class="keywordflow">return</span> ret;</div>
|
||||
<div class="line"><a id="l01069" name="l01069"></a><span class="lineno"> 1069</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l01070" name="l01070"></a><span class="lineno"> 1070</span> </div>
|
||||
<div class="line"><a id="l01071" name="l01071"></a><span class="lineno"> 1071</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<AmendmentTable></a></div>
|
||||
<div class="foldopen" id="foldopen01072" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad41956ef004d64710296fd76a5dc9e06"> 1072</a></span><a class="code hl_function" href="namespaceripple.html#ad41956ef004d64710296fd76a5dc9e06">make_AmendmentTable</a>(</div>
|
||||
<div class="line"><a id="l01073" name="l01073"></a><span class="lineno"> 1073</span> <a class="code hl_class" href="classripple_1_1Application.html">Application</a>& app,</div>
|
||||
<div class="line"><a id="l01074" name="l01074"></a><span class="lineno"> 1074</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> majorityTime,</div>
|
||||
@@ -1113,80 +1193,81 @@ $(function() {
|
||||
<div class="line"><a id="l01077" name="l01077"></a><span class="lineno"> 1077</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& vetoed,</div>
|
||||
<div class="line"><a id="l01078" name="l01078"></a><span class="lineno"> 1078</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</div>
|
||||
<div class="line"><a id="l01079" name="l01079"></a><span class="lineno"> 1079</span>{</div>
|
||||
<div class="line"><a id="l01080" name="l01080"></a><span class="lineno"> 1080</span> <span class="keywordflow">return</span> std::make_unique<AmendmentTableImpl>(</div>
|
||||
<div class="line"><a id="l01080" name="l01080"></a><span class="lineno"> 1080</span> <span class="keywordflow">return</span> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::make_unique<AmendmentTableImpl></a>(</div>
|
||||
<div class="line"><a id="l01081" name="l01081"></a><span class="lineno"> 1081</span> app, majorityTime, supported, enabled, vetoed, journal);</div>
|
||||
<div class="line"><a id="l01082" name="l01082"></a><span class="lineno"> 1082</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l01083" name="l01083"></a><span class="lineno"> 1083</span> </div>
|
||||
<div class="line"><a id="l01084" name="l01084"></a><span class="lineno"> 1084</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="ttc" id="aalgorithm_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a></div></div>
|
||||
<div class="ttc" id="aas_const_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/as_const.html">std::as_const</a></div><div class="ttdeci">T as_const(T... args)</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="abasic_stringstream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_stringstream.html">std::stringstream</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a49b0713e65bb8e2c51b76fbf16252afe"><div class="ttname"><a href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">beast::Journal::error</a></div><div class="ttdeci">Stream error() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00346">Journal.h:346</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a556228cb60bcf405c225d3f64b7b01ae"><div class="ttname"><a href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">beast::Journal::debug</a></div><div class="ttdeci">Stream debug() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00328">Journal.h:328</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a87d6bd59020d94110027dcab3d9e3357"><div class="ttname"><a href="classbeast_1_1Journal.html#a87d6bd59020d94110027dcab3d9e3357">beast::Journal::info</a></div><div class="ttdeci">Stream info() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00334">Journal.h:334</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_abbe082bd27ca0f1d1365af2824e4f85b"><div class="ttname"><a href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">beast::Journal::trace</a></div><div class="ttdeci">Stream trace() const</div><div class="ttdoc">Severity stream access functions.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00322">Journal.h:322</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_ad8fefe3e8ad583e1ed1bf02094ac3d8f"><div class="ttname"><a href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">beast::Journal::warn</a></div><div class="ttdeci">Stream warn() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00340">Journal.h:340</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html"><div class="ttname"><a href="classripple_1_1AmendmentSet.html">ripple::AmendmentSet</a></div><div class="ttdoc">The status of all amendments requested in a given window.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00314">AmendmentTable.cpp:315</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a0013b2363b5bb424e124cf0af9997380"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a0013b2363b5bb424e124cf0af9997380">ripple::AmendmentSet::votes</a></div><div class="ttdeci">int votes(uint256 const &amendment) const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00380">AmendmentTable.cpp:380</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a6d6b63ea4b09a0b012667c79aff07528"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a6d6b63ea4b09a0b012667c79aff07528">ripple::AmendmentSet::trustedValidations</a></div><div class="ttdeci">int trustedValidations() const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00391">AmendmentTable.cpp:391</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a7539e5037a8c380f9b5baf445298deba"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a7539e5037a8c380f9b5baf445298deba">ripple::AmendmentSet::computeThreshold</a></div><div class="ttdeci">void computeThreshold(int trustedValidations, Rules const &rules)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00326">AmendmentTable.cpp:326</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a784480b9d6fe68e8945fb9378728f534"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a784480b9d6fe68e8945fb9378728f534">ripple::AmendmentSet::passes</a></div><div class="ttdeci">bool passes(uint256 const &amendment) const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00360">AmendmentTable.cpp:360</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a79279c956c686b8ae4f497eaa8511839"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a79279c956c686b8ae4f497eaa8511839">ripple::AmendmentSet::votes_</a></div><div class="ttdeci">hash_map< uint256, int > votes_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00318">AmendmentTable.cpp:318</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a8f1040cb22455e44304a0ec2d0b8d8ed"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a8f1040cb22455e44304a0ec2d0b8d8ed">ripple::AmendmentSet::rules_</a></div><div class="ttdeci">Rules const & rules_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00319">AmendmentTable.cpp:319</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_ab715d365e58e89818d1d45ec3354988d"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#ab715d365e58e89818d1d45ec3354988d">ripple::AmendmentSet::AmendmentSet</a></div><div class="ttdeci">AmendmentSet(Rules const &rules, TrustedVotes const &trustedVotes, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00344">AmendmentTable.cpp:344</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_ac0d9edcc31c8b0fe5a90da0e35e09dc5"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#ac0d9edcc31c8b0fe5a90da0e35e09dc5">ripple::AmendmentSet::threshold</a></div><div class="ttdeci">int threshold() const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00397">AmendmentTable.cpp:397</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html">ripple::AmendmentTableImpl</a></div><div class="ttdoc">Track the list of "amendments".</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00411">AmendmentTable.cpp:412</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a08ceef79750994d25c0b416c378eecc0"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">ripple::AmendmentTableImpl::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00414">AmendmentTable.cpp:414</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a0ce3359d4362a4d0fdd0b84c39b6ff95"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a0ce3359d4362a4d0fdd0b84c39b6ff95">ripple::AmendmentTableImpl::find</a></div><div class="ttdeci">uint256 find(std::string const &name) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00709">AmendmentTable.cpp:709</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a0d1704ba32d8c87761c27236cde40f88"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a0d1704ba32d8c87761c27236cde40f88">ripple::AmendmentTableImpl::unVeto</a></div><div class="ttdeci">bool unVeto(uint256 const &amendment) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00749">AmendmentTable.cpp:749</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a154a5c8e4a4839ec9db272a1b85a7b93"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a154a5c8e4a4839ec9db272a1b85a7b93">ripple::AmendmentTableImpl::db_</a></div><div class="ttdeci">DatabaseCon & db_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00440">AmendmentTable.cpp:440</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a195a61b5c9f813b5c275ae50a7b40e25"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a195a61b5c9f813b5c275ae50a7b40e25">ripple::AmendmentTableImpl::enable</a></div><div class="ttdeci">bool enable(uint256 const &amendment) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00762">AmendmentTable.cpp:762</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a203420f15319808ab19dbc3903a32444"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444">ripple::AmendmentTableImpl::needValidatedLedger</a></div><div class="ttdeci">bool needValidatedLedger(LedgerIndex seq) const override</div><div class="ttdoc">Called to determine whether the amendment logic needs to process a new validated ledger.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00944">AmendmentTable.cpp:944</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a28b850ba0b75947c44fd4c5e1355e67f"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">ripple::AmendmentTableImpl::firstUnsupportedExpected_</a></div><div class="ttdeci">std::optional< NetClock::time_point > firstUnsupportedExpected_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00435">AmendmentTable.cpp:435</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a38055e674ea217fa366b5bf954d4cd72"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a38055e674ea217fa366b5bf954d4cd72">ripple::AmendmentTableImpl::getDesired</a></div><div class="ttdeci">std::vector< uint256 > getDesired() const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00840">AmendmentTable.cpp:840</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a3ed0fa478f3811768ffa240db7effeed"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a3ed0fa478f3811768ffa240db7effeed">ripple::AmendmentTableImpl::veto</a></div><div class="ttdeci">bool veto(uint256 const &amendment) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00736">AmendmentTable.cpp:736</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a51e688abb62a1f399751971156723aae"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a51e688abb62a1f399751971156723aae">ripple::AmendmentTableImpl::lastVote_</a></div><div class="ttdeci">std::unique_ptr< AmendmentSet > lastVote_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00427">AmendmentTable.cpp:427</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a563973e7d013c5260add78fb60724b77"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a563973e7d013c5260add78fb60724b77">ripple::AmendmentTableImpl::majorityTime_</a></div><div class="ttdeci">std::chrono::seconds const majorityTime_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00423">AmendmentTable.cpp:423</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a5a1de10b5b7e51cc4f20f2636503c2e6"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a5a1de10b5b7e51cc4f20f2636503c2e6">ripple::AmendmentTableImpl::doValidatedLedger</a></div><div class="ttdeci">void doValidatedLedger(LedgerIndex seq, std::set< uint256 > const &enabled, majorityAmendments_t const &majority) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00955">AmendmentTable.cpp:955</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a630f159b4f3029034ac3c5b91b48e08c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a630f159b4f3029034ac3c5b91b48e08c">ripple::AmendmentTableImpl::isEnabled</a></div><div class="ttdeci">bool isEnabled(uint256 const &amendment) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00783">AmendmentTable.cpp:783</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a6a02743339c64f66083284b3098c8345"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a6a02743339c64f66083284b3098c8345">ripple::AmendmentTableImpl::add</a></div><div class="ttdeci">AmendmentState & add(uint256 const &amendment, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00676">AmendmentTable.cpp:676</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7a558c717f67864197f41f9d7edbc380"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7a558c717f67864197f41f9d7edbc380">ripple::AmendmentTableImpl::previousTrustedVotes_</a></div><div class="ttdeci">TrustedVotes previousTrustedVotes_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00420">AmendmentTable.cpp:420</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7cca5bba8dff04a84023969c1499160f"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7cca5bba8dff04a84023969c1499160f">ripple::AmendmentTableImpl::amendmentMap_</a></div><div class="ttdeci">hash_map< uint256, AmendmentState > amendmentMap_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00416">AmendmentTable.cpp:416</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7d021a2ba5be052ab848f7dd5ff0de25"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7d021a2ba5be052ab848f7dd5ff0de25">ripple::AmendmentTableImpl::injectJson</a></div><div class="ttdeci">void injectJson(Json::Value &v, uint256 const &amendment, AmendmentState const &state, bool isAdmin, std::lock_guard< std::mutex > const &lock) const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00999">AmendmentTable.cpp:999</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a861afbbb0dc1a5669003fbd17a086cbc"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a861afbbb0dc1a5669003fbd17a086cbc">ripple::AmendmentTableImpl::j_</a></div><div class="ttdeci">beast::Journal const j_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00437">AmendmentTable.cpp:437</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a8f8c9cec31fa120c43e41fa2e7d108ad"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a8f8c9cec31fa120c43e41fa2e7d108ad">ripple::AmendmentTableImpl::getJson</a></div><div class="ttdeci">Json::Value getJson(bool isAdmin) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l01034">AmendmentTable.cpp:1034</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a93f3d59b0992e57dac0d1a1f0377959c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a93f3d59b0992e57dac0d1a1f0377959c">ripple::AmendmentTableImpl::trustChanged</a></div><div class="ttdeci">void trustChanged(hash_set< PublicKey > const &allTrusted) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00992">AmendmentTable.cpp:992</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a941314eb1dff68fb625f7a44378845b9"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9">ripple::AmendmentTableImpl::doValidation</a></div><div class="ttdeci">std::vector< uint256 > doValidation(std::set< uint256 > const &enabledAmendments) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00813">AmendmentTable.cpp:813</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a9e8319c611d4172c5d10e88288b5b98e"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">ripple::AmendmentTableImpl::get</a></div><div class="ttdeci">AmendmentState * get(uint256 const &amendment, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00685">AmendmentTable.cpp:685</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ab0421687816b7b1bb4805d5c04048f8a"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">ripple::AmendmentTableImpl::persistVote</a></div><div class="ttdeci">void persistVote(uint256 const &amendment, std::string const &name, AmendmentVote vote) const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00723">AmendmentTable.cpp:723</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ab6e23bf02b70c350ab4597605b235a15"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15">ripple::AmendmentTableImpl::hasUnsupportedEnabled</a></div><div class="ttdeci">bool hasUnsupportedEnabled() const override</div><div class="ttdoc">returns true if one or more amendments on the network have been enabled that this server does not sup...</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00799">AmendmentTable.cpp:799</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ac17353f2946a09f26809d15b3c24cc48"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ac17353f2946a09f26809d15b3c24cc48">ripple::AmendmentTableImpl::unsupportedEnabled_</a></div><div class="ttdeci">bool unsupportedEnabled_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00430">AmendmentTable.cpp:430</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ac63ab31f4e1f8ea3b8447535c6595a6b"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ac63ab31f4e1f8ea3b8447535c6595a6b">ripple::AmendmentTableImpl::doVoting</a></div><div class="ttdeci">std::map< uint256, std::uint32_t > doVoting(Rules const &rules, NetClock::time_point closeTime, std::set< uint256 > const &enabledAmendments, majorityAmendments_t const &majorityAmendments, std::vector< std::shared_ptr< STValidation > > const &validations) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00847">AmendmentTable.cpp:847</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_adce6a4a3f12e891ffdb1a59a547ea11a"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#adce6a4a3f12e891ffdb1a59a547ea11a">ripple::AmendmentTableImpl::isSupported</a></div><div class="ttdeci">bool isSupported(uint256 const &amendment) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00791">AmendmentTable.cpp:791</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ae591250cf5ab06c0310da46a9e5543fb"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ae591250cf5ab06c0310da46a9e5543fb">ripple::AmendmentTableImpl::firstUnsupportedExpected</a></div><div class="ttdeci">std::optional< NetClock::time_point > firstUnsupportedExpected() const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00806">AmendmentTable.cpp:806</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_aefbfbe13885b57244364ab17906ebb8c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#aefbfbe13885b57244364ab17906ebb8c">ripple::AmendmentTableImpl::lastUpdateSeq_</a></div><div class="ttdeci">std::uint32_t lastUpdateSeq_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00417">AmendmentTable.cpp:417</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTable_html"><div class="ttname"><a href="classripple_1_1AmendmentTable.html">ripple::AmendmentTable</a></div><div class="ttdoc">The amendment table stores the list of enabled and potential amendments.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8h_source.html#l00038">AmendmentTable.h:39</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition:</b> <a href="Application_8h_source.html#l00113">Application.h:114</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1DatabaseCon_html"><div class="ttname"><a href="classripple_1_1DatabaseCon.html">ripple::DatabaseCon</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00085">DatabaseCon.h:86</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1DatabaseCon_html_a16c6f729c6462f6200b724543f5c67bc"><div class="ttname"><a href="classripple_1_1DatabaseCon.html#a16c6f729c6462f6200b724543f5c67bc">ripple::DatabaseCon::checkoutDb</a></div><div class="ttdeci">LockedSociSession checkoutDb()</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00190">DatabaseCon.h:190</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Rules_html"><div class="ttname"><a href="classripple_1_1Rules.html">ripple::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition:</b> <a href="Rules_8h_source.html#l00037">Rules.h:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Rules_html_a1a8388a2b9588aa9446ece92a88e0dd2"><div class="ttname"><a href="classripple_1_1Rules.html#a1a8388a2b9588aa9446ece92a88e0dd2">ripple::Rules::enabled</a></div><div class="ttdeci">bool enabled(uint256 const &feature) const</div><div class="ttdoc">Returns true if a feature is enabled.</div><div class="ttdef"><b>Definition:</b> <a href="Rules_8cpp_source.html#l00130">Rules.cpp:130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00044">BasicConfig.h:45</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html_a0ef259b6d523f3f5c54aa9f8a17fec81"><div class="ttname"><a href="classripple_1_1Section.html#a0ef259b6d523f3f5c54aa9f8a17fec81">ripple::Section::name</a></div><div class="ttdeci">std::string const & name() const</div><div class="ttdoc">Returns the name of this section.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00061">BasicConfig.h:61</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html_a60800f99660b48b0ea548b6cb0136b0d"><div class="ttname"><a href="classripple_1_1Section.html#a60800f99660b48b0ea548b6cb0136b0d">ripple::Section::lines</a></div><div class="ttdeci">std::vector< std::string > const & lines() const</div><div class="ttdoc">Returns all the lines in the section.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00070">BasicConfig.h:70</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html"><div class="ttname"><a href="classripple_1_1TrustedVotes.html">ripple::TrustedVotes</a></div><div class="ttdoc">TrustedVotes records the most recent votes from trusted validators.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00093">AmendmentTable.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a49b0713e65bb8e2c51b76fbf16252afe"><div class="ttname"><a href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">beast::Journal::error</a></div><div class="ttdeci">Stream error() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00346">Journal.h:346</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a556228cb60bcf405c225d3f64b7b01ae"><div class="ttname"><a href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">beast::Journal::debug</a></div><div class="ttdeci">Stream debug() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00328">Journal.h:328</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a87d6bd59020d94110027dcab3d9e3357"><div class="ttname"><a href="classbeast_1_1Journal.html#a87d6bd59020d94110027dcab3d9e3357">beast::Journal::info</a></div><div class="ttdeci">Stream info() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00334">Journal.h:334</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_abbe082bd27ca0f1d1365af2824e4f85b"><div class="ttname"><a href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">beast::Journal::trace</a></div><div class="ttdeci">Stream trace() const</div><div class="ttdoc">Severity stream access functions.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00322">Journal.h:322</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_ad8fefe3e8ad583e1ed1bf02094ac3d8f"><div class="ttname"><a href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">beast::Journal::warn</a></div><div class="ttdeci">Stream warn() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00340">Journal.h:340</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html"><div class="ttname"><a href="classripple_1_1AmendmentSet.html">ripple::AmendmentSet</a></div><div class="ttdoc">The status of all amendments requested in a given window.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00314">AmendmentTable.cpp:315</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a0013b2363b5bb424e124cf0af9997380"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a0013b2363b5bb424e124cf0af9997380">ripple::AmendmentSet::votes</a></div><div class="ttdeci">int votes(uint256 const &amendment) const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00380">AmendmentTable.cpp:380</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a6d6b63ea4b09a0b012667c79aff07528"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a6d6b63ea4b09a0b012667c79aff07528">ripple::AmendmentSet::trustedValidations</a></div><div class="ttdeci">int trustedValidations() const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00391">AmendmentTable.cpp:391</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a7539e5037a8c380f9b5baf445298deba"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a7539e5037a8c380f9b5baf445298deba">ripple::AmendmentSet::computeThreshold</a></div><div class="ttdeci">void computeThreshold(int trustedValidations, Rules const &rules)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00326">AmendmentTable.cpp:326</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a784480b9d6fe68e8945fb9378728f534"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a784480b9d6fe68e8945fb9378728f534">ripple::AmendmentSet::passes</a></div><div class="ttdeci">bool passes(uint256 const &amendment) const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00360">AmendmentTable.cpp:360</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a79279c956c686b8ae4f497eaa8511839"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a79279c956c686b8ae4f497eaa8511839">ripple::AmendmentSet::votes_</a></div><div class="ttdeci">hash_map< uint256, int > votes_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00318">AmendmentTable.cpp:318</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_a8f1040cb22455e44304a0ec2d0b8d8ed"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#a8f1040cb22455e44304a0ec2d0b8d8ed">ripple::AmendmentSet::rules_</a></div><div class="ttdeci">Rules const & rules_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00319">AmendmentTable.cpp:319</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_ab715d365e58e89818d1d45ec3354988d"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#ab715d365e58e89818d1d45ec3354988d">ripple::AmendmentSet::AmendmentSet</a></div><div class="ttdeci">AmendmentSet(Rules const &rules, TrustedVotes const &trustedVotes, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00344">AmendmentTable.cpp:344</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentSet_html_ac0d9edcc31c8b0fe5a90da0e35e09dc5"><div class="ttname"><a href="classripple_1_1AmendmentSet.html#ac0d9edcc31c8b0fe5a90da0e35e09dc5">ripple::AmendmentSet::threshold</a></div><div class="ttdeci">int threshold() const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00397">AmendmentTable.cpp:397</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html">ripple::AmendmentTableImpl</a></div><div class="ttdoc">Track the list of "amendments".</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00411">AmendmentTable.cpp:412</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a08ceef79750994d25c0b416c378eecc0"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a08ceef79750994d25c0b416c378eecc0">ripple::AmendmentTableImpl::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00414">AmendmentTable.cpp:414</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a0ce3359d4362a4d0fdd0b84c39b6ff95"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a0ce3359d4362a4d0fdd0b84c39b6ff95">ripple::AmendmentTableImpl::find</a></div><div class="ttdeci">uint256 find(std::string const &name) const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00709">AmendmentTable.cpp:709</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a0d1704ba32d8c87761c27236cde40f88"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a0d1704ba32d8c87761c27236cde40f88">ripple::AmendmentTableImpl::unVeto</a></div><div class="ttdeci">bool unVeto(uint256 const &amendment) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00749">AmendmentTable.cpp:749</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a154a5c8e4a4839ec9db272a1b85a7b93"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a154a5c8e4a4839ec9db272a1b85a7b93">ripple::AmendmentTableImpl::db_</a></div><div class="ttdeci">DatabaseCon & db_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00440">AmendmentTable.cpp:440</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a195a61b5c9f813b5c275ae50a7b40e25"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a195a61b5c9f813b5c275ae50a7b40e25">ripple::AmendmentTableImpl::enable</a></div><div class="ttdeci">bool enable(uint256 const &amendment) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00762">AmendmentTable.cpp:762</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a203420f15319808ab19dbc3903a32444"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a203420f15319808ab19dbc3903a32444">ripple::AmendmentTableImpl::needValidatedLedger</a></div><div class="ttdeci">bool needValidatedLedger(LedgerIndex seq) const override</div><div class="ttdoc">Called to determine whether the amendment logic needs to process a new validated ledger.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00944">AmendmentTable.cpp:944</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a28b850ba0b75947c44fd4c5e1355e67f"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a28b850ba0b75947c44fd4c5e1355e67f">ripple::AmendmentTableImpl::firstUnsupportedExpected_</a></div><div class="ttdeci">std::optional< NetClock::time_point > firstUnsupportedExpected_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00435">AmendmentTable.cpp:435</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a38055e674ea217fa366b5bf954d4cd72"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a38055e674ea217fa366b5bf954d4cd72">ripple::AmendmentTableImpl::getDesired</a></div><div class="ttdeci">std::vector< uint256 > getDesired() const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00840">AmendmentTable.cpp:840</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a3ed0fa478f3811768ffa240db7effeed"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a3ed0fa478f3811768ffa240db7effeed">ripple::AmendmentTableImpl::veto</a></div><div class="ttdeci">bool veto(uint256 const &amendment) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00736">AmendmentTable.cpp:736</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a51e688abb62a1f399751971156723aae"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a51e688abb62a1f399751971156723aae">ripple::AmendmentTableImpl::lastVote_</a></div><div class="ttdeci">std::unique_ptr< AmendmentSet > lastVote_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00427">AmendmentTable.cpp:427</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a563973e7d013c5260add78fb60724b77"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a563973e7d013c5260add78fb60724b77">ripple::AmendmentTableImpl::majorityTime_</a></div><div class="ttdeci">std::chrono::seconds const majorityTime_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00423">AmendmentTable.cpp:423</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a5a1de10b5b7e51cc4f20f2636503c2e6"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a5a1de10b5b7e51cc4f20f2636503c2e6">ripple::AmendmentTableImpl::doValidatedLedger</a></div><div class="ttdeci">void doValidatedLedger(LedgerIndex seq, std::set< uint256 > const &enabled, majorityAmendments_t const &majority) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00955">AmendmentTable.cpp:955</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a630f159b4f3029034ac3c5b91b48e08c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a630f159b4f3029034ac3c5b91b48e08c">ripple::AmendmentTableImpl::isEnabled</a></div><div class="ttdeci">bool isEnabled(uint256 const &amendment) const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00783">AmendmentTable.cpp:783</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a6a02743339c64f66083284b3098c8345"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a6a02743339c64f66083284b3098c8345">ripple::AmendmentTableImpl::add</a></div><div class="ttdeci">AmendmentState & add(uint256 const &amendment, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00676">AmendmentTable.cpp:676</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7a558c717f67864197f41f9d7edbc380"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7a558c717f67864197f41f9d7edbc380">ripple::AmendmentTableImpl::previousTrustedVotes_</a></div><div class="ttdeci">TrustedVotes previousTrustedVotes_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00420">AmendmentTable.cpp:420</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7cca5bba8dff04a84023969c1499160f"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7cca5bba8dff04a84023969c1499160f">ripple::AmendmentTableImpl::amendmentMap_</a></div><div class="ttdeci">hash_map< uint256, AmendmentState > amendmentMap_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00416">AmendmentTable.cpp:416</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a7d021a2ba5be052ab848f7dd5ff0de25"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a7d021a2ba5be052ab848f7dd5ff0de25">ripple::AmendmentTableImpl::injectJson</a></div><div class="ttdeci">void injectJson(Json::Value &v, uint256 const &amendment, AmendmentState const &state, bool isAdmin, std::lock_guard< std::mutex > const &lock) const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00999">AmendmentTable.cpp:999</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a861afbbb0dc1a5669003fbd17a086cbc"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a861afbbb0dc1a5669003fbd17a086cbc">ripple::AmendmentTableImpl::j_</a></div><div class="ttdeci">beast::Journal const j_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00437">AmendmentTable.cpp:437</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a8f8c9cec31fa120c43e41fa2e7d108ad"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a8f8c9cec31fa120c43e41fa2e7d108ad">ripple::AmendmentTableImpl::getJson</a></div><div class="ttdeci">Json::Value getJson(bool isAdmin) const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l01034">AmendmentTable.cpp:1034</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a93f3d59b0992e57dac0d1a1f0377959c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a93f3d59b0992e57dac0d1a1f0377959c">ripple::AmendmentTableImpl::trustChanged</a></div><div class="ttdeci">void trustChanged(hash_set< PublicKey > const &allTrusted) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00992">AmendmentTable.cpp:992</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a941314eb1dff68fb625f7a44378845b9"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a941314eb1dff68fb625f7a44378845b9">ripple::AmendmentTableImpl::doValidation</a></div><div class="ttdeci">std::vector< uint256 > doValidation(std::set< uint256 > const &enabledAmendments) const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00813">AmendmentTable.cpp:813</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a9e8319c611d4172c5d10e88288b5b98e"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9e8319c611d4172c5d10e88288b5b98e">ripple::AmendmentTableImpl::get</a></div><div class="ttdeci">AmendmentState * get(uint256 const &amendment, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00685">AmendmentTable.cpp:685</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ab0421687816b7b1bb4805d5c04048f8a"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ab0421687816b7b1bb4805d5c04048f8a">ripple::AmendmentTableImpl::persistVote</a></div><div class="ttdeci">void persistVote(uint256 const &amendment, std::string const &name, AmendmentVote vote) const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00723">AmendmentTable.cpp:723</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ab6e23bf02b70c350ab4597605b235a15"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ab6e23bf02b70c350ab4597605b235a15">ripple::AmendmentTableImpl::hasUnsupportedEnabled</a></div><div class="ttdeci">bool hasUnsupportedEnabled() const override</div><div class="ttdoc">returns true if one or more amendments on the network have been enabled that this server does not sup...</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00799">AmendmentTable.cpp:799</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ac17353f2946a09f26809d15b3c24cc48"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ac17353f2946a09f26809d15b3c24cc48">ripple::AmendmentTableImpl::unsupportedEnabled_</a></div><div class="ttdeci">bool unsupportedEnabled_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00430">AmendmentTable.cpp:430</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ac63ab31f4e1f8ea3b8447535c6595a6b"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ac63ab31f4e1f8ea3b8447535c6595a6b">ripple::AmendmentTableImpl::doVoting</a></div><div class="ttdeci">std::map< uint256, std::uint32_t > doVoting(Rules const &rules, NetClock::time_point closeTime, std::set< uint256 > const &enabledAmendments, majorityAmendments_t const &majorityAmendments, std::vector< std::shared_ptr< STValidation > > const &validations) override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00847">AmendmentTable.cpp:847</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_adce6a4a3f12e891ffdb1a59a547ea11a"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#adce6a4a3f12e891ffdb1a59a547ea11a">ripple::AmendmentTableImpl::isSupported</a></div><div class="ttdeci">bool isSupported(uint256 const &amendment) const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00791">AmendmentTable.cpp:791</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ae591250cf5ab06c0310da46a9e5543fb"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ae591250cf5ab06c0310da46a9e5543fb">ripple::AmendmentTableImpl::firstUnsupportedExpected</a></div><div class="ttdeci">std::optional< NetClock::time_point > firstUnsupportedExpected() const override</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00806">AmendmentTable.cpp:806</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_aefbfbe13885b57244364ab17906ebb8c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#aefbfbe13885b57244364ab17906ebb8c">ripple::AmendmentTableImpl::lastUpdateSeq_</a></div><div class="ttdeci">std::uint32_t lastUpdateSeq_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00417">AmendmentTable.cpp:417</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AmendmentTable_html"><div class="ttname"><a href="classripple_1_1AmendmentTable.html">ripple::AmendmentTable</a></div><div class="ttdoc">The amendment table stores the list of enabled and potential amendments.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8h_source.html#l00038">AmendmentTable.h:39</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00113">Application.h:114</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1DatabaseCon_html"><div class="ttname"><a href="classripple_1_1DatabaseCon.html">ripple::DatabaseCon</a></div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00085">DatabaseCon.h:86</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1DatabaseCon_html_a16c6f729c6462f6200b724543f5c67bc"><div class="ttname"><a href="classripple_1_1DatabaseCon.html#a16c6f729c6462f6200b724543f5c67bc">ripple::DatabaseCon::checkoutDb</a></div><div class="ttdeci">LockedSociSession checkoutDb()</div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00190">DatabaseCon.h:190</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Rules_html"><div class="ttname"><a href="classripple_1_1Rules.html">ripple::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition</b> <a href="Rules_8h_source.html#l00037">Rules.h:38</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Rules_html_a1a8388a2b9588aa9446ece92a88e0dd2"><div class="ttname"><a href="classripple_1_1Rules.html#a1a8388a2b9588aa9446ece92a88e0dd2">ripple::Rules::enabled</a></div><div class="ttdeci">bool enabled(uint256 const &feature) const</div><div class="ttdoc">Returns true if a feature is enabled.</div><div class="ttdef"><b>Definition</b> <a href="Rules_8cpp_source.html#l00130">Rules.cpp:130</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00044">BasicConfig.h:45</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html_a0ef259b6d523f3f5c54aa9f8a17fec81"><div class="ttname"><a href="classripple_1_1Section.html#a0ef259b6d523f3f5c54aa9f8a17fec81">ripple::Section::name</a></div><div class="ttdeci">std::string const & name() const</div><div class="ttdoc">Returns the name of this section.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00061">BasicConfig.h:61</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html_a60800f99660b48b0ea548b6cb0136b0d"><div class="ttname"><a href="classripple_1_1Section.html#a60800f99660b48b0ea548b6cb0136b0d">ripple::Section::lines</a></div><div class="ttdeci">std::vector< std::string > const & lines() const</div><div class="ttdoc">Returns all the lines in the section.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00070">BasicConfig.h:70</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html"><div class="ttname"><a href="classripple_1_1TrustedVotes.html">ripple::TrustedVotes</a></div><div class="ttdoc">TrustedVotes records the most recent votes from trusted validators.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00093">AmendmentTable.cpp:94</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a3d752f8a8137c54441bd754db241b286"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a3d752f8a8137c54441bd754db241b286">ripple::TrustedVotes::TrustedVotes</a></div><div class="ttdeci">TrustedVotes()=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a6ddb6129de9561409013dd3a789d96ea"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a6ddb6129de9561409013dd3a789d96ea">ripple::TrustedVotes::recordVotes</a></div><div class="ttdeci">void recordVotes(Rules const &rules, std::vector< std::shared_ptr< STValidation > > const &valSet, NetClock::time_point const closeTime, beast::Journal j, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00153">AmendmentTable.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a922f8bafae9857187a7711f809ae4cfb"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a922f8bafae9857187a7711f809ae4cfb">ripple::TrustedVotes::getVotes</a></div><div class="ttdeci">std::pair< int, hash_map< uint256, int > > getVotes(Rules const &rules, std::lock_guard< std::mutex > const &lock) const</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00267">AmendmentTable.cpp:267</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a92a6e302c047b3c033dfa5b88549d6d1"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a92a6e302c047b3c033dfa5b88549d6d1">ripple::TrustedVotes::recordedVotes_</a></div><div class="ttdeci">hash_map< PublicKey, UpvotesAndTimeout > recordedVotes_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00108">AmendmentTable.cpp:108</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a6ddb6129de9561409013dd3a789d96ea"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a6ddb6129de9561409013dd3a789d96ea">ripple::TrustedVotes::recordVotes</a></div><div class="ttdeci">void recordVotes(Rules const &rules, std::vector< std::shared_ptr< STValidation > > const &valSet, NetClock::time_point const closeTime, beast::Journal j, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00153">AmendmentTable.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a922f8bafae9857187a7711f809ae4cfb"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a922f8bafae9857187a7711f809ae4cfb">ripple::TrustedVotes::getVotes</a></div><div class="ttdeci">std::pair< int, hash_map< uint256, int > > getVotes(Rules const &rules, std::lock_guard< std::mutex > const &lock) const</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00267">AmendmentTable.cpp:267</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a92a6e302c047b3c033dfa5b88549d6d1"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a92a6e302c047b3c033dfa5b88549d6d1">ripple::TrustedVotes::recordedVotes_</a></div><div class="ttdeci">hash_map< PublicKey, UpvotesAndTimeout > recordedVotes_</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00108">AmendmentTable.cpp:108</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_a9e1cc14137a4b9cd2acdb0a7ca9d0974"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#a9e1cc14137a4b9cd2acdb0a7ca9d0974">ripple::TrustedVotes::operator=</a></div><div class="ttdeci">TrustedVotes & operator=(TrustedVotes const &rhs)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_abc0eec642a9611d23c5e451374db4a9c"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#abc0eec642a9611d23c5e451374db4a9c">ripple::TrustedVotes::trustChanged</a></div><div class="ttdeci">void trustChanged(hash_set< PublicKey > const &allTrusted, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00120">AmendmentTable.cpp:120</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_abc0eec642a9611d23c5e451374db4a9c"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#abc0eec642a9611d23c5e451374db4a9c">ripple::TrustedVotes::trustChanged</a></div><div class="ttdeci">void trustChanged(hash_set< PublicKey > const &allTrusted, std::lock_guard< std::mutex > const &lock)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00120">AmendmentTable.cpp:120</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_abe5928a3f6fa4cf32bc180a88978e4bf"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#abe5928a3f6fa4cf32bc180a88978e4bf">ripple::TrustedVotes::TrustedVotes</a></div><div class="ttdeci">TrustedVotes(TrustedVotes const &rhs)=delete</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint< 256 ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a698d3fd0c0f0155995c87d2f48ac90d5"><div class="ttname"><a href="classripple_1_1base__uint.html#a698d3fd0c0f0155995c87d2f48ac90d5">ripple::base_uint::parseHex</a></div><div class="ttdeci">constexpr bool parseHex(std::string_view sv)</div><div class="ttdoc">Parse a hex string into a base_uint.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00503">base_uint.h:503</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a698d3fd0c0f0155995c87d2f48ac90d5"><div class="ttname"><a href="classripple_1_1base__uint.html#a698d3fd0c0f0155995c87d2f48ac90d5">ripple::base_uint::parseHex</a></div><div class="ttdeci">constexpr bool parseHex(std::string_view sv)</div><div class="ttdoc">Parse a hex string into a base_uint.</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00503">base_uint.h:503</a></div></div>
|
||||
<div class="ttc" id="acontains_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/set/contains.html">std::set::contains</a></div><div class="ttdeci">T contains(T... args)</div></div>
|
||||
<div class="ttc" id="acount_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set/count.html">std::unordered_set::count</a></div><div class="ttdeci">T count(T... args)</div></div>
|
||||
<div class="ttc" id="aduration_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::duration</a></div></div>
|
||||
@@ -1196,37 +1277,38 @@ $(function() {
|
||||
<div class="ttc" id="afor_each_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/for_each.html">std::for_each</a></div><div class="ttdeci">T for_each(T... args)</div></div>
|
||||
<div class="ttc" id="ainsert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">std::unordered_set::insert</a></div><div class="ttdeci">T insert(T... args)</div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
|
||||
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
|
||||
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div></div>
|
||||
<div class="ttc" id="amake_pair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair/make_pair.html">std::make_pair</a></div><div class="ttdeci">T make_pair(T... args)</div></div>
|
||||
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a></div></div>
|
||||
<div class="ttc" id="amax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a></div><div class="ttdeci">T max(T... args)</div></div>
|
||||
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html_a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"><div class="ttname"><a href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a></div><div class="ttdeci">@ objectValue</div><div class="ttdoc">object value (collection of name/value pairs).</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00046">json_value.h:45</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a0506410105aac310c2e4e0cebb9b18aa"><div class="ttname"><a href="namespaceripple.html#a0506410105aac310c2e4e0cebb9b18aa">ripple::parseSection</a></div><div class="ttdeci">static std::vector< std::pair< uint256, std::string > > parseSection(Section const &section)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00041">AmendmentTable.cpp:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00114">AccountID.cpp:114</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html_a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"><div class="ttname"><a href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a></div><div class="ttdeci">@ objectValue</div><div class="ttdoc">object value (collection of name/value pairs).</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00046">json_value.h:45</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a0506410105aac310c2e4e0cebb9b18aa"><div class="ttname"><a href="namespaceripple.html#a0506410105aac310c2e4e0cebb9b18aa">ripple::parseSection</a></div><div class="ttdeci">static std::vector< std::pair< uint256, std::string > > parseSection(Section const &section)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00041">AmendmentTable.cpp:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a08a13b62b18272366f788632359e8793"><div class="ttname"><a href="namespaceripple.html#a08a13b62b18272366f788632359e8793">ripple::toBase58</a></div><div class="ttdeci">std::string toBase58(AccountID const &v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition</b> <a href="AccountID_8cpp_source.html#l00114">AccountID.cpp:114</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6"><div class="ttname"><a href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6">ripple::TokenType::NodePublic</a></div><div class="ttdeci">@ NodePublic</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">ripple::AmendmentVote</a></div><div class="ttdeci">AmendmentVote</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8h_source.html#l00150">Wallet.h:150</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">ripple::AmendmentVote</a></div><div class="ttdeci">AmendmentVote</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8h_source.html#l00150">Wallet.h:150</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8">ripple::AmendmentVote::obsolete</a></div><div class="ttdeci">@ obsolete</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a46c48bec0d282018b9d167eef7711b2c"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a46c48bec0d282018b9d167eef7711b2c">ripple::AmendmentVote::up</a></div><div class="ttdeci">@ up</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1dcb4cf27e683bd94d11f5322836c689a74e8333ad11685ff3bdae589c8f6e34d"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a74e8333ad11685ff3bdae589c8f6e34d">ripple::AmendmentVote::down</a></div><div class="ttdeci">@ down</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a40c2727503e88fa49ffc050386b918fe"><div class="ttname"><a href="namespaceripple.html#a40c2727503e88fa49ffc050386b918fe">ripple::tfGotMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfGotMajority</div><div class="ttdef"><b>Definition:</b> <a href="TxFlags_8h_source.html#l00128">TxFlags.h:128</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a4267716481f84b7fd7ea521266fa9ef8"><div class="ttname"><a href="namespaceripple.html#a4267716481f84b7fd7ea521266fa9ef8">ripple::isAdmin</a></div><div class="ttdeci">bool isAdmin(Port const &port, Json::Value const &params, beast::IP::Address const &remoteIp)</div><div class="ttdef"><b>Definition:</b> <a href="Role_8cpp_source.html#l00085">Role.cpp:85</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5d759654f3c40954985245643f7003ec"><div class="ttname"><a href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">ripple::createFeatureVotes</a></div><div class="ttdeci">bool createFeatureVotes(soci::session &session)</div><div class="ttdoc">createFeatureVotes Creates the FeatureVote table if it does not exist.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00229">Wallet.cpp:229</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a740f27a016e79e42b15532d24eeb54d3"><div class="ttname"><a href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">ripple::readAmendments</a></div><div class="ttdeci">void readAmendments(soci::session &session, std::function< void(boost::optional< std::string > amendment_hash, boost::optional< std::string > amendment_name, boost::optional< AmendmentVote > vote)> const &callback)</div><div class="ttdoc">readAmendments Reads all amendments from the FeatureVotes table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00253">Wallet.cpp:253</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7efda97c0ca3525b31f602de3243fae7"><div class="ttname"><a href="namespaceripple.html#a7efda97c0ca3525b31f602de3243fae7">ripple::postFixAmendmentMajorityCalcThreshold</a></div><div class="ttdeci">constexpr std::ratio< 80, 100 > postFixAmendmentMajorityCalcThreshold</div><div class="ttdef"><b>Definition:</b> <a href="SystemParameters_8h_source.html#l00083">SystemParameters.h:83</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9486d45c2b21072ec54bea71d492d1af"><div class="ttname"><a href="namespaceripple.html#a9486d45c2b21072ec54bea71d492d1af">ripple::preFixAmendmentMajorityCalcThreshold</a></div><div class="ttdeci">constexpr std::ratio< 204, 256 > preFixAmendmentMajorityCalcThreshold</div><div class="ttdoc">The minimum amount of support an amendment should have.</div><div class="ttdef"><b>Definition:</b> <a href="SystemParameters_8h_source.html#l00081">SystemParameters.h:81</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a40c2727503e88fa49ffc050386b918fe"><div class="ttname"><a href="namespaceripple.html#a40c2727503e88fa49ffc050386b918fe">ripple::tfGotMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfGotMajority</div><div class="ttdef"><b>Definition</b> <a href="TxFlags_8h_source.html#l00128">TxFlags.h:128</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a4267716481f84b7fd7ea521266fa9ef8"><div class="ttname"><a href="namespaceripple.html#a4267716481f84b7fd7ea521266fa9ef8">ripple::isAdmin</a></div><div class="ttdeci">bool isAdmin(Port const &port, Json::Value const &params, beast::IP::Address const &remoteIp)</div><div class="ttdef"><b>Definition</b> <a href="Role_8cpp_source.html#l00085">Role.cpp:85</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a5d759654f3c40954985245643f7003ec"><div class="ttname"><a href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">ripple::createFeatureVotes</a></div><div class="ttdeci">bool createFeatureVotes(soci::session &session)</div><div class="ttdoc">createFeatureVotes Creates the FeatureVote table if it does not exist.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00229">Wallet.cpp:229</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a740f27a016e79e42b15532d24eeb54d3"><div class="ttname"><a href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">ripple::readAmendments</a></div><div class="ttdeci">void readAmendments(soci::session &session, std::function< void(boost::optional< std::string > amendment_hash, boost::optional< std::string > amendment_name, boost::optional< AmendmentVote > vote)> const &callback)</div><div class="ttdoc">readAmendments Reads all amendments from the FeatureVotes table.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00253">Wallet.cpp:253</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a7efda97c0ca3525b31f602de3243fae7"><div class="ttname"><a href="namespaceripple.html#a7efda97c0ca3525b31f602de3243fae7">ripple::postFixAmendmentMajorityCalcThreshold</a></div><div class="ttdeci">constexpr std::ratio< 80, 100 > postFixAmendmentMajorityCalcThreshold</div><div class="ttdef"><b>Definition</b> <a href="SystemParameters_8h_source.html#l00083">SystemParameters.h:83</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a9486d45c2b21072ec54bea71d492d1af"><div class="ttname"><a href="namespaceripple.html#a9486d45c2b21072ec54bea71d492d1af">ripple::preFixAmendmentMajorityCalcThreshold</a></div><div class="ttdeci">constexpr std::ratio< 204, 256 > preFixAmendmentMajorityCalcThreshold</div><div class="ttdoc">The minimum amount of support an amendment should have.</div><div class="ttdef"><b>Definition</b> <a href="SystemParameters_8h_source.html#l00081">SystemParameters.h:81</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_aad512dea42da4cc179f20c67de593c26ae3cc92c14a5e6dd1a7d94b6ff634d7fc"><div class="ttname"><a href="namespaceripple.html#aad512dea42da4cc179f20c67de593c26ae3cc92c14a5e6dd1a7d94b6ff634d7fc">ripple::AttestationMatch::match</a></div><div class="ttdeci">@ match</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_aaf9d6587e02c610e84a029ad5b5e17b4ae4894ca167b08880bfc35862f18575eb"><div class="ttname"><a href="namespaceripple.html#aaf9d6587e02c610e84a029ad5b5e17b4ae4894ca167b08880bfc35862f18575eb">ripple::PublisherStatus::available</a></div><div class="ttdeci">@ available</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_ac341e8b4d6615fda7866d3c1c0014e44"><div class="ttname"><a href="namespaceripple.html#ac341e8b4d6615fda7866d3c1c0014e44">ripple::get</a></div><div class="ttdeci">T get(Section const &section, std::string const &name, T const &defaultValue=T{})</div><div class="ttdoc">Retrieve a key/value pair from a section.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00355">BasicConfig.h:355</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad30131b5a5b7cf60d9b392ab868b8c0e"><div class="ttname"><a href="namespaceripple.html#ad30131b5a5b7cf60d9b392ab868b8c0e">ripple::getJson</a></div><div class="ttdeci">Json::Value getJson(LedgerFill const &fill)</div><div class="ttdoc">Return a new Json::Value representing the ledger with given options.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerToJson_8cpp_source.html#l00357">LedgerToJson.cpp:357</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad41956ef004d64710296fd76a5dc9e06"><div class="ttname"><a href="namespaceripple.html#ad41956ef004d64710296fd76a5dc9e06">ripple::make_AmendmentTable</a></div><div class="ttdeci">std::unique_ptr< AmendmentTable > make_AmendmentTable(Application &app, std::chrono::seconds majorityTime, std::vector< AmendmentTable::FeatureInfo > const &supported, Section const &enabled, Section const &vetoed, beast::Journal journal)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l01072">AmendmentTable.cpp:1072</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_adf2b5d62683cc06ad8e96dea0bfda024"><div class="ttname"><a href="namespaceripple.html#adf2b5d62683cc06ad8e96dea0bfda024">ripple::tfLostMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfLostMajority</div><div class="ttdef"><b>Definition:</b> <a href="TxFlags_8h_source.html#l00129">TxFlags.h:129</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af4775b9f1e9a5a194f086f657c9faa37"><div class="ttname"><a href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">ripple::voteAmendment</a></div><div class="ttdeci">void voteAmendment(soci::session &session, uint256 const &amendment, std::string const &name, AmendmentVote vote)</div><div class="ttdoc">voteAmendment Set the veto value for a particular amendment.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00289">Wallet.cpp:289</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_ac341e8b4d6615fda7866d3c1c0014e44"><div class="ttname"><a href="namespaceripple.html#ac341e8b4d6615fda7866d3c1c0014e44">ripple::get</a></div><div class="ttdeci">T get(Section const &section, std::string const &name, T const &defaultValue=T{})</div><div class="ttdoc">Retrieve a key/value pair from a section.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00355">BasicConfig.h:355</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad30131b5a5b7cf60d9b392ab868b8c0e"><div class="ttname"><a href="namespaceripple.html#ad30131b5a5b7cf60d9b392ab868b8c0e">ripple::getJson</a></div><div class="ttdeci">Json::Value getJson(LedgerFill const &fill)</div><div class="ttdoc">Return a new Json::Value representing the ledger with given options.</div><div class="ttdef"><b>Definition</b> <a href="LedgerToJson_8cpp_source.html#l00357">LedgerToJson.cpp:357</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad41956ef004d64710296fd76a5dc9e06"><div class="ttname"><a href="namespaceripple.html#ad41956ef004d64710296fd76a5dc9e06">ripple::make_AmendmentTable</a></div><div class="ttdeci">std::unique_ptr< AmendmentTable > make_AmendmentTable(Application &app, std::chrono::seconds majorityTime, std::vector< AmendmentTable::FeatureInfo > const &supported, Section const &enabled, Section const &vetoed, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l01072">AmendmentTable.cpp:1072</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_adf2b5d62683cc06ad8e96dea0bfda024"><div class="ttname"><a href="namespaceripple.html#adf2b5d62683cc06ad8e96dea0bfda024">ripple::tfLostMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfLostMajority</div><div class="ttdef"><b>Definition</b> <a href="TxFlags_8h_source.html#l00129">TxFlags.h:129</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af4775b9f1e9a5a194f086f657c9faa37"><div class="ttname"><a href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">ripple::voteAmendment</a></div><div class="ttdeci">void voteAmendment(soci::session &session, uint256 const &amendment, std::string const &name, AmendmentVote vote)</div><div class="ttdoc">voteAmendment Set the veto value for a particular amendment.</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8cpp_source.html#l00289">Wallet.cpp:289</a></div></div>
|
||||
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
|
||||
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
|
||||
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
|
||||
@@ -1235,15 +1317,15 @@ $(function() {
|
||||
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set/size.html">std::unordered_set::size</a></div><div class="ttdeci">T size(T... args)</div></div>
|
||||
<div class="ttc" id="asort_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/sort.html">std::sort</a></div><div class="ttdeci">T sort(T... args)</div></div>
|
||||
<div class="ttc" id="astr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_stringstream/str.html">std::stringstream::str</a></div><div class="ttdeci">T str(T... args)</div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html"><div class="ttname"><a href="structripple_1_1AmendmentState.html">ripple::AmendmentState</a></div><div class="ttdoc">Current state of an amendment.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00292">AmendmentTable.cpp:293</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_a2d39d31177436771b94c8fa48f5d67f4"><div class="ttname"><a href="structripple_1_1AmendmentState.html#a2d39d31177436771b94c8fa48f5d67f4">ripple::AmendmentState::supported</a></div><div class="ttdeci">bool supported</div><div class="ttdoc">Indicates an amendment that this server has code support for.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00305">AmendmentTable.cpp:305</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_a39806570502aef287f7d682ed8292521"><div class="ttname"><a href="structripple_1_1AmendmentState.html#a39806570502aef287f7d682ed8292521">ripple::AmendmentState::enabled</a></div><div class="ttdeci">bool enabled</div><div class="ttdoc">Indicates that the amendment has been enabled.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00302">AmendmentTable.cpp:302</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_aa277e358200e0a43605b34f901d6f6d7"><div class="ttname"><a href="structripple_1_1AmendmentState.html#aa277e358200e0a43605b34f901d6f6d7">ripple::AmendmentState::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">The name of this amendment, possibly empty.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00308">AmendmentTable.cpp:308</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_aded5fcee7705f5497086749ea0aea289"><div class="ttname"><a href="structripple_1_1AmendmentState.html#aded5fcee7705f5497086749ea0aea289">ripple::AmendmentState::vote</a></div><div class="ttdeci">AmendmentVote vote</div><div class="ttdoc">If an amendment is down-voted, a server will not vote to enable it.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00295">AmendmentTable.cpp:295</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html"><div class="ttname"><a href="structripple_1_1AmendmentState.html">ripple::AmendmentState</a></div><div class="ttdoc">Current state of an amendment.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00292">AmendmentTable.cpp:293</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_a2d39d31177436771b94c8fa48f5d67f4"><div class="ttname"><a href="structripple_1_1AmendmentState.html#a2d39d31177436771b94c8fa48f5d67f4">ripple::AmendmentState::supported</a></div><div class="ttdeci">bool supported</div><div class="ttdoc">Indicates an amendment that this server has code support for.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00305">AmendmentTable.cpp:305</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_a39806570502aef287f7d682ed8292521"><div class="ttname"><a href="structripple_1_1AmendmentState.html#a39806570502aef287f7d682ed8292521">ripple::AmendmentState::enabled</a></div><div class="ttdeci">bool enabled</div><div class="ttdoc">Indicates that the amendment has been enabled.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00302">AmendmentTable.cpp:302</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_aa277e358200e0a43605b34f901d6f6d7"><div class="ttname"><a href="structripple_1_1AmendmentState.html#aa277e358200e0a43605b34f901d6f6d7">ripple::AmendmentState::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">The name of this amendment, possibly empty.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00308">AmendmentTable.cpp:308</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_aded5fcee7705f5497086749ea0aea289"><div class="ttname"><a href="structripple_1_1AmendmentState.html#aded5fcee7705f5497086749ea0aea289">ripple::AmendmentState::vote</a></div><div class="ttdeci">AmendmentVote vote</div><div class="ttdoc">If an amendment is down-voted, a server will not vote to enable it.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00295">AmendmentTable.cpp:295</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1AmendmentState_html_ae51fd7660d8d88e63430777f10cae97e"><div class="ttname"><a href="structripple_1_1AmendmentState.html#ae51fd7660d8d88e63430777f10cae97e">ripple::AmendmentState::AmendmentState</a></div><div class="ttdeci">AmendmentState()=default</div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html">ripple::TrustedVotes::UpvotesAndTimeout</a></div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00098">AmendmentTable.cpp:99</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html_a4588ecf54c235e6525991eb727a0fa92"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a4588ecf54c235e6525991eb727a0fa92">ripple::TrustedVotes::UpvotesAndTimeout::upVotes</a></div><div class="ttdeci">std::vector< uint256 > upVotes</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00100">AmendmentTable.cpp:100</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html_a8aa0aefb1fe98d9700c4be5d2c2ab1b2"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a8aa0aefb1fe98d9700c4be5d2c2ab1b2">ripple::TrustedVotes::UpvotesAndTimeout::timeout</a></div><div class="ttdeci">std::optional< NetClock::time_point > timeout</div><div class="ttdoc">An unseated timeout indicates that either.</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00106">AmendmentTable.cpp:106</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html">ripple::TrustedVotes::UpvotesAndTimeout</a></div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00098">AmendmentTable.cpp:99</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html_a4588ecf54c235e6525991eb727a0fa92"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a4588ecf54c235e6525991eb727a0fa92">ripple::TrustedVotes::UpvotesAndTimeout::upVotes</a></div><div class="ttdeci">std::vector< uint256 > upVotes</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00100">AmendmentTable.cpp:100</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1TrustedVotes_1_1UpvotesAndTimeout_html_a8aa0aefb1fe98d9700c4be5d2c2ab1b2"><div class="ttname"><a href="structripple_1_1TrustedVotes_1_1UpvotesAndTimeout.html#a8aa0aefb1fe98d9700c4be5d2c2ab1b2">ripple::TrustedVotes::UpvotesAndTimeout::timeout</a></div><div class="ttdeci">std::optional< NetClock::time_point > timeout</div><div class="ttdoc">An unseated timeout indicates that either.</div><div class="ttdef"><b>Definition</b> <a href="AmendmentTable_8cpp_source.html#l00106">AmendmentTable.cpp:106</a></div></div>
|
||||
<div class="ttc" id="aswap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/swap.html">std::unordered_map::swap</a></div><div class="ttdeci">T swap(T... args)</div></div>
|
||||
<div class="ttc" id="atime_point_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point.html">std::chrono::time_point</a></div></div>
|
||||
<div class="ttc" id="atime_since_epoch_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">std::chrono::time_point::time_since_epoch</a></div><div class="ttdeci">T time_since_epoch(T... args)</div></div>
|
||||
@@ -1254,7 +1336,7 @@ $(function() {
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
|
||||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user