mirror of
https://github.com/XRPLF/rippled.git
synced 2026-03-05 20:32:28 +00:00
deploy: ef284692db
This commit is contained in:
@@ -83,13 +83,13 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include <xrpld/app/main/Application.h></span></div>
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include <xrpld/app/misc/AmendmentTable.h></span></div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <xrpld/app/rdb/Wallet.h></span></div>
|
||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpld/core/ConfigSections.h></span></div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/protocol/Feature.h></span></div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <xrpl/protocol/STValidation.h></span></div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <xrpl/protocol/TxFlags.h></span></div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <xrpl/protocol/jss.h></span></div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include <xrpld/core/ConfigSections.h></span></div>
|
||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <xrpl/protocol/Feature.h></span></div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/protocol/STValidation.h></span></div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <xrpl/protocol/TxFlags.h></span></div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <xrpl/protocol/jss.h></span></div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <xrpl/server/Wallet.h></span></div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <boost/algorithm/string.hpp></span></div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include <boost/format.hpp></span></div>
|
||||
@@ -616,7 +616,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00546" name="l00546"></a><span class="lineno"> 546</span> </div>
|
||||
<div class="line"><a id="l00547" name="l00547"></a><span class="lineno"> 547</span> <span class="comment">// Read amendment votes from wallet.db</span></div>
|
||||
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno"> 548</span> <span class="keyword">auto</span> db = <a class="code hl_variable" href="classxrpl_1_1AmendmentTableImpl.html#a7db845fc7c6f2d46b54c98c96347bf1f">db_</a>.<a class="code hl_function" href="classxrpl_1_1DatabaseCon.html#a910a595db33b746c4bae6a006b135715">checkoutDb</a>();</div>
|
||||
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> <a class="code hl_function" href="namespacexrpl.html#a92dba09addd4d865c15d33625d3bea6f">readAmendments</a>(</div>
|
||||
<div class="line"><a id="l00549" name="l00549"></a><span class="lineno"> 549</span> <a class="code hl_function" href="namespacexrpl.html#aa3ae464371eab39e96b4f733fcdcdb24">readAmendments</a>(</div>
|
||||
<div class="line"><a id="l00550" name="l00550"></a><span class="lineno"> 550</span> *db,</div>
|
||||
<div class="line"><a id="l00551" name="l00551"></a><span class="lineno"> 551</span> [&](boost::optional<std::string> amendment_hash,</div>
|
||||
<div class="line"><a id="l00552" name="l00552"></a><span class="lineno"> 552</span> boost::optional<std::string> amendment_name,</div>
|
||||
@@ -713,7 +713,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00633" name="l00633"></a><span class="lineno"> 633</span><span class="keyword"></span>{</div>
|
||||
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno"> 634</span> XRPL_ASSERT(vote != <a class="code hl_enumvalue" href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874a28a39c5d0e09f2b9f423c9864ecf1db8">AmendmentVote::obsolete</a>, <span class="stringliteral">"xrpl::AmendmentTableImpl::persistVote : valid vote input"</span>);</div>
|
||||
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno"> 635</span> <span class="keyword">auto</span> db = <a class="code hl_variable" href="classxrpl_1_1AmendmentTableImpl.html#a7db845fc7c6f2d46b54c98c96347bf1f">db_</a>.<a class="code hl_function" href="classxrpl_1_1DatabaseCon.html#a910a595db33b746c4bae6a006b135715">checkoutDb</a>();</div>
|
||||
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span> <a class="code hl_function" href="namespacexrpl.html#a1d3f040cfe053555eb0648eb1f26eedf">voteAmendment</a>(*db, amendment, name, vote);</div>
|
||||
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno"> 636</span> <a class="code hl_function" href="namespacexrpl.html#ae5d8a2c0139e3a1fb5093b8a0ebe461e">voteAmendment</a>(*db, amendment, name, vote);</div>
|
||||
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno"> 637</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno"> 638</span> </div>
|
||||
@@ -1133,8 +1133,8 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="aclassxrpl_1_1AmendmentTableImpl_html_af8ca49eb809e972310d62cc5516b4fe4"><div class="ttname"><a href="classxrpl_1_1AmendmentTableImpl.html#af8ca49eb809e972310d62cc5516b4fe4">xrpl::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#l00352">AmendmentTable.cpp:352</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1AmendmentTable_html"><div class="ttname"><a href="classxrpl_1_1AmendmentTable.html">xrpl::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#l00018">AmendmentTable.h:19</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1Application_html"><div class="ttname"><a href="classxrpl_1_1Application.html">xrpl::Application</a></div><div class="ttdef"><b>Definition</b> <a href="Application_8h_source.html#l00094">Application.h:95</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1DatabaseCon_html"><div class="ttname"><a href="classxrpl_1_1DatabaseCon.html">xrpl::DatabaseCon</a></div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00064">DatabaseCon.h:65</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1DatabaseCon_html_a910a595db33b746c4bae6a006b135715"><div class="ttname"><a href="classxrpl_1_1DatabaseCon.html#a910a595db33b746c4bae6a006b135715">xrpl::DatabaseCon::checkoutDb</a></div><div class="ttdeci">LockedSociSession checkoutDb()</div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00167">DatabaseCon.h:167</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1DatabaseCon_html"><div class="ttname"><a href="classxrpl_1_1DatabaseCon.html">xrpl::DatabaseCon</a></div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00063">DatabaseCon.h:64</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1DatabaseCon_html_a910a595db33b746c4bae6a006b135715"><div class="ttname"><a href="classxrpl_1_1DatabaseCon.html#a910a595db33b746c4bae6a006b135715">xrpl::DatabaseCon::checkoutDb</a></div><div class="ttdeci">LockedSociSession checkoutDb()</div><div class="ttdef"><b>Definition</b> <a href="DatabaseCon_8h_source.html#l00166">DatabaseCon.h:166</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1Rules_html"><div class="ttname"><a href="classxrpl_1_1Rules.html">xrpl::Rules</a></div><div class="ttdoc">Rules controlling protocol behavior.</div><div class="ttdef"><b>Definition</b> <a href="Rules_8h_source.html#l00017">Rules.h:18</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1Section_html"><div class="ttname"><a href="classxrpl_1_1Section.html">xrpl::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#l00023">BasicConfig.h:24</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1Section_html_a5b0a208dbe101bb33af0d7a48dad004c"><div class="ttname"><a href="classxrpl_1_1Section.html#a5b0a208dbe101bb33af0d7a48dad004c">xrpl::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#l00040">BasicConfig.h:40</a></div></div>
|
||||
@@ -1166,7 +1166,6 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<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#l00027">json_value.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</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#l00005">algorithm.h:5</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a1d3f040cfe053555eb0648eb1f26eedf"><div class="ttname"><a href="namespacexrpl.html#a1d3f040cfe053555eb0648eb1f26eedf">xrpl::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#l00243">Wallet.cpp:243</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a1e76848ae49f7d4f94a0648e437ea6c1ae3cc92c14a5e6dd1a7d94b6ff634d7fc"><div class="ttname"><a href="namespacexrpl.html#a1e76848ae49f7d4f94a0648e437ea6c1ae3cc92c14a5e6dd1a7d94b6ff634d7fc">xrpl::AttestationMatch::match</a></div><div class="ttdeci">@ match</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a2a7ed5621b21d8593cdb566aff47fdb9"><div class="ttname"><a href="namespacexrpl.html#a2a7ed5621b21d8593cdb566aff47fdb9">xrpl::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#l00299">LedgerToJson.cpp:299</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a35ce7572092b98720a52fa343c6f2fa9"><div class="ttname"><a href="namespacexrpl.html#a35ce7572092b98720a52fa343c6f2fa9">xrpl::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#l00597">base_uint.h:597</a></div></div>
|
||||
@@ -1179,15 +1178,16 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="ttc" id="anamespacexrpl_html_a73af86bd8c7d96a36541a9049ec64467"><div class="ttname"><a href="namespacexrpl.html#a73af86bd8c7d96a36541a9049ec64467">xrpl::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#l00063">Role.cpp:63</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a8bbb62bfbd6f9c7e9e0b0707a8252805"><div class="ttname"><a href="namespacexrpl.html#a8bbb62bfbd6f9c7e9e0b0707a8252805">xrpl::tfLostMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfLostMajority</div><div class="ttdef"><b>Definition</b> <a href="TxFlags_8h_source.html#l00109">TxFlags.h:109</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a914dc4575906a2ae13130f55acd72d5b"><div class="ttname"><a href="namespacexrpl.html#a914dc4575906a2ae13130f55acd72d5b">xrpl::tfGotMajority</a></div><div class="ttdeci">constexpr std::uint32_t tfGotMajority</div><div class="ttdef"><b>Definition</b> <a href="TxFlags_8h_source.html#l00108">TxFlags.h:108</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a92dba09addd4d865c15d33625d3bea6f"><div class="ttname"><a href="namespacexrpl.html#a92dba09addd4d865c15d33625d3bea6f">xrpl::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#l00211">Wallet.cpp:211</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a9f8ae0078d6c6999355160984cb10414ae4894ca167b08880bfc35862f18575eb"><div class="ttname"><a href="namespacexrpl.html#a9f8ae0078d6c6999355160984cb10414ae4894ca167b08880bfc35862f18575eb">xrpl::PublisherStatus::available</a></div><div class="ttdeci">@ available</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_aa7ec82f0a408c7b9314b0245de8df317"><div class="ttname"><a href="namespacexrpl.html#aa7ec82f0a408c7b9314b0245de8df317">xrpl::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#l00187">Wallet.cpp:187</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_aa3ae464371eab39e96b4f733fcdcdb24"><div class="ttname"><a href="namespacexrpl.html#aa3ae464371eab39e96b4f733fcdcdb24">xrpl::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#l00212">Wallet.cpp:212</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_aa7ec82f0a408c7b9314b0245de8df317"><div class="ttname"><a href="namespacexrpl.html#aa7ec82f0a408c7b9314b0245de8df317">xrpl::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#l00188">Wallet.cpp:188</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab0ad02fb9cdef90852b93f1b57aacdc1ac3fe5edb1f8a81a8e585f6a27c120be6"><div class="ttname"><a href="namespacexrpl.html#ab0ad02fb9cdef90852b93f1b57aacdc1ac3fe5edb1f8a81a8e585f6a27c120be6">xrpl::TokenType::NodePublic</a></div><div class="ttdeci">@ NodePublic</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab9f5a92c06f220c2265bfba42d919874"><div class="ttname"><a href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874">xrpl::AmendmentVote</a></div><div class="ttdeci">AmendmentVote</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8h_source.html#l00120">Wallet.h:120</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab9f5a92c06f220c2265bfba42d919874"><div class="ttname"><a href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874">xrpl::AmendmentVote</a></div><div class="ttdeci">AmendmentVote</div><div class="ttdef"><b>Definition</b> <a href="Wallet_8h_source.html#l00119">Wallet.h:119</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab9f5a92c06f220c2265bfba42d919874a28a39c5d0e09f2b9f423c9864ecf1db8"><div class="ttname"><a href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874a28a39c5d0e09f2b9f423c9864ecf1db8">xrpl::AmendmentVote::obsolete</a></div><div class="ttdeci">@ obsolete</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab9f5a92c06f220c2265bfba42d919874a46c48bec0d282018b9d167eef7711b2c"><div class="ttname"><a href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874a46c48bec0d282018b9d167eef7711b2c">xrpl::AmendmentVote::up</a></div><div class="ttdeci">@ up</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ab9f5a92c06f220c2265bfba42d919874a74e8333ad11685ff3bdae589c8f6e34d"><div class="ttname"><a href="namespacexrpl.html#ab9f5a92c06f220c2265bfba42d919874a74e8333ad11685ff3bdae589c8f6e34d">xrpl::AmendmentVote::down</a></div><div class="ttdeci">@ down</div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ac33676a08172e83a4af03253af91eeeb"><div class="ttname"><a href="namespacexrpl.html#ac33676a08172e83a4af03253af91eeeb">xrpl::amendmentMajorityCalcThreshold</a></div><div class="ttdeci">constexpr std::ratio< 80, 100 > amendmentMajorityCalcThreshold</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#l00059">SystemParameters.h:59</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_ae5d8a2c0139e3a1fb5093b8a0ebe461e"><div class="ttname"><a href="namespacexrpl.html#ae5d8a2c0139e3a1fb5093b8a0ebe461e">xrpl::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#l00244">Wallet.cpp:244</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_afcbc3d1106d7f9d5827b1ecf91b65afa"><div class="ttname"><a href="namespacexrpl.html#afcbc3d1106d7f9d5827b1ecf91b65afa">xrpl::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#l00022">AmendmentTable.cpp:22</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>
|
||||
|
||||
Reference in New Issue
Block a user