This commit is contained in:
intelliot
2023-10-04 04:26:34 +00:00
parent 3929986077
commit 1342eaf3be
7 changed files with 265 additions and 262 deletions

View File

@@ -1041,7 +1041,7 @@ $(function() {
<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#l00345">AmendmentTable.cpp:345</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#l00345">AmendmentTable.cpp:345</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#l00361">AmendmentTable.cpp:361</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#l00361">AmendmentTable.cpp:361</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&lt; uint256 &gt; doValidation(std::set&lt; uint256 &gt; const &amp;enabledAmendments) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00741">AmendmentTable.cpp:741</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&lt; uint256 &gt; doValidation(std::set&lt; uint256 &gt; const &amp;enabledAmendments) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00741">AmendmentTable.cpp:741</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 &amp;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#l00224">Wallet.cpp:224</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 &amp;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#l00225">Wallet.cpp:225</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">std::unordered_map::find</a></div><div class="ttdeci">T find(T... args)</div></div> <div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">std::unordered_map::find</a></div><div class="ttdeci">T find(T... args)</div></div>
<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="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>
@@ -1076,7 +1076,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ad8ae023b65df83333c31ccfbd08246f6"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ad8ae023b65df83333c31ccfbd08246f6">ripple::AmendmentTableImpl::AmendmentTableImpl</a></div><div class="ttdeci">AmendmentTableImpl(Application &amp;app, std::chrono::seconds majorityTime, std::vector&lt; FeatureInfo &gt; const &amp;supported, Section const &amp;enabled, Section const &amp;vetoed, beast::Journal journal)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00464">AmendmentTable.cpp:464</a></div></div> <div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_ad8ae023b65df83333c31ccfbd08246f6"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#ad8ae023b65df83333c31ccfbd08246f6">ripple::AmendmentTableImpl::AmendmentTableImpl</a></div><div class="ttdeci">AmendmentTableImpl(Application &amp;app, std::chrono::seconds majorityTime, std::vector&lt; FeatureInfo &gt; const &amp;supported, Section const &amp;enabled, Section const &amp;vetoed, beast::Journal journal)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00464">AmendmentTable.cpp:464</a></div></div>
<div class="ttc" id="aclassripple_1_1TrustedVotes_html_abb5ca74efccd0c0e3d0c14e5ad845d25"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#abb5ca74efccd0c0e3d0c14e5ad845d25">ripple::TrustedVotes::maxTimeout</a></div><div class="ttdeci">static constexpr NetClock::time_point maxTimeout</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00091">AmendmentTable.cpp:91</a></div></div> <div class="ttc" id="aclassripple_1_1TrustedVotes_html_abb5ca74efccd0c0e3d0c14e5ad845d25"><div class="ttname"><a href="classripple_1_1TrustedVotes.html#abb5ca74efccd0c0e3d0c14e5ad845d25">ripple::TrustedVotes::maxTimeout</a></div><div class="ttdeci">static constexpr NetClock::time_point maxTimeout</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00091">AmendmentTable.cpp:91</a></div></div>
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a4eac7bf3be538741f7fa066c18b04fae"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a4eac7bf3be538741f7fa066c18b04fae">ripple::AmendmentTableImpl::doVoting</a></div><div class="ttdeci">std::map&lt; uint256, std::uint32_t &gt; doVoting(Rules const &amp;rules, NetClock::time_point closeTime, std::set&lt; uint256 &gt; const &amp;enabledAmendments, majorityAmendments_t const &amp;majorityAmendments, std::vector&lt; std::shared_ptr&lt; STValidation &gt;&gt; const &amp;validations) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00775">AmendmentTable.cpp:775</a></div></div> <div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a4eac7bf3be538741f7fa066c18b04fae"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a4eac7bf3be538741f7fa066c18b04fae">ripple::AmendmentTableImpl::doVoting</a></div><div class="ttdeci">std::map&lt; uint256, std::uint32_t &gt; doVoting(Rules const &amp;rules, NetClock::time_point closeTime, std::set&lt; uint256 &gt; const &amp;enabledAmendments, majorityAmendments_t const &amp;majorityAmendments, std::vector&lt; std::shared_ptr&lt; STValidation &gt;&gt; const &amp;validations) override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00775">AmendmentTable.cpp:775</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00248">Wallet.cpp:248</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00249">Wallet.cpp:249</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 &amp; rules_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00250">AmendmentTable.cpp:250</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 &amp; rules_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00250">AmendmentTable.cpp:250</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 &amp;amendment, std::lock_guard&lt; std::mutex &gt; const &amp;lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00615">AmendmentTable.cpp:615</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 &amp;amendment, std::lock_guard&lt; std::mutex &gt; const &amp;lock)</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00615">AmendmentTable.cpp:615</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 &amp;amendment) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00719">AmendmentTable.cpp:719</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 &amp;amendment) const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00719">AmendmentTable.cpp:719</a></div></div>
@@ -1105,7 +1105,7 @@ $(function() {
<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&lt; AmendmentSet &gt; lastVote_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00358">AmendmentTable.cpp:358</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&lt; AmendmentSet &gt; lastVote_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00358">AmendmentTable.cpp:358</a></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="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="aclassripple_1_1AmendmentTableImpl_html_a9c9272ffee37521dc61aa8baab7b8c10"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9c9272ffee37521dc61aa8baab7b8c10">ripple::AmendmentTableImpl::majorityTime_</a></div><div class="ttdeci">const std::chrono::seconds majorityTime_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00354">AmendmentTable.cpp:354</a></div></div> <div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a9c9272ffee37521dc61aa8baab7b8c10"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9c9272ffee37521dc61aa8baab7b8c10">ripple::AmendmentTableImpl::majorityTime_</a></div><div class="ttdeci">const std::chrono::seconds majorityTime_</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00354">AmendmentTable.cpp:354</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 &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00284">Wallet.cpp:284</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 &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00285">Wallet.cpp:285</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#l00233">AmendmentTable.cpp:233</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#l00233">AmendmentTable.cpp:233</a></div></div>
<div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a9c84b0a42b131a8c6392a993bc4b4c4c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9c84b0a42b131a8c6392a993bc4b4c4c">ripple::AmendmentTableImpl::getJson</a></div><div class="ttdeci">Json::Value getJson() const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00939">AmendmentTable.cpp:939</a></div></div> <div class="ttc" id="aclassripple_1_1AmendmentTableImpl_html_a9c84b0a42b131a8c6392a993bc4b4c4c"><div class="ttname"><a href="classripple_1_1AmendmentTableImpl.html#a9c84b0a42b131a8c6392a993bc4b4c4c">ripple::AmendmentTableImpl::getJson</a></div><div class="ttdeci">Json::Value getJson() const override</div><div class="ttdef"><b>Definition:</b> <a href="AmendmentTable_8cpp_source.html#l00939">AmendmentTable.cpp:939</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#l00081">DatabaseCon.h:81</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#l00081">DatabaseCon.h:81</a></div></div>

View File

@@ -246,152 +246,154 @@ $(function() {
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div> <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sParentHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">parentHash</a>)};</div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sParentHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">parentHash</a>)};</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sDrops{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">drops</a>)};</div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sDrops{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ad05c30cddf4e01a449adfa855fdb8b7d">drops</a>)};</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sAccountHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">accountHash</a>)};</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> closingTime{</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sTxHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">txHash</a>)};</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">closeTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count()};</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; </div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> prevClosingTime{</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;DELETE FROM Ledgers &quot;</span></div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">parentCloseTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count()};</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="stringliteral">&quot;WHERE LedgerSeq = :seq;&quot;</span>,</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> closeTimeRes{ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">closeTimeResolution</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration/count.html">count</a>()};</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; soci::use(ledgerSeq);</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sAccountHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ae2df468f2563d420131543e27231491d">accountHash</a>)};</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT OR REPLACE INTO Ledgers (&quot;</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sTxHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ae9093d3962490ede02dd9da5eb597527">txHash</a>)};</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="stringliteral">&quot;LedgerHash, LedgerSeq, PrevHash, TotalCoins, ClosingTime,&quot;</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="stringliteral">&quot;PrevClosingTime, CloseTimeRes, CloseFlags, AccountSetHash,&quot;</span></div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;DELETE FROM Ledgers &quot;</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="stringliteral">&quot;TransSetHash)&quot;</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="stringliteral">&quot;WHERE LedgerSeq = :seq;&quot;</span>,</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="stringliteral">&quot;VALUES (&quot;</span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; soci::use(ledgerSeq);</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="stringliteral">&quot;:ledgerHash, :ledgerSeq, :prevHash, :totalCoins,&quot;</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT OR REPLACE INTO Ledgers (&quot;</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="stringliteral">&quot;:closingTime, :prevClosingTime, :closeTimeRes,&quot;</span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="stringliteral">&quot;LedgerHash, LedgerSeq, PrevHash, TotalCoins, ClosingTime,&quot;</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="stringliteral">&quot;:closeFlags, :accountSetHash, :transSetHash);&quot;</span>,</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="stringliteral">&quot;PrevClosingTime, CloseTimeRes, CloseFlags, AccountSetHash,&quot;</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; soci::use(sHash), soci::use(ledgerSeq), soci::use(sParentHash),</div> <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="stringliteral">&quot;TransSetHash)&quot;</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; soci::use(sDrops),</div> <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <span class="stringliteral">&quot;VALUES (&quot;</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; soci::use(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a3f117cf9d4ccb20b5ba15d8639540707">closeTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count()),</div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="stringliteral">&quot;:ledgerHash, :ledgerSeq, :prevHash, :totalCoins,&quot;</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; soci::use(</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="stringliteral">&quot;:closingTime, :prevClosingTime, :closeTimeRes,&quot;</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">parentCloseTime</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/time_point/time_since_epoch.html">time_since_epoch</a>().count()),</div> <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="stringliteral">&quot;:closeFlags, :accountSetHash, :transSetHash);&quot;</span>,</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; soci::use(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#ab0b35abca886a06b38eead7b84cba8c3">closeTimeResolution</a>.<a class="codeRef" href="http://en.cppreference.com/w/cpp/chrono/duration/count.html">count</a>()),</div> <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; soci::use(sHash), soci::use(ledgerSeq), soci::use(sParentHash),</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; soci::use(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a>), soci::use(sAccountHash),</div> <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; soci::use(sDrops), soci::use(closingTime),</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; soci::use(sTxHash);</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; soci::use(prevClosingTime), soci::use(closeTimeRes),</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; </div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; soci::use(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a9808a73e7430aff3c1590d4ae552f620">closeFlags</a>), soci::use(sAccountHash),</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; tr.commit();</div> <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; soci::use(sTxHash);</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; }</div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; </div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; tr.commit();</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;}</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; </div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;DatabaseCon&gt;</a></div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;}</div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1"> 208</a></span>&#160;<a class="code" href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">makeAcquireDB</a>(</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="code" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> <span class="keyword">const</span>&amp; setup,</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;DatabaseCon&gt;</a></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <a class="code" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> <span class="keyword">const</span>&amp; checkpointerSetup)</div> <div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1"> 210</a></span>&#160;<a class="code" href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">makeAcquireDB</a>(</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;{</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> <span class="keyword">const</span>&amp; setup,</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;DatabaseCon&gt;(</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <a class="code" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> <span class="keyword">const</span>&amp; checkpointerSetup)</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; setup,</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;{</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="namespaceripple.html#a47b009ed46b45fea7af9c99491bd5893">AcquireShardDBName</a>,</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <span class="keywordflow">return</span> std::make_unique&lt;DatabaseCon&gt;(</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="namespaceripple.html#a402fe8f2f041bd9e3d2f74c5d1e02bcd">AcquireShardDBPragma</a>,</div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; setup,</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="namespaceripple.html#acddd432321b548db97019aa913d637d4">AcquireShardDBInit</a>,</div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="namespaceripple.html#a47b009ed46b45fea7af9c99491bd5893">AcquireShardDBName</a>,</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; checkpointerSetup);</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <a class="code" href="namespaceripple.html#a402fe8f2f041bd9e3d2f74c5d1e02bcd">AcquireShardDBPragma</a>,</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;}</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; <a class="code" href="namespaceripple.html#acddd432321b548db97019aa913d637d4">AcquireShardDBInit</a>,</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; checkpointerSetup);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;<span class="keywordtype">void</span></div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;}</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362"> 221</a></span>&#160;<a class="code" href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">insertAcquireDBIndex</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;{</div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT INTO Shard (ShardIndex) &quot;</span></div> <div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362"> 223</a></span>&#160;<a class="code" href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">insertAcquireDBIndex</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="stringliteral">&quot;VALUES (:shardIndex);&quot;</span>,</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;{</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; soci::use(index);</div> <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT INTO Shard (ShardIndex) &quot;</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;}</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; <span class="stringliteral">&quot;VALUES (:shardIndex);&quot;</span>,</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; </div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; soci::use(index);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;bool, std::optional&lt;std::string&gt;</a>&gt;</div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;}</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94"> 229</a></span>&#160;<a class="code" href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">selectAcquireDBLedgerSeqs</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;{</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;bool, std::optional&lt;std::string&gt;</a>&gt;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="comment">// resIndex and must be boost::optional (not std) because that&#39;s</span></div> <div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94"> 231</a></span>&#160;<a class="code" href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">selectAcquireDBLedgerSeqs</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; <span class="comment">// what SOCI expects in its interface.</span></div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;{</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; boost::optional&lt;std::uint32_t&gt; resIndex;</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="comment">// resIndex and must be boost::optional (not std) because that&#39;s</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; soci::blob sociBlob(session);</div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="comment">// what SOCI expects in its interface.</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; soci::indicator blobPresent;</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; boost::optional&lt;std::uint32_t&gt; resIndex;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; </div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; soci::blob sociBlob(session);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;SELECT ShardIndex, StoredLedgerSeqs &quot;</span></div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; soci::indicator blobPresent;</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; <span class="stringliteral">&quot;FROM Shard &quot;</span></div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :index;&quot;</span>,</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;SELECT ShardIndex, StoredLedgerSeqs &quot;</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; soci::into(resIndex), soci::into(sociBlob, blobPresent),</div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="stringliteral">&quot;FROM Shard &quot;</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; soci::use(index);</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :index;&quot;</span>,</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; </div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; soci::into(resIndex), soci::into(sociBlob, blobPresent),</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">if</span> (!resIndex || index != resIndex)</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; soci::use(index);</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">false</span>, {}};</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; </div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="keywordflow">if</span> (!resIndex || index != resIndex)</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">if</span> (blobPresent != soci::i_ok)</div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">false</span>, {}};</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {}};</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; </div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="keywordflow">if</span> (blobPresent != soci::i_ok)</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> s;</div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {}};</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(sociBlob, s);</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; </div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> s;</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, s};</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(sociBlob, s);</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;}</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; </div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, s};</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;bool, AcquireShardSeqsHash&gt;</a></div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;}</div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db"> 256</a></span>&#160;<a class="code" href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">selectAcquireDBLedgerSeqsHash</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;{</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;bool, AcquireShardSeqsHash&gt;</a></div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="comment">// resIndex and sHash0 must be boost::optional (not std) because that&#39;s</span></div> <div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db"> 258</a></span>&#160;<a class="code" href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">selectAcquireDBLedgerSeqsHash</a>(soci::session&amp; session, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index)</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="comment">// what SOCI expects in its interface.</span></div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;{</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; boost::optional&lt;std::uint32_t&gt; resIndex;</div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="comment">// resIndex and sHash0 must be boost::optional (not std) because that&#39;s</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; boost::optional&lt;std::string&gt; sHash0;</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="comment">// what SOCI expects in its interface.</span></div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; soci::blob sociBlob(session);</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; boost::optional&lt;std::uint32_t&gt; resIndex;</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; soci::indicator blobPresent;</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; boost::optional&lt;std::string&gt; sHash0;</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; soci::blob sociBlob(session);</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;SELECT ShardIndex, LastLedgerHash, StoredLedgerSeqs &quot;</span></div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; soci::indicator blobPresent;</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="stringliteral">&quot;FROM Shard &quot;</span></div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :index;&quot;</span>,</div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;SELECT ShardIndex, LastLedgerHash, StoredLedgerSeqs &quot;</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; soci::into(resIndex), soci::into(sHash0),</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="stringliteral">&quot;FROM Shard &quot;</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; soci::into(sociBlob, blobPresent), soci::use(index);</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :index;&quot;</span>,</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; </div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; soci::into(resIndex), soci::into(sHash0),</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> sHash =</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; soci::into(sociBlob, blobPresent), soci::use(index);</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; (sHash0 ? *sHash0 : <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a>());</div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> sHash =</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <span class="keywordflow">if</span> (!resIndex || index != resIndex)</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; (sHash0 ? *sHash0 : <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a>());</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">false</span>, {{}, {}}};</div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; </div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keywordflow">if</span> (!resIndex || index != resIndex)</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">if</span> (blobPresent != soci::i_ok)</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">false</span>, {{}, {}}};</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {{}, sHash}};</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; </div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">if</span> (blobPresent != soci::i_ok)</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> s;</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {{}, sHash}};</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(sociBlob, s);</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; </div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> s;</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {s, sHash}};</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(sociBlob, s);</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;}</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; </div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keywordflow">return</span> {<span class="keyword">true</span>, {s, sHash}};</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="keywordtype">void</span></div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;}</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad44314a03a131640e29655b190aad168"> 287</a></span>&#160;<a class="code" href="namespaceripple.html#ad44314a03a131640e29655b190aad168">updateAcquireDB</a>(</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; soci::session&amp; session,</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a> <span class="keyword">const</span>&amp; ledger,</div> <div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="namespaceripple.html#ad44314a03a131640e29655b190aad168"> 289</a></span>&#160;<a class="code" href="namespaceripple.html#ad44314a03a131640e29655b190aad168">updateAcquireDB</a>(</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index,</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; soci::session&amp; session,</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> lastSeq,</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a> <span class="keyword">const</span>&amp; ledger,</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; seqs)</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> index,</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;{</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> lastSeq,</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; soci::blob sociBlob(session);</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::string&gt;</a> <span class="keyword">const</span>&amp; seqs)</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a>)};</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;{</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; </div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; soci::blob sociBlob(session);</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keywordflow">if</span> (seqs)</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sHash{<a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">hash</a>)};</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(*seqs, sociBlob);</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; </div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; </div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; <span class="keywordflow">if</span> (seqs)</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <span class="keywordflow">if</span> (ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a> == lastSeq)</div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <a class="code" href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">convert</a>(*seqs, sociBlob);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; {</div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="comment">// Store shard&#39;s last ledger hash</span></div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160; <span class="keywordflow">if</span> (ledger-&gt;<a class="code" href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">info</a>().<a class="code" href="structripple_1_1LedgerHeader.html#a233e04cfeb4d879ab8517d8aabb7e38b">seq</a> == lastSeq)</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;UPDATE Shard &quot;</span></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; {</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="stringliteral">&quot;SET LastLedgerHash = :lastLedgerHash,&quot;</span></div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="comment">// Store shard&#39;s last ledger hash</span></div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="stringliteral">&quot;StoredLedgerSeqs = :storedLedgerSeqs &quot;</span></div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;UPDATE Shard &quot;</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :shardIndex;&quot;</span>,</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="stringliteral">&quot;SET LastLedgerHash = :lastLedgerHash,&quot;</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; soci::use(sHash), soci::use(sociBlob), soci::use(index);</div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="stringliteral">&quot;StoredLedgerSeqs = :storedLedgerSeqs &quot;</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; }</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :shardIndex;&quot;</span>,</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keywordflow">else</span></div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; soci::use(sHash), soci::use(sociBlob), soci::use(index);</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; {</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; }</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;UPDATE Shard &quot;</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; <span class="stringliteral">&quot;SET StoredLedgerSeqs = :storedLedgerSeqs &quot;</span></div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; {</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :shardIndex;&quot;</span>,</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;UPDATE Shard &quot;</span></div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; soci::use(sociBlob), soci::use(index);</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; <span class="stringliteral">&quot;SET StoredLedgerSeqs = :storedLedgerSeqs &quot;</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; }</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <span class="stringliteral">&quot;WHERE ShardIndex = :shardIndex;&quot;</span>,</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;}</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; soci::use(sociBlob), soci::use(index);</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; </div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; }</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;} <span class="comment">// namespace ripple</span></div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;}</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;} <span class="comment">// namespace ripple</span></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_html_a402fe8f2f041bd9e3d2f74c5d1e02bcd"><div class="ttname"><a href="namespaceripple.html#a402fe8f2f041bd9e3d2f74c5d1e02bcd">ripple::AcquireShardDBPragma</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 1 &gt; AcquireShardDBPragma</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00198">DBInit.h:198</a></div></div> <div class="ttc" id="anamespaceripple_html_a402fe8f2f041bd9e3d2f74c5d1e02bcd"><div class="ttname"><a href="namespaceripple.html#a402fe8f2f041bd9e3d2f74c5d1e02bcd">ripple::AcquireShardDBPragma</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 1 &gt; AcquireShardDBPragma</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00198">DBInit.h:198</a></div></div>
<div class="ttc" id="anamespaceripple_html_a47b009ed46b45fea7af9c99491bd5893"><div class="ttname"><a href="namespaceripple.html#a47b009ed46b45fea7af9c99491bd5893">ripple::AcquireShardDBName</a></div><div class="ttdeci">constexpr auto AcquireShardDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00196">DBInit.h:196</a></div></div> <div class="ttc" id="anamespaceripple_html_a47b009ed46b45fea7af9c99491bd5893"><div class="ttname"><a href="namespaceripple.html#a47b009ed46b45fea7af9c99491bd5893">ripple::AcquireShardDBName</a></div><div class="ttdeci">constexpr auto AcquireShardDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00196">DBInit.h:196</a></div></div>
<div class="ttc" id="aclassripple_1_1SHAMap_html_aa36f13285448ce66cdc04a0b7f4d8af7"><div class="ttname"><a href="classripple_1_1SHAMap.html#aa36f13285448ce66cdc04a0b7f4d8af7">ripple::SHAMap::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMap_8h_source.html#l00625">SHAMap.h:625</a></div></div> <div class="ttc" id="aclassripple_1_1SHAMap_html_aa36f13285448ce66cdc04a0b7f4d8af7"><div class="ttname"><a href="classripple_1_1SHAMap.html#aa36f13285448ce66cdc04a0b7f4d8af7">ripple::SHAMap::isValid</a></div><div class="ttdeci">bool isValid() const</div><div class="ttdef"><b>Definition:</b> <a href="SHAMap_8h_source.html#l00625">SHAMap.h:625</a></div></div>
<div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00208">UnitaryShard.cpp:208</a></div></div> <div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00210">UnitaryShard.cpp:210</a></div></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="anamespaceripple_html_a10025b86c17707aa738c67c31a3aa540"><div class="ttname"><a href="namespaceripple.html#a10025b86c17707aa738c67c31a3aa540">ripple::TxDBPragma</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 4 &gt; TxDBPragma</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00078">DBInit.h:78</a></div></div> <div class="ttc" id="anamespaceripple_html_a10025b86c17707aa738c67c31a3aa540"><div class="ttname"><a href="namespaceripple.html#a10025b86c17707aa738c67c31a3aa540">ripple::TxDBPragma</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 4 &gt; TxDBPragma</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00078">DBInit.h:78</a></div></div>
@@ -403,8 +405,8 @@ $(function() {
<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="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="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/reserve.html">std::string::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div> <div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/reserve.html">std::string::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div>
<div class="ttc" id="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</a></div></div> <div class="ttc" id="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</a></div></div>
<div class="ttc" id="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00256">UnitaryShard.cpp:256</a></div></div> <div class="ttc" id="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00258">UnitaryShard.cpp:258</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00221">UnitaryShard.cpp:221</a></div></div> <div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00223">UnitaryShard.cpp:223</a></div></div>
<div class="ttc" id="astructripple_1_1LedgerHeader_html_ab8fd6d4be4001febfe6f2e2b399dfa48"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">ripple::LedgerHeader::parentHash</a></div><div class="ttdeci">uint256 parentHash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00052">LedgerHeader.h:52</a></div></div> <div class="ttc" id="astructripple_1_1LedgerHeader_html_ab8fd6d4be4001febfe6f2e2b399dfa48"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#ab8fd6d4be4001febfe6f2e2b399dfa48">ripple::LedgerHeader::parentHash</a></div><div class="ttdeci">uint256 parentHash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00052">LedgerHeader.h:52</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 &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00104">AccountID.cpp:104</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 &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00104">AccountID.cpp:104</a></div></div>
<div class="ttc" id="astructripple_1_1DatabaseCon_1_1CheckpointerSetup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">ripple::DatabaseCon::CheckpointerSetup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00107">DatabaseCon.h:107</a></div></div> <div class="ttc" id="astructripple_1_1DatabaseCon_1_1CheckpointerSetup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">ripple::DatabaseCon::CheckpointerSetup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00107">DatabaseCon.h:107</a></div></div>
@@ -420,7 +422,7 @@ $(function() {
<div class="ttc" id="astructripple_1_1LedgerHeader_html_aed3c6b7c8a2f7b4815507ff942f94fa8"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">ripple::LedgerHeader::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00049">LedgerHeader.h:49</a></div></div> <div class="ttc" id="astructripple_1_1LedgerHeader_html_aed3c6b7c8a2f7b4815507ff942f94fa8"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#aed3c6b7c8a2f7b4815507ff942f94fa8">ripple::LedgerHeader::hash</a></div><div class="ttdeci">uint256 hash</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00049">LedgerHeader.h:49</a></div></div>
<div class="ttc" id="anamespaceripple_html_aaeddb4a3396c616a7ef7350e4cc327f0"><div class="ttname"><a href="namespaceripple.html#aaeddb4a3396c616a7ef7350e4cc327f0">ripple::TxDBName</a></div><div class="ttdeci">constexpr auto TxDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00073">DBInit.h:73</a></div></div> <div class="ttc" id="anamespaceripple_html_aaeddb4a3396c616a7ef7350e4cc327f0"><div class="ttname"><a href="namespaceripple.html#aaeddb4a3396c616a7ef7350e4cc327f0">ripple::TxDBName</a></div><div class="ttdeci">constexpr auto TxDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00073">DBInit.h:73</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00082">base_uint.h:82</a></div></div> <div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00082">base_uint.h:82</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00287">UnitaryShard.cpp:287</a></div></div> <div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00289">UnitaryShard.cpp:289</a></div></div>
<div class="ttc" id="aclassripple_1_1Ledger_html_a31a21cc451eaa0a5af304e2625dc75f5"><div class="ttname"><a href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">ripple::Ledger::info</a></div><div class="ttdeci">LedgerInfo const &amp; info() const override</div><div class="ttdoc">Returns information about the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00152">Ledger.h:152</a></div></div> <div class="ttc" id="aclassripple_1_1Ledger_html_a31a21cc451eaa0a5af304e2625dc75f5"><div class="ttname"><a href="classripple_1_1Ledger.html#a31a21cc451eaa0a5af304e2625dc75f5">ripple::Ledger::info</a></div><div class="ttdeci">LedgerInfo const &amp; info() const override</div><div class="ttdoc">Returns information about the ledger.</div><div class="ttdef"><b>Definition:</b> <a href="Ledger_8h_source.html#l00152">Ledger.h:152</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> <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>
<div class="ttc" id="astructripple_1_1LedgerHeader_html_acbaff4abb7243e02f45e63bd19843aa9"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">ripple::LedgerHeader::parentCloseTime</a></div><div class="ttdeci">NetClock::time_point parentCloseTime</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00042">LedgerHeader.h:42</a></div></div> <div class="ttc" id="astructripple_1_1LedgerHeader_html_acbaff4abb7243e02f45e63bd19843aa9"><div class="ttname"><a href="structripple_1_1LedgerHeader.html#acbaff4abb7243e02f45e63bd19843aa9">ripple::LedgerHeader::parentCloseTime</a></div><div class="ttdeci">NetClock::time_point parentCloseTime</div><div class="ttdef"><b>Definition:</b> <a href="LedgerHeader_8h_source.html#l00042">LedgerHeader.h:42</a></div></div>
@@ -449,7 +451,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a3239662b6259e89c292143a915714934"><div class="ttname"><a href="namespaceripple.html#a3239662b6259e89c292143a915714934">ripple::makeShardIncompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardIncompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeShardIncompleteLedgerDBs Opens shard databases for partially downloaded or unverified shards and ...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00048">UnitaryShard.cpp:48</a></div></div> <div class="ttc" id="anamespaceripple_html_a3239662b6259e89c292143a915714934"><div class="ttname"><a href="namespaceripple.html#a3239662b6259e89c292143a915714934">ripple::makeShardIncompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardIncompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeShardIncompleteLedgerDBs Opens shard databases for partially downloaded or unverified shards and ...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00048">UnitaryShard.cpp:48</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&lt; std::string &gt;</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&lt; std::string &gt;</a></div></div>
<div class="ttc" id="anamespaceripple_html_af9776f187d3686a7fba4c2d2fbeebdf4"><div class="ttname"><a href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">ripple::to_string</a></div><div class="ttdeci">std::string to_string(Manifest const &amp;m)</div><div class="ttdoc">Format the specified manifest to a string for debugging purposes.</div><div class="ttdef"><b>Definition:</b> <a href="app_2misc_2impl_2Manifest_8cpp_source.html#l00041">app/misc/impl/Manifest.cpp:41</a></div></div> <div class="ttc" id="anamespaceripple_html_af9776f187d3686a7fba4c2d2fbeebdf4"><div class="ttname"><a href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">ripple::to_string</a></div><div class="ttdeci">std::string to_string(Manifest const &amp;m)</div><div class="ttdoc">Format the specified manifest to a string for debugging purposes.</div><div class="ttdef"><b>Definition:</b> <a href="app_2misc_2impl_2Manifest_8cpp_source.html#l00041">app/misc/impl/Manifest.cpp:41</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00229">UnitaryShard.cpp:229</a></div></div> <div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00231">UnitaryShard.cpp:231</a></div></div>
<div class="ttc" id="anamespaceripple_html_a02dace5f2b8af172e9d2d4ee7ea04c55"><div class="ttname"><a href="namespaceripple.html#a02dace5f2b8af172e9d2d4ee7ea04c55">ripple::TxDBInit</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 8 &gt; TxDBInit</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00094">DBInit.h:94</a></div></div> <div class="ttc" id="anamespaceripple_html_a02dace5f2b8af172e9d2d4ee7ea04c55"><div class="ttname"><a href="namespaceripple.html#a02dace5f2b8af172e9d2d4ee7ea04c55">ripple::TxDBInit</a></div><div class="ttdeci">constexpr std::array&lt; char const *, 8 &gt; TxDBInit</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00094">DBInit.h:94</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="anamespaceripple_html_a9078e51480fd85c4bff715ecd3f141d5"><div class="ttname"><a href="namespaceripple.html#a9078e51480fd85c4bff715ecd3f141d5">ripple::sqlBlobLiteral</a></div><div class="ttdeci">std::string sqlBlobLiteral(Blob const &amp;blob)</div><div class="ttdoc">Format arbitrary binary data as an SQLite &quot;blob literal&quot;.</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8cpp_source.html#l00033">StringUtilities.cpp:33</a></div></div> <div class="ttc" id="anamespaceripple_html_a9078e51480fd85c4bff715ecd3f141d5"><div class="ttname"><a href="namespaceripple.html#a9078e51480fd85c4bff715ecd3f141d5">ripple::sqlBlobLiteral</a></div><div class="ttdeci">std::string sqlBlobLiteral(Blob const &amp;blob)</div><div class="ttdoc">Format arbitrary binary data as an SQLite &quot;blob literal&quot;.</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8cpp_source.html#l00033">StringUtilities.cpp:33</a></div></div>

View File

@@ -157,16 +157,16 @@ $(function() {
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; </div> <div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00208">UnitaryShard.cpp:208</a></div></div> <div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00210">UnitaryShard.cpp:210</a></div></div>
<div class="ttc" id="astructripple_1_1DatabasePair_html_ade52e85e7e92395ea2f6a9a62953c3eb"><div class="ttname"><a href="structripple_1_1DatabasePair.html#ade52e85e7e92395ea2f6a9a62953c3eb">ripple::DatabasePair::transactionDb</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; transactionDb</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00034">UnitaryShard.h:34</a></div></div> <div class="ttc" id="astructripple_1_1DatabasePair_html_ade52e85e7e92395ea2f6a9a62953c3eb"><div class="ttname"><a href="structripple_1_1DatabasePair.html#ade52e85e7e92395ea2f6a9a62953c3eb">ripple::DatabasePair::transactionDb</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; transactionDb</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00034">UnitaryShard.h:34</a></div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html">ripple::DatabaseCon::Setup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00084">DatabaseCon.h:84</a></div></div> <div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html">ripple::DatabaseCon::Setup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00084">DatabaseCon.h:84</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="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="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00256">UnitaryShard.cpp:256</a></div></div> <div class="ttc" id="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00258">UnitaryShard.cpp:258</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00221">UnitaryShard.cpp:221</a></div></div> <div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00223">UnitaryShard.cpp:223</a></div></div>
<div class="ttc" id="astructripple_1_1DatabasePair_html_a3ea8bdea165d16bffc589201b1936936"><div class="ttname"><a href="structripple_1_1DatabasePair.html#a3ea8bdea165d16bffc589201b1936936">ripple::DatabasePair::ledgerDb</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; ledgerDb</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00033">UnitaryShard.h:33</a></div></div> <div class="ttc" id="astructripple_1_1DatabasePair_html_a3ea8bdea165d16bffc589201b1936936"><div class="ttname"><a href="structripple_1_1DatabasePair.html#a3ea8bdea165d16bffc589201b1936936">ripple::DatabasePair::ledgerDb</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; ledgerDb</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00033">UnitaryShard.h:33</a></div></div>
<div class="ttc" id="astructripple_1_1DatabaseCon_1_1CheckpointerSetup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">ripple::DatabaseCon::CheckpointerSetup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00107">DatabaseCon.h:107</a></div></div> <div class="ttc" id="astructripple_1_1DatabaseCon_1_1CheckpointerSetup_html"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">ripple::DatabaseCon::CheckpointerSetup</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00107">DatabaseCon.h:107</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00287">UnitaryShard.cpp:287</a></div></div> <div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00289">UnitaryShard.cpp:289</a></div></div>
<div class="ttc" id="aclassripple_1_1Config_html"><div class="ttname"><a href="classripple_1_1Config.html">ripple::Config</a></div><div class="ttdef"><b>Definition:</b> <a href="Config_8h_source.html#l00092">Config.h:92</a></div></div> <div class="ttc" id="aclassripple_1_1Config_html"><div class="ttname"><a href="classripple_1_1Config.html">ripple::Config</a></div><div class="ttdef"><b>Definition:</b> <a href="Config_8h_source.html#l00092">Config.h:92</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#l00058">Journal.h:58</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#l00058">Journal.h:58</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div> <div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
@@ -178,7 +178,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div> <div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_html_a3239662b6259e89c292143a915714934"><div class="ttname"><a href="namespaceripple.html#a3239662b6259e89c292143a915714934">ripple::makeShardIncompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardIncompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeShardIncompleteLedgerDBs Opens shard databases for partially downloaded or unverified shards and ...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00048">UnitaryShard.cpp:48</a></div></div> <div class="ttc" id="anamespaceripple_html_a3239662b6259e89c292143a915714934"><div class="ttname"><a href="namespaceripple.html#a3239662b6259e89c292143a915714934">ripple::makeShardIncompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardIncompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeShardIncompleteLedgerDBs Opens shard databases for partially downloaded or unverified shards and ...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00048">UnitaryShard.cpp:48</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&lt; std::string &gt;</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&lt; std::string &gt;</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00229">UnitaryShard.cpp:229</a></div></div> <div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00231">UnitaryShard.cpp:231</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="astructripple_1_1AcquireShardSeqsHash_html_a9f95f223c40f70bbfd17b37b80c80002"><div class="ttname"><a href="structripple_1_1AcquireShardSeqsHash.html#a9f95f223c40f70bbfd17b37b80c80002">ripple::AcquireShardSeqsHash::sequences</a></div><div class="ttdeci">std::optional&lt; std::string &gt; sequences</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00119">UnitaryShard.h:119</a></div></div> <div class="ttc" id="astructripple_1_1AcquireShardSeqsHash_html_a9f95f223c40f70bbfd17b37b80c80002"><div class="ttname"><a href="structripple_1_1AcquireShardSeqsHash.html#a9f95f223c40f70bbfd17b37b80c80002">ripple::AcquireShardSeqsHash::sequences</a></div><div class="ttdeci">std::optional&lt; std::string &gt; sequences</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8h_source.html#l00119">UnitaryShard.h:119</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae2890eb631105d506cb5da5bc430c7b1"><div class="ttname"><a href="namespaceripple.html#ae2890eb631105d506cb5da5bc430c7b1">ripple::makeShardCompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardCompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeShardCompleteLedgerDBs Opens shard databases for verified shards and returns their descriptors.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00028">UnitaryShard.cpp:28</a></div></div> <div class="ttc" id="anamespaceripple_html_ae2890eb631105d506cb5da5bc430c7b1"><div class="ttname"><a href="namespaceripple.html#ae2890eb631105d506cb5da5bc430c7b1">ripple::makeShardCompleteLedgerDBs</a></div><div class="ttdeci">DatabasePair makeShardCompleteLedgerDBs(Config const &amp;config, DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeShardCompleteLedgerDBs Opens shard databases for verified shards and returns their descriptors.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00028">UnitaryShard.cpp:28</a></div></div>

View File

@@ -276,100 +276,101 @@ $(function() {
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp; nodeId,</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp; nodeId,</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; description)</div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; description)</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;{</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;{</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT INTO PeerReservations (PublicKey, Description) &quot;</span></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sNodeId = <a class="code" href="namespaceripple.html#a08a13b62b18272366f788632359e8793">toBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6">TokenType::NodePublic</a>, nodeId);</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="stringliteral">&quot;VALUES (:nodeId, :desc) &quot;</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;INSERT INTO PeerReservations (PublicKey, Description) &quot;</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="stringliteral">&quot;ON CONFLICT (PublicKey) DO UPDATE SET &quot;</span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="stringliteral">&quot;VALUES (:nodeId, :desc) &quot;</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="stringliteral">&quot;Description=excluded.Description&quot;</span>,</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="stringliteral">&quot;ON CONFLICT (PublicKey) DO UPDATE SET &quot;</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; soci::use(<a class="code" href="namespaceripple.html#a08a13b62b18272366f788632359e8793">toBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6">TokenType::NodePublic</a>, nodeId)),</div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="stringliteral">&quot;Description=excluded.Description&quot;</span>,</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; soci::use(description);</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; soci::use(sNodeId), soci::use(description);</div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;}</div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;}</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; </div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; </div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="keywordtype">void</span></div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd"> 217</a></span>&#160;<a class="code" href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">deletePeerReservation</a>(soci::session&amp; session, <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp; nodeId)</div> <div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd"> 217</a></span>&#160;<a class="code" href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">deletePeerReservation</a>(soci::session&amp; session, <a class="code" href="classripple_1_1PublicKey.html">PublicKey</a> <span class="keyword">const</span>&amp; nodeId)</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;{</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;{</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;DELETE FROM PeerReservations WHERE PublicKey = :nodeId&quot;</span>,</div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keyword">auto</span> <span class="keyword">const</span> sNodeId = <a class="code" href="namespaceripple.html#a08a13b62b18272366f788632359e8793">toBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6">TokenType::NodePublic</a>, nodeId);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; soci::use(<a class="code" href="namespaceripple.html#a08a13b62b18272366f788632359e8793">toBase58</a>(<a class="code" href="namespaceripple.html#a1bf8df553d36589191c8057c136cce03ac3fe5edb1f8a81a8e585f6a27c120be6">TokenType::NodePublic</a>, nodeId));</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;DELETE FROM PeerReservations WHERE PublicKey = :nodeId&quot;</span>,</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;}</div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; soci::use(sNodeId);</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; </div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;}</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;<span class="keywordtype">bool</span></div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="namespaceripple.html#a5d759654f3c40954985245643f7003ec"> 224</a></span>&#160;<a class="code" href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">createFeatureVotes</a>(soci::session&amp; session)</div> <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;<span class="keywordtype">bool</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;{</div> <div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="namespaceripple.html#a5d759654f3c40954985245643f7003ec"> 225</a></span>&#160;<a class="code" href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">createFeatureVotes</a>(soci::session&amp; session)</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; soci::transaction tr(session);</div> <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;{</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div> <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; soci::transaction tr(session);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="stringliteral">&quot;SELECT count(*) FROM sqlite_master &quot;</span></div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="stringliteral">&quot;WHERE type=&#39;table&#39; AND name=&#39;FeatureVotes&#39;&quot;</span>;</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; <span class="stringliteral">&quot;SELECT count(*) FROM sqlite_master &quot;</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="comment">// SOCI requires boost::optional (not std::optional) as the parameter.</span></div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; <span class="stringliteral">&quot;WHERE type=&#39;table&#39; AND name=&#39;FeatureVotes&#39;&quot;</span>;</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; boost::optional&lt;int&gt; featureVotesCount;</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="comment">// SOCI requires boost::optional (not std::optional) as the parameter.</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; session &lt;&lt; sql, soci::into(featureVotesCount);</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; boost::optional&lt;int&gt; featureVotesCount;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <span class="keywordtype">bool</span> exists = <span class="keyword">static_cast&lt;</span><span class="keywordtype">bool</span><span class="keyword">&gt;</span>(*featureVotesCount);</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; session &lt;&lt; sql, soci::into(featureVotesCount);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; </div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="keywordtype">bool</span> exists = <span class="keyword">static_cast&lt;</span><span class="keywordtype">bool</span><span class="keyword">&gt;</span>(*featureVotesCount);</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="comment">// Create FeatureVotes table in WalletDB if it doesn&#39;t exist</span></div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="keywordflow">if</span> (!exists)</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; <span class="comment">// Create FeatureVotes table in WalletDB if it doesn&#39;t exist</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; {</div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keywordflow">if</span> (!exists)</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;CREATE TABLE FeatureVotes ( &quot;</span></div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; {</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <span class="stringliteral">&quot;AmendmentHash CHARACTER(64) NOT NULL, &quot;</span></div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; session &lt;&lt; <span class="stringliteral">&quot;CREATE TABLE FeatureVotes ( &quot;</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="stringliteral">&quot;AmendmentName TEXT, &quot;</span></div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="stringliteral">&quot;AmendmentHash CHARACTER(64) NOT NULL, &quot;</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="stringliteral">&quot;Veto INTEGER NOT NULL );&quot;</span>;</div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="stringliteral">&quot;AmendmentName TEXT, &quot;</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; tr.commit();</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="stringliteral">&quot;Veto INTEGER NOT NULL );&quot;</span>;</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; }</div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; tr.commit();</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">return</span> exists;</div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; }</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;}</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <span class="keywordflow">return</span> exists;</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; </div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;}</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="keywordtype">void</span></div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3"> 248</a></span>&#160;<a class="code" href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">readAmendments</a>(</div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; soci::session&amp; session,</div> <div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3"> 249</a></span>&#160;<a class="code" href="namespaceripple.html#a740f27a016e79e42b15532d24eeb54d3">readAmendments</a>(</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(</div> <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; soci::session&amp; session,</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; boost::optional&lt;std::string&gt; amendment_hash,</div> <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; boost::optional&lt;std::string&gt; amendment_name,</div> <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; boost::optional&lt;std::string&gt; amendment_hash,</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; boost::optional&lt;AmendmentVote&gt; vote)&gt; <span class="keyword">const</span>&amp; callback)</div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; boost::optional&lt;std::string&gt; amendment_name,</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;{</div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; boost::optional&lt;AmendmentVote&gt; vote)&gt; <span class="keyword">const</span>&amp; callback)</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="comment">// lambda that converts the internally stored int to an AmendmentVote.</span></div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160;{</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="keyword">auto</span> intToVote = [](boost::optional&lt;int&gt; <span class="keyword">const</span>&amp; dbVote)</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; <span class="comment">// lambda that converts the internally stored int to an AmendmentVote.</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; -&gt; boost::optional&lt;AmendmentVote&gt; {</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keyword">auto</span> intToVote = [](boost::optional&lt;int&gt; <span class="keyword">const</span>&amp; dbVote)</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; <span class="keywordflow">return</span> safe_cast&lt;AmendmentVote&gt;(dbVote.value_or(1));</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; -&gt; boost::optional&lt;AmendmentVote&gt; {</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; };</div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keywordflow">return</span> safe_cast&lt;AmendmentVote&gt;(dbVote.value_or(1));</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; </div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; };</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; soci::transaction tr(session);</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; soci::transaction tr(session);</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="stringliteral">&quot;SELECT AmendmentHash, AmendmentName, Veto FROM &quot;</span></div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="stringliteral">&quot;( SELECT AmendmentHash, AmendmentName, Veto, RANK() OVER &quot;</span></div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <span class="stringliteral">&quot;SELECT AmendmentHash, AmendmentName, Veto FROM &quot;</span></div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="stringliteral">&quot;( PARTITION BY AmendmentHash ORDER BY ROWID DESC ) &quot;</span></div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; <span class="stringliteral">&quot;( SELECT AmendmentHash, AmendmentName, Veto, RANK() OVER &quot;</span></div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="stringliteral">&quot;as rnk FROM FeatureVotes ) WHERE rnk = 1&quot;</span>;</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; <span class="stringliteral">&quot;( PARTITION BY AmendmentHash ORDER BY ROWID DESC ) &quot;</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="comment">// SOCI requires boost::optional (not std::optional) as parameters.</span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <span class="stringliteral">&quot;as rnk FROM FeatureVotes ) WHERE rnk = 1&quot;</span>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; boost::optional&lt;std::string&gt; amendment_hash;</div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; <span class="comment">// SOCI requires boost::optional (not std::optional) as parameters.</span></div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; boost::optional&lt;std::string&gt; amendment_name;</div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; boost::optional&lt;std::string&gt; amendment_hash;</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; boost::optional&lt;int&gt; vote_to_veto;</div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; boost::optional&lt;std::string&gt; amendment_name;</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; soci::statement st =</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; boost::optional&lt;int&gt; vote_to_veto;</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; (session.prepare &lt;&lt; sql,</div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; soci::statement st =</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; soci::into(amendment_hash),</div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; (session.prepare &lt;&lt; sql,</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; soci::into(amendment_name),</div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; soci::into(amendment_hash),</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; soci::into(vote_to_veto));</div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; soci::into(amendment_name),</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; st.execute();</div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; soci::into(vote_to_veto));</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; <span class="keywordflow">while</span> (st.fetch())</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; st.execute();</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; {</div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; <span class="keywordflow">while</span> (st.fetch())</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; callback(amendment_hash, amendment_name, intToVote(vote_to_veto));</div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; {</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; }</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; callback(amendment_hash, amendment_name, intToVote(vote_to_veto));</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160;}</div> <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; }</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; </div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160;}</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="keywordtype">void</span></div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37"> 284</a></span>&#160;<a class="code" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">voteAmendment</a>(</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; soci::session&amp; session,</div> <div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37"> 285</a></span>&#160;<a class="code" href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">voteAmendment</a>(</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; amendment,</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; soci::session&amp; session,</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; name,</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; amendment,</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <a class="code" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> vote)</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; name,</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;{</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <a class="code" href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689">AmendmentVote</a> vote)</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; soci::transaction tr(session);</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;{</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; soci::transaction tr(session);</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <span class="stringliteral">&quot;INSERT INTO FeatureVotes (AmendmentHash, AmendmentName, Veto) VALUES &quot;</span></div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> sql =</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="stringliteral">&quot;(&#39;&quot;</span>;</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="stringliteral">&quot;INSERT INTO FeatureVotes (AmendmentHash, AmendmentName, Veto) VALUES &quot;</span></div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; sql += <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(amendment);</div> <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="stringliteral">&quot;(&#39;&quot;</span>;</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; sql += <span class="stringliteral">&quot;&#39;, &#39;&quot;</span> + name;</div> <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; sql += <a class="code" href="namespaceripple.html#af9776f187d3686a7fba4c2d2fbeebdf4">to_string</a>(amendment);</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; sql += <span class="stringliteral">&quot;&#39;, &#39;&quot;</span> + <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a>(safe_cast&lt;int&gt;(vote)) + <span class="stringliteral">&quot;&#39;);&quot;</span>;</div> <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; sql += <span class="stringliteral">&quot;&#39;, &#39;&quot;</span> + name;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; session &lt;&lt; sql;</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; sql += <span class="stringliteral">&quot;&#39;, &#39;&quot;</span> + <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a>(safe_cast&lt;int&gt;(vote)) + <span class="stringliteral">&quot;&#39;);&quot;</span>;</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; tr.commit();</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160; session &lt;&lt; sql;</div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;}</div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; tr.commit();</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; </div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;}</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;} <span class="comment">// namespace ripple</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;} <span class="comment">// namespace ripple</span></div>
</div><!-- fragment --></div><!-- contents --> </div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_html_af68738fadb1f5ce44fb53c4b06436ac1"><div class="ttname"><a href="namespaceripple.html#af68738fadb1f5ce44fb53c4b06436ac1">ripple::WalletDBName</a></div><div class="ttdeci">constexpr auto WalletDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00217">DBInit.h:217</a></div></div> <div class="ttc" id="anamespaceripple_html_af68738fadb1f5ce44fb53c4b06436ac1"><div class="ttname"><a href="namespaceripple.html#af68738fadb1f5ce44fb53c4b06436ac1">ripple::WalletDBName</a></div><div class="ttdeci">constexpr auto WalletDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00217">DBInit.h:217</a></div></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
@@ -377,7 +378,7 @@ $(function() {
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div><div class="ttdoc">STL class.</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="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="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</a></div></div> <div class="ttc" id="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</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 &amp;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#l00224">Wallet.cpp:224</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 &amp;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#l00225">Wallet.cpp:225</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 &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00104">AccountID.cpp:104</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 &amp;v)</div><div class="ttdoc">Convert AccountID to base58 checked string.</div><div class="ttdef"><b>Definition:</b> <a href="AccountID_8cpp_source.html#l00104">AccountID.cpp:104</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#l00326">Journal.h:326</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#l00326">Journal.h:326</a></div></div>
<div class="ttc" id="anamespaceripple_html_a53836f0b1a1019c51a41955b523d8b45"><div class="ttname"><a href="namespaceripple.html#a53836f0b1a1019c51a41955b523d8b45">ripple::addValidatorManifest</a></div><div class="ttdeci">void addValidatorManifest(soci::session &amp;session, std::string const &amp;serialized)</div><div class="ttdoc">addValidatorManifest Saves the manifest of a validator to the database.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00115">Wallet.cpp:115</a></div></div> <div class="ttc" id="anamespaceripple_html_a53836f0b1a1019c51a41955b523d8b45"><div class="ttname"><a href="namespaceripple.html#a53836f0b1a1019c51a41955b523d8b45">ripple::addValidatorManifest</a></div><div class="ttdeci">void addValidatorManifest(soci::session &amp;session, std::string const &amp;serialized)</div><div class="ttdoc">addValidatorManifest Saves the manifest of a validator to the database.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00115">Wallet.cpp:115</a></div></div>
@@ -389,7 +390,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_ae4478d625c3ba008aed0712de8900573"><div class="ttname"><a href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">ripple::getManifests</a></div><div class="ttdeci">void getManifests(soci::session &amp;session, std::string const &amp;dbTable, ManifestCache &amp;mCache, beast::Journal j)</div><div class="ttdoc">getManifests Loads a manifest from the wallet database and stores it in the cache.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00042">Wallet.cpp:42</a></div></div> <div class="ttc" id="anamespaceripple_html_ae4478d625c3ba008aed0712de8900573"><div class="ttname"><a href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">ripple::getManifests</a></div><div class="ttdeci">void getManifests(soci::session &amp;session, std::string const &amp;dbTable, ManifestCache &amp;mCache, beast::Journal j)</div><div class="ttdoc">getManifests Loads a manifest from the wallet database and stores it in the cache.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00042">Wallet.cpp:42</a></div></div>
<div class="ttc" id="anamespaceripple_html_a503791d27b38d9bdb823b58781ef168b"><div class="ttname"><a href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">ripple::insertPeerReservation</a></div><div class="ttdeci">void insertPeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId, std::string const &amp;description)</div><div class="ttdoc">insertPeerReservation Adds an entry to the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00203">Wallet.cpp:203</a></div></div> <div class="ttc" id="anamespaceripple_html_a503791d27b38d9bdb823b58781ef168b"><div class="ttname"><a href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">ripple::insertPeerReservation</a></div><div class="ttdeci">void insertPeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId, std::string const &amp;description)</div><div class="ttdoc">insertPeerReservation Adds an entry to the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00203">Wallet.cpp:203</a></div></div>
<div class="ttc" id="anamespaceripple_html_aedd3768c43d1cf1afc89ed6f0f0a53cd"><div class="ttname"><a href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">ripple::deletePeerReservation</a></div><div class="ttdeci">void deletePeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId)</div><div class="ttdoc">deletePeerReservation Deletes an entry from the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00217">Wallet.cpp:217</a></div></div> <div class="ttc" id="anamespaceripple_html_aedd3768c43d1cf1afc89ed6f0f0a53cd"><div class="ttname"><a href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">ripple::deletePeerReservation</a></div><div class="ttdeci">void deletePeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId)</div><div class="ttdoc">deletePeerReservation Deletes an entry from the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00217">Wallet.cpp:217</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00248">Wallet.cpp:248</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00249">Wallet.cpp:249</a></div></div>
<div class="ttc" id="ato_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a></div><div class="ttdeci">T to_string(T... args)</div></div> <div class="ttc" id="ato_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a></div><div class="ttdeci">T to_string(T... args)</div></div>
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="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#l00320">Journal.h:320</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#l00320">Journal.h:320</a></div></div>
@@ -401,7 +402,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1ManifestCache_html"><div class="ttname"><a href="classripple_1_1ManifestCache.html">ripple::ManifestCache</a></div><div class="ttdoc">Remembers manifests with the highest sequence number.</div><div class="ttdef"><b>Definition:</b> <a href="Manifest_8h_source.html#l00231">Manifest.h:231</a></div></div> <div class="ttc" id="aclassripple_1_1ManifestCache_html"><div class="ttname"><a href="classripple_1_1ManifestCache.html">ripple::ManifestCache</a></div><div class="ttdoc">Remembers manifests with the highest sequence number.</div><div class="ttdef"><b>Definition:</b> <a href="Manifest_8h_source.html#l00231">Manifest.h:231</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div> <div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="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="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="anamespaceripple_html_af4775b9f1e9a5a194f086f657c9faa37"><div class="ttname"><a href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">ripple::voteAmendment</a></div><div class="ttdeci">void voteAmendment(soci::session &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00284">Wallet.cpp:284</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 &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00285">Wallet.cpp:285</a></div></div>
<div class="ttc" id="anamespaceripple_html_a52d17fa82fb263f290c0c4a0f9e5b484"><div class="ttname"><a href="namespaceripple.html#a52d17fa82fb263f290c0c4a0f9e5b484">ripple::makeWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeWalletDB(DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeWalletDB Opens the wallet database and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00026">Wallet.cpp:26</a></div></div> <div class="ttc" id="anamespaceripple_html_a52d17fa82fb263f290c0c4a0f9e5b484"><div class="ttname"><a href="namespaceripple.html#a52d17fa82fb263f290c0c4a0f9e5b484">ripple::makeWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeWalletDB(DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeWalletDB Opens the wallet database and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00026">Wallet.cpp:26</a></div></div>
<div class="ttc" id="anamespaceripple_html_aef409acedc98fb36174d50a9eb3c5e6f"><div class="ttname"><a href="namespaceripple.html#aef409acedc98fb36174d50a9eb3c5e6f">ripple::saveManifest</a></div><div class="ttdeci">static void saveManifest(soci::session &amp;session, std::string const &amp;dbTable, std::string const &amp;serialized)</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00075">Wallet.cpp:75</a></div></div> <div class="ttc" id="anamespaceripple_html_aef409acedc98fb36174d50a9eb3c5e6f"><div class="ttname"><a href="namespaceripple.html#aef409acedc98fb36174d50a9eb3c5e6f">ripple::saveManifest</a></div><div class="ttdeci">static void saveManifest(soci::session &amp;session, std::string const &amp;dbTable, std::string const &amp;serialized)</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00075">Wallet.cpp:75</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#l00147">Wallet.h:147</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#l00147">Wallet.h:147</a></div></div>

View File

@@ -173,7 +173,7 @@ $(function() {
<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_a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8"><div class="ttname"><a href="namespaceripple.html#a1dcb4cf27e683bd94d11f5322836c689a28a39c5d0e09f2b9f423c9864ecf1db8">ripple::AmendmentVote::obsolete</a></div><div class="ttdeci">@ obsolete</div></div>
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div><div class="ttdoc">STL class.</div></div> <div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div><div class="ttdoc">STL class.</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="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="anamespaceripple_html_a5d759654f3c40954985245643f7003ec"><div class="ttname"><a href="namespaceripple.html#a5d759654f3c40954985245643f7003ec">ripple::createFeatureVotes</a></div><div class="ttdeci">bool createFeatureVotes(soci::session &amp;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#l00224">Wallet.cpp:224</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 &amp;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#l00225">Wallet.cpp:225</a></div></div>
<div class="ttc" id="anamespaceripple_html_a53836f0b1a1019c51a41955b523d8b45"><div class="ttname"><a href="namespaceripple.html#a53836f0b1a1019c51a41955b523d8b45">ripple::addValidatorManifest</a></div><div class="ttdeci">void addValidatorManifest(soci::session &amp;session, std::string const &amp;serialized)</div><div class="ttdoc">addValidatorManifest Saves the manifest of a validator to the database.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00115">Wallet.cpp:115</a></div></div> <div class="ttc" id="anamespaceripple_html_a53836f0b1a1019c51a41955b523d8b45"><div class="ttname"><a href="namespaceripple.html#a53836f0b1a1019c51a41955b523d8b45">ripple::addValidatorManifest</a></div><div class="ttdeci">void addValidatorManifest(soci::session &amp;session, std::string const &amp;serialized)</div><div class="ttdoc">addValidatorManifest Saves the manifest of a validator to the database.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00115">Wallet.cpp:115</a></div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div> <div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="anamespaceripple_html_a749483c19248acfb0e4679a9560faaa2"><div class="ttname"><a href="namespaceripple.html#a749483c19248acfb0e4679a9560faaa2">ripple::makeTestWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeTestWalletDB(DatabaseCon::Setup const &amp;setup, std::string const &amp;dbname)</div><div class="ttdoc">makeTestWalletDB Opens a test wallet database with an arbitrary name.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00034">Wallet.cpp:34</a></div></div> <div class="ttc" id="anamespaceripple_html_a749483c19248acfb0e4679a9560faaa2"><div class="ttname"><a href="namespaceripple.html#a749483c19248acfb0e4679a9560faaa2">ripple::makeTestWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeTestWalletDB(DatabaseCon::Setup const &amp;setup, std::string const &amp;dbname)</div><div class="ttdoc">makeTestWalletDB Opens a test wallet database with an arbitrary name.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00034">Wallet.cpp:34</a></div></div>
@@ -182,11 +182,11 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_ae4478d625c3ba008aed0712de8900573"><div class="ttname"><a href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">ripple::getManifests</a></div><div class="ttdeci">void getManifests(soci::session &amp;session, std::string const &amp;dbTable, ManifestCache &amp;mCache, beast::Journal j)</div><div class="ttdoc">getManifests Loads a manifest from the wallet database and stores it in the cache.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00042">Wallet.cpp:42</a></div></div> <div class="ttc" id="anamespaceripple_html_ae4478d625c3ba008aed0712de8900573"><div class="ttname"><a href="namespaceripple.html#ae4478d625c3ba008aed0712de8900573">ripple::getManifests</a></div><div class="ttdeci">void getManifests(soci::session &amp;session, std::string const &amp;dbTable, ManifestCache &amp;mCache, beast::Journal j)</div><div class="ttdoc">getManifests Loads a manifest from the wallet database and stores it in the cache.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00042">Wallet.cpp:42</a></div></div>
<div class="ttc" id="anamespaceripple_html_a503791d27b38d9bdb823b58781ef168b"><div class="ttname"><a href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">ripple::insertPeerReservation</a></div><div class="ttdeci">void insertPeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId, std::string const &amp;description)</div><div class="ttdoc">insertPeerReservation Adds an entry to the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00203">Wallet.cpp:203</a></div></div> <div class="ttc" id="anamespaceripple_html_a503791d27b38d9bdb823b58781ef168b"><div class="ttname"><a href="namespaceripple.html#a503791d27b38d9bdb823b58781ef168b">ripple::insertPeerReservation</a></div><div class="ttdeci">void insertPeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId, std::string const &amp;description)</div><div class="ttdoc">insertPeerReservation Adds an entry to the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00203">Wallet.cpp:203</a></div></div>
<div class="ttc" id="anamespaceripple_html_aedd3768c43d1cf1afc89ed6f0f0a53cd"><div class="ttname"><a href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">ripple::deletePeerReservation</a></div><div class="ttdeci">void deletePeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId)</div><div class="ttdoc">deletePeerReservation Deletes an entry from the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00217">Wallet.cpp:217</a></div></div> <div class="ttc" id="anamespaceripple_html_aedd3768c43d1cf1afc89ed6f0f0a53cd"><div class="ttname"><a href="namespaceripple.html#aedd3768c43d1cf1afc89ed6f0f0a53cd">ripple::deletePeerReservation</a></div><div class="ttdeci">void deletePeerReservation(soci::session &amp;session, PublicKey const &amp;nodeId)</div><div class="ttdoc">deletePeerReservation Deletes an entry from the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00217">Wallet.cpp:217</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00248">Wallet.cpp:248</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 &amp;session, std::function&lt; void(boost::optional&lt; std::string &gt; amendment_hash, boost::optional&lt; std::string &gt; amendment_name, boost::optional&lt; AmendmentVote &gt; vote)&gt; const &amp;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#l00249">Wallet.cpp:249</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#l00058">Journal.h:58</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#l00058">Journal.h:58</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4c800deaf4eb22f32ba22868f7bedc0a"><div class="ttname"><a href="namespaceripple.html#a4c800deaf4eb22f32ba22868f7bedc0a">ripple::getPeerReservationTable</a></div><div class="ttdeci">std::unordered_set&lt; PeerReservation, beast::uhash&lt;&gt;, KeyEqual &gt; getPeerReservationTable(soci::session &amp;session, beast::Journal j)</div><div class="ttdoc">getPeerReservationTable Returns the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00166">Wallet.cpp:166</a></div></div> <div class="ttc" id="anamespaceripple_html_a4c800deaf4eb22f32ba22868f7bedc0a"><div class="ttname"><a href="namespaceripple.html#a4c800deaf4eb22f32ba22868f7bedc0a">ripple::getPeerReservationTable</a></div><div class="ttdeci">std::unordered_set&lt; PeerReservation, beast::uhash&lt;&gt;, KeyEqual &gt; getPeerReservationTable(soci::session &amp;session, beast::Journal j)</div><div class="ttdoc">getPeerReservationTable Returns the peer reservation table.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00166">Wallet.cpp:166</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div> <div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_html_af4775b9f1e9a5a194f086f657c9faa37"><div class="ttname"><a href="namespaceripple.html#af4775b9f1e9a5a194f086f657c9faa37">ripple::voteAmendment</a></div><div class="ttdeci">void voteAmendment(soci::session &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00284">Wallet.cpp:284</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 &amp;session, uint256 const &amp;amendment, std::string const &amp;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#l00285">Wallet.cpp:285</a></div></div>
<div class="ttc" id="anamespaceripple_html_a52d17fa82fb263f290c0c4a0f9e5b484"><div class="ttname"><a href="namespaceripple.html#a52d17fa82fb263f290c0c4a0f9e5b484">ripple::makeWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeWalletDB(DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeWalletDB Opens the wallet database and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00026">Wallet.cpp:26</a></div></div> <div class="ttc" id="anamespaceripple_html_a52d17fa82fb263f290c0c4a0f9e5b484"><div class="ttname"><a href="namespaceripple.html#a52d17fa82fb263f290c0c4a0f9e5b484">ripple::makeWalletDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeWalletDB(DatabaseCon::Setup const &amp;setup)</div><div class="ttdoc">makeWalletDB Opens the wallet database and returns it.</div><div class="ttdef"><b>Definition:</b> <a href="Wallet_8cpp_source.html#l00026">Wallet.cpp:26</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#l00147">Wallet.h:147</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#l00147">Wallet.h:147</a></div></div>
<div class="ttc" id="anamespaceripple_html_a57d87494c31ef261ae37438efe29bcbb"><div class="ttname"><a href="namespaceripple.html#a57d87494c31ef261ae37438efe29bcbb">ripple::getNodeIdentity</a></div><div class="ttdeci">std::pair&lt; PublicKey, SecretKey &gt; getNodeIdentity(Application &amp;app, boost::program_options::variables_map const &amp;cmdline)</div><div class="ttdoc">The cryptographic credentials identifying this server instance.</div><div class="ttdef"><b>Definition:</b> <a href="NodeIdentity_8cpp_source.html#l00030">NodeIdentity.cpp:30</a></div></div> <div class="ttc" id="anamespaceripple_html_a57d87494c31ef261ae37438efe29bcbb"><div class="ttname"><a href="namespaceripple.html#a57d87494c31ef261ae37438efe29bcbb">ripple::getNodeIdentity</a></div><div class="ttdeci">std::pair&lt; PublicKey, SecretKey &gt; getNodeIdentity(Application &amp;app, boost::program_options::variables_map const &amp;cmdline)</div><div class="ttdoc">The cryptographic credentials identifying this server instance.</div><div class="ttdef"><b>Definition:</b> <a href="NodeIdentity_8cpp_source.html#l00030">NodeIdentity.cpp:30</a></div></div>

View File

@@ -17020,7 +17020,7 @@ template&lt;class TDerived &gt; </div>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Unique pointer to the opened database. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Unique pointer to the opened database. </dd></dl>
<p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00208">208</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00210">210</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17059,7 +17059,7 @@ template&lt;class TDerived &gt; </div>
</dd> </dd>
</dl> </dl>
<p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00221">221</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00223">223</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17099,7 +17099,7 @@ template&lt;class TDerived &gt; </div>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Pair which contains true if such an index was found in the database, and a string which contains the set of ledger sequences. If no sequences were saved then the optional will have no value. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Pair which contains true if such an index was found in the database, and a string which contains the set of ledger sequences. If no sequences were saved then the optional will have no value. </dd></dl>
<p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00229">229</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00231">231</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17139,7 +17139,7 @@ template&lt;class TDerived &gt; </div>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>Pair which contains true if such an index was found in the database and the <a class="el" href="structripple_1_1AcquireShardSeqsHash.html">AcquireShardSeqsHash</a> structure which contains a string with the ledger sequences and a string with last ledger hash. If the set of sequences or hash were not saved then no value is returned. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>Pair which contains true if such an index was found in the database and the <a class="el" href="structripple_1_1AcquireShardSeqsHash.html">AcquireShardSeqsHash</a> structure which contains a string with the ledger sequences and a string with last ledger hash. If the set of sequences or hash were not saved then no value is returned. </dd></dl>
<p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00256">256</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00258">258</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17199,7 +17199,7 @@ template&lt;class TDerived &gt; </div>
</dd> </dd>
</dl> </dl>
<p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00287">287</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="UnitaryShard_8cpp_source.html#l00289">289</a> of file <a class="el" href="UnitaryShard_8cpp_source.html">UnitaryShard.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17699,7 +17699,7 @@ template&lt;class TDerived &gt; </div>
</dl> </dl>
<dl class="section return"><dt>Returns</dt><dd>true if the table already exists </dd></dl> <dl class="section return"><dt>Returns</dt><dd>true if the table already exists </dd></dl>
<p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00224">224</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00225">225</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17738,7 +17738,7 @@ template&lt;class TDerived &gt; </div>
</dd> </dd>
</dl> </dl>
<p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00248">248</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00249">249</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p>
</div> </div>
</div> </div>
@@ -17791,7 +17791,7 @@ template&lt;class TDerived &gt; </div>
</dd> </dd>
</dl> </dl>
<p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00284">284</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p> <p class="definition">Definition at line <a class="el" href="Wallet_8cpp_source.html#l00285">285</a> of file <a class="el" href="Wallet_8cpp_source.html">Wallet.cpp</a>.</p>
</div> </div>
</div> </div>

View File

@@ -1350,7 +1350,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3ac9d2b0df1bd24ef0d09db1040dceac6b"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3ac9d2b0df1bd24ef0d09db1040dceac6b">ripple::hotUNKNOWN</a></div><div class="ttdeci">@ hotUNKNOWN</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00033">NodeObject.h:33</a></div></div> <div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3ac9d2b0df1bd24ef0d09db1040dceac6b"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3ac9d2b0df1bd24ef0d09db1040dceac6b">ripple::hotUNKNOWN</a></div><div class="ttdeci">@ hotUNKNOWN</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00033">NodeObject.h:33</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c">ripple::HashPrefix::ledgerMaster</a></div><div class="ttdeci">@ ledgerMaster</div><div class="ttdoc">ledger master data for signing</div></div> <div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bda7fa2267e9b1bf739a70bb1860ab2a99c">ripple::HashPrefix::ledgerMaster</a></div><div class="ttdeci">@ ledgerMaster</div><div class="ttdoc">ledger master data for signing</div></div>
<div class="ttc" id="aclassripple_1_1Family_html_a794019ebd9859fb37a7a65b80e8d6df7"><div class="ttname"><a href="classripple_1_1Family.html#a794019ebd9859fb37a7a65b80e8d6df7">ripple::Family::getTreeNodeCache</a></div><div class="ttdeci">virtual std::shared_ptr&lt; TreeNodeCache &gt; getTreeNodeCache(std::uint32_t ledgerSeq)=0</div><div class="ttdoc">Return a pointer to the Family Tree Node Cache.</div></div> <div class="ttc" id="aclassripple_1_1Family_html_a794019ebd9859fb37a7a65b80e8d6df7"><div class="ttname"><a href="classripple_1_1Family.html#a794019ebd9859fb37a7a65b80e8d6df7">ripple::Family::getTreeNodeCache</a></div><div class="ttdeci">virtual std::shared_ptr&lt; TreeNodeCache &gt; getTreeNodeCache(std::uint32_t ledgerSeq)=0</div><div class="ttdoc">Return a pointer to the Family Tree Node Cache.</div></div>
<div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00208">UnitaryShard.cpp:208</a></div></div> <div class="ttc" id="anamespaceripple_html_af2ba549aa6ef230d23f39a19ba2178b1"><div class="ttname"><a href="namespaceripple.html#af2ba549aa6ef230d23f39a19ba2178b1">ripple::makeAcquireDB</a></div><div class="ttdeci">std::unique_ptr&lt; DatabaseCon &gt; makeAcquireDB(DatabaseCon::Setup const &amp;setup, DatabaseCon::CheckpointerSetup const &amp;checkpointerSetup)</div><div class="ttdoc">makeAcquireDB Opens the shard acquire database and returns its descriptor.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00210">UnitaryShard.cpp:210</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a7a81da4fd7339d8fc8fab74a1374108b"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a7a81da4fd7339d8fc8fab74a1374108b">ripple::NodeStore::Shard::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00301">nodestore/impl/Shard.h:301</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a7a81da4fd7339d8fc8fab74a1374108b"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a7a81da4fd7339d8fc8fab74a1374108b">ripple::NodeStore::Shard::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00301">nodestore/impl/Shard.h:301</a></div></div>
<div class="ttc" id="anamespaceripple_html_aabe37451093c21757855542d68fba3ce"><div class="ttname"><a href="namespaceripple.html#aabe37451093c21757855542d68fba3ce">ripple::makeSlice</a></div><div class="ttdeci">std::enable_if_t&lt; std::is_same&lt; T, char &gt;::value||std::is_same&lt; T, unsigned char &gt;::value, Slice &gt; makeSlice(std::array&lt; T, N &gt; const &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00241">Slice.h:241</a></div></div> <div class="ttc" id="anamespaceripple_html_aabe37451093c21757855542d68fba3ce"><div class="ttname"><a href="namespaceripple.html#aabe37451093c21757855542d68fba3ce">ripple::makeSlice</a></div><div class="ttdeci">std::enable_if_t&lt; std::is_same&lt; T, char &gt;::value||std::is_same&lt; T, unsigned char &gt;::value, Slice &gt; makeSlice(std::array&lt; T, N &gt; const &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="Slice_8h_source.html#l00241">Slice.h:241</a></div></div>
<div class="ttc" id="anamespaceripple_html_a63a883cebf81b764433e67d90d4470d9ad9a22d7a8178d5b42a8750123cbfe5b1"><div class="ttname"><a href="namespaceripple.html#a63a883cebf81b764433e67d90d4470d9ad9a22d7a8178d5b42a8750123cbfe5b1">ripple::ShardState::complete</a></div><div class="ttdeci">@ complete</div></div> <div class="ttc" id="anamespaceripple_html_a63a883cebf81b764433e67d90d4470d9ad9a22d7a8178d5b42a8750123cbfe5b1"><div class="ttname"><a href="namespaceripple.html#a63a883cebf81b764433e67d90d4470d9ad9a22d7a8178d5b42a8750123cbfe5b1">ripple::ShardState::complete</a></div><div class="ttdeci">@ complete</div></div>
@@ -1369,8 +1369,8 @@ $(function() {
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a28a512dbd8db5b551410343387a20c85"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a28a512dbd8db5b551410343387a20c85">ripple::NodeStore::Shard::open</a></div><div class="ttdeci">bool open(std::lock_guard&lt; std::mutex &gt; const &amp;lock) REQUIRES(mutex_)</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00832">nodestore/impl/Shard.cpp:832</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a28a512dbd8db5b551410343387a20c85"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a28a512dbd8db5b551410343387a20c85">ripple::NodeStore::Shard::open</a></div><div class="ttdeci">bool open(std::lock_guard&lt; std::mutex &gt; const &amp;lock) REQUIRES(mutex_)</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00832">nodestore/impl/Shard.cpp:832</a></div></div>
<div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">std::vector::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div> <div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">std::vector::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div>
<div class="ttc" id="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</a></div></div> <div class="ttc" id="anamespaceripple_html_a60e89f0668645858d48dfd3f67b1a639"><div class="ttname"><a href="namespaceripple.html#a60e89f0668645858d48dfd3f67b1a639">ripple::convert</a></div><div class="ttdeci">void convert(soci::blob &amp;from, std::vector&lt; std::uint8_t &gt; &amp;to)</div><div class="ttdef"><b>Definition:</b> <a href="SociDB_8cpp_source.html#l00154">SociDB.cpp:154</a></div></div>
<div class="ttc" id="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00256">UnitaryShard.cpp:256</a></div></div> <div class="ttc" id="anamespaceripple_html_a300cf0173f5bbe596e928a4689f0c3db"><div class="ttname"><a href="namespaceripple.html#a300cf0173f5bbe596e928a4689f0c3db">ripple::selectAcquireDBLedgerSeqsHash</a></div><div class="ttdeci">std::pair&lt; bool, AcquireShardSeqsHash &gt; selectAcquireDBLedgerSeqsHash(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqsHash Returns the set of acquired ledger sequences and the last ledger hash f...</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00258">UnitaryShard.cpp:258</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00221">UnitaryShard.cpp:221</a></div></div> <div class="ttc" id="anamespaceripple_html_ae80496e603d320c1d84a42d1d9279362"><div class="ttname"><a href="namespaceripple.html#ae80496e603d320c1d84a42d1d9279362">ripple::insertAcquireDBIndex</a></div><div class="ttdeci">void insertAcquireDBIndex(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">insertAcquireDBIndex Adds a new shard index to the shard acquire database.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00223">UnitaryShard.cpp:223</a></div></div>
<div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html_aa0a5722c0cae142b105e970a77594b6c"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html#aa0a5722c0cae142b105e970a77594b6c">ripple::DatabaseCon::Setup::startUp</a></div><div class="ttdeci">Config::StartUpType startUp</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00088">DatabaseCon.h:88</a></div></div> <div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html_aa0a5722c0cae142b105e970a77594b6c"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html#aa0a5722c0cae142b105e970a77594b6c">ripple::DatabaseCon::Setup::startUp</a></div><div class="ttdeci">Config::StartUpType startUp</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00088">DatabaseCon.h:88</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt; std::shared_ptr&lt; NodeObject &gt; &gt;</a></div></div> <div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt; std::shared_ptr&lt; NodeObject &gt; &gt;</a></div></div>
<div class="ttc" id="astructripple_1_1ConfigSection_html_abab87cd32670610e64b43124c381775c"><div class="ttname"><a href="structripple_1_1ConfigSection.html#abab87cd32670610e64b43124c381775c">ripple::ConfigSection::shardDatabase</a></div><div class="ttdeci">static std::string shardDatabase()</div><div class="ttdef"><b>Definition:</b> <a href="ConfigSections_8h_source.html#l00038">ConfigSections.h:38</a></div></div> <div class="ttc" id="astructripple_1_1ConfigSection_html_abab87cd32670610e64b43124c381775c"><div class="ttname"><a href="structripple_1_1ConfigSection.html#abab87cd32670610e64b43124c381775c">ripple::ConfigSection::shardDatabase</a></div><div class="ttdeci">static std::string shardDatabase()</div><div class="ttdef"><b>Definition:</b> <a href="ConfigSections_8h_source.html#l00038">ConfigSections.h:38</a></div></div>
@@ -1408,7 +1408,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">ripple::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2Types_8h_source.html#l00047">nodestore/Types.h:47</a></div></div> <div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">ripple::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2Types_8h_source.html#l00047">nodestore/Types.h:47</a></div></div>
<div class="ttc" id="anamespaceripple_html_aaeddb4a3396c616a7ef7350e4cc327f0"><div class="ttname"><a href="namespaceripple.html#aaeddb4a3396c616a7ef7350e4cc327f0">ripple::TxDBName</a></div><div class="ttdeci">constexpr auto TxDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00073">DBInit.h:73</a></div></div> <div class="ttc" id="anamespaceripple_html_aaeddb4a3396c616a7ef7350e4cc327f0"><div class="ttname"><a href="namespaceripple.html#aaeddb4a3396c616a7ef7350e4cc327f0">ripple::TxDBName</a></div><div class="ttdeci">constexpr auto TxDBName</div><div class="ttdef"><b>Definition:</b> <a href="DBInit_8h_source.html#l00073">DBInit.h:73</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div> <div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00287">UnitaryShard.cpp:287</a></div></div> <div class="ttc" id="anamespaceripple_html_ad44314a03a131640e29655b190aad168"><div class="ttname"><a href="namespaceripple.html#ad44314a03a131640e29655b190aad168">ripple::updateAcquireDB</a></div><div class="ttdeci">void updateAcquireDB(soci::session &amp;session, std::shared_ptr&lt; Ledger const &gt; const &amp;ledger, std::uint32_t index, std::uint32_t lastSeq, std::optional&lt; std::string &gt; const &amp;seqs)</div><div class="ttdoc">updateAcquireDB Updates information in the acquire DB.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00289">UnitaryShard.cpp:289</a></div></div>
<div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html_a4a438ff7956abf18f374cc738401cc44"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html#a4a438ff7956abf18f374cc738401cc44">ripple::DatabaseCon::Setup::useGlobalPragma</a></div><div class="ttdeci">bool useGlobalPragma</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00094">DatabaseCon.h:94</a></div></div> <div class="ttc" id="astructripple_1_1DatabaseCon_1_1Setup_html_a4a438ff7956abf18f374cc738401cc44"><div class="ttname"><a href="structripple_1_1DatabaseCon_1_1Setup.html#a4a438ff7956abf18f374cc738401cc44">ripple::DatabaseCon::Setup::useGlobalPragma</a></div><div class="ttdeci">bool useGlobalPragma</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseCon_8h_source.html#l00094">DatabaseCon.h:94</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_af0df50c2989635a8d973333f91219927"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#af0df50c2989635a8d973333f91219927">ripple::NodeStore::Shard::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00300">nodestore/impl/Shard.h:300</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_af0df50c2989635a8d973333f91219927"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#af0df50c2989635a8d973333f91219927">ripple::NodeStore::Shard::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00300">nodestore/impl/Shard.h:300</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_ae7ee07bc4c90cf99defa6cbe1ad8e5ce"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#ae7ee07bc4c90cf99defa6cbe1ad8e5ce">ripple::NodeStore::Shard::containsLedger</a></div><div class="ttdeci">bool containsLedger(std::uint32_t ledgerSeq) const</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00508">nodestore/impl/Shard.cpp:508</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_ae7ee07bc4c90cf99defa6cbe1ad8e5ce"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#ae7ee07bc4c90cf99defa6cbe1ad8e5ce">ripple::NodeStore::Shard::containsLedger</a></div><div class="ttdeci">bool containsLedger(std::uint32_t ledgerSeq) const</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00508">nodestore/impl/Shard.cpp:508</a></div></div>
@@ -1480,7 +1480,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3ae32ab8a0b50eee52b61ca3c8e5a56da1"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3ae32ab8a0b50eee52b61ca3c8e5a56da1">ripple::hotLEDGER</a></div><div class="ttdeci">@ hotLEDGER</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00034">NodeObject.h:34</a></div></div> <div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3ae32ab8a0b50eee52b61ca3c8e5a56da1"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3ae32ab8a0b50eee52b61ca3c8e5a56da1">ripple::hotLEDGER</a></div><div class="ttdeci">@ hotLEDGER</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00034">NodeObject.h:34</a></div></div>
<div class="ttc" id="aclassripple_1_1Serializer_html_a55ebab5e9bf8d8231da8f3c796150719"><div class="ttname"><a href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">ripple::Serializer::add32</a></div><div class="ttdeci">int add32(std::uint32_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00038">Serializer.cpp:38</a></div></div> <div class="ttc" id="aclassripple_1_1Serializer_html_a55ebab5e9bf8d8231da8f3c796150719"><div class="ttname"><a href="classripple_1_1Serializer.html#a55ebab5e9bf8d8231da8f3c796150719">ripple::Serializer::add32</a></div><div class="ttdeci">int add32(std::uint32_t i)</div><div class="ttdef"><b>Definition:</b> <a href="Serializer_8cpp_source.html#l00038">Serializer.cpp:38</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a5a3d52a9e4f1d7307555bba8af97929c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a5a3d52a9e4f1d7307555bba8af97929c">ripple::NodeStore::Shard::finalize</a></div><div class="ttdeci">bool finalize(bool writeSQLite, std::optional&lt; uint256 &gt; const &amp;referenceHash)</div><div class="ttdoc">Finalize shard by walking its ledgers, verifying each Merkle tree and creating a deterministic backen...</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00557">nodestore/impl/Shard.cpp:557</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_a5a3d52a9e4f1d7307555bba8af97929c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#a5a3d52a9e4f1d7307555bba8af97929c">ripple::NodeStore::Shard::finalize</a></div><div class="ttdeci">bool finalize(bool writeSQLite, std::optional&lt; uint256 &gt; const &amp;referenceHash)</div><div class="ttdoc">Finalize shard by walking its ledgers, verifying each Merkle tree and creating a deterministic backen...</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00557">nodestore/impl/Shard.cpp:557</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00229">UnitaryShard.cpp:229</a></div></div> <div class="ttc" id="anamespaceripple_html_ae10a9a71c9b7a05557edecd508ccfb94"><div class="ttname"><a href="namespaceripple.html#ae10a9a71c9b7a05557edecd508ccfb94">ripple::selectAcquireDBLedgerSeqs</a></div><div class="ttdeci">std::pair&lt; bool, std::optional&lt; std::string &gt; &gt; selectAcquireDBLedgerSeqs(soci::session &amp;session, std::uint32_t index)</div><div class="ttdoc">selectAcquireDBLedgerSeqs Returns the set of acquired ledgers for the given shard.</div><div class="ttdef"><b>Definition:</b> <a href="UnitaryShard_8cpp_source.html#l00231">UnitaryShard.cpp:231</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_a59f9bcb7e6049d1b4c557891992f6cab"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">ripple::NodeStore::Manager::instance</a></div><div class="ttdeci">static Manager &amp; instance()</div><div class="ttdoc">Returns the instance of the manager singleton.</div><div class="ttdef"><b>Definition:</b> <a href="ManagerImp_8cpp_source.html#l00120">ManagerImp.cpp:120</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_a59f9bcb7e6049d1b4c557891992f6cab"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">ripple::NodeStore::Manager::instance</a></div><div class="ttdeci">static Manager &amp; instance()</div><div class="ttdoc">Returns the instance of the manager singleton.</div><div class="ttdef"><b>Definition:</b> <a href="ManagerImp_8cpp_source.html#l00120">ManagerImp.cpp:120</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_aa4596a76525808de1ea6b6754ebf66ef"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#aa4596a76525808de1ea6b6754ebf66ef">ripple::NodeStore::Shard::setLedgerStored</a></div><div class="ttdeci">bool setLedgerStored(std::shared_ptr&lt; Ledger const &gt; const &amp;ledger)</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00417">nodestore/impl/Shard.cpp:417</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html_aa4596a76525808de1ea6b6754ebf66ef"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html#aa4596a76525808de1ea6b6754ebf66ef">ripple::NodeStore::Shard::setLedgerStored</a></div><div class="ttdeci">bool setLedgerStored(std::shared_ptr&lt; Ledger const &gt; const &amp;ledger)</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8cpp_source.html#l00417">nodestore/impl/Shard.cpp:417</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html">ripple::NodeStore::Shard</a></div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00055">nodestore/impl/Shard.h:55</a></div></div> <div class="ttc" id="aclassripple_1_1NodeStore_1_1Shard_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Shard.html">ripple::NodeStore::Shard</a></div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2impl_2Shard_8h_source.html#l00055">nodestore/impl/Shard.h:55</a></div></div>