Files
rippled/classripple_1_1SQLiteDatabaseImp.html
2022-08-26 20:04:15 +00:00

2881 lines
185 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::SQLiteDatabaseImp Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html">SQLiteDatabaseImp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1SQLiteDatabaseImp-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ripple::SQLiteDatabaseImp Class Reference<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::SQLiteDatabaseImp:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1SQLiteDatabaseImp__inherit__graph.png" border="0" usemap="#ripple_1_1SQLiteDatabaseImp_inherit__map" alt="Inheritance graph"/></div>
<map name="ripple_1_1SQLiteDatabaseImp_inherit__map" id="ripple_1_1SQLiteDatabaseImp_inherit__map">
<area shape="rect" title=" " alt="" coords="5,155,201,181"/>
<area shape="rect" href="classripple_1_1SQLiteDatabase.html" title=" " alt="" coords="18,80,189,107"/>
<area shape="rect" href="classripple_1_1RelationalDatabase.html" title=" " alt="" coords="6,5,201,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::SQLiteDatabaseImp:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1SQLiteDatabaseImp__coll__graph.png" border="0" usemap="#ripple_1_1SQLiteDatabaseImp_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1SQLiteDatabaseImp_coll__map" id="ripple_1_1SQLiteDatabaseImp_coll__map">
<area shape="rect" title=" " alt="" coords="1540,189,1736,215"/>
<area shape="rect" href="classripple_1_1SQLiteDatabase.html" title=" " alt="" coords="1241,30,1412,57"/>
<area shape="rect" href="classripple_1_1RelationalDatabase.html" title=" " alt="" coords="931,26,1125,53"/>
<area shape="rect" href="classripple_1_1Application.html" title=" " alt="" coords="1257,225,1397,251"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Source.html" title="Subclasses can be called to write to a stream and have children." alt="" coords="944,217,1112,259"/>
<area shape="rect" href="classbeast_1_1PropertyStream_1_1Item.html" title=" " alt="" coords="1243,155,1411,196"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="615,139,773,166"/>
<area shape="rect" href="classripple_1_1DatabaseCon.html" title=" " alt="" coords="951,77,1105,103"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="651,275,737,302"/>
<area shape="rect" href="classbeast_1_1List.html" title=" " alt="" coords="601,209,787,251"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="313,235,496,291"/>
<area shape="rect" href="classbeast_1_1detail_1_1ListNode.html" title=" " alt="" coords="25,243,193,284"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="361,185,449,211"/>
<area shape="rect" title=" " alt="" coords="955,127,1101,154"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1271,282,1382,309"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="955,286,1101,313"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1241,84,1412,125"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="609,5,779,47"/>
<area shape="rect" href="classripple_1_1Checkpointer.html" title=" " alt="" coords="328,13,481,39"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,5,212,47"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="614,71,774,112"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a251e55e3d5aa9b4e4d1a7eebe2157d46"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1TxMeta.html">TxMeta</a> &gt; &gt;</td></tr>
<tr class="separator:a251e55e3d5aa9b4e4d1a7eebe2157d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af9139d7f4c8f662c7b8e49473a21e2"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a> &gt;</td></tr>
<tr class="separator:a1af9139d7f4c8f662c7b8e49473a21e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad49d721f8f069c1ee9652b93a3485423"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#ad49d721f8f069c1ee9652b93a3485423">txnMetaLedgerType</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>&lt; <a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a>, <a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;</td></tr>
<tr class="separator:ad49d721f8f069c1ee9652b93a3485423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a183ed7f35d368ec4564d8083fe9656f3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#ad49d721f8f069c1ee9652b93a3485423">txnMetaLedgerType</a> &gt;</td></tr>
<tr class="separator:a183ed7f35d368ec4564d8083fe9656f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affdfbc3c5f0f2d7b78cc5570617a5fda"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#affdfbc3c5f0f2d7b78cc5570617a5fda">LedgerSequence</a> = uint32_t</td></tr>
<tr class="separator:affdfbc3c5f0f2d7b78cc5570617a5fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6ed6a653c43698a1480c0230b1e99aa"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#ae6ed6a653c43698a1480c0230b1e99aa">LedgerHash</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></td></tr>
<tr class="separator:ae6ed6a653c43698a1480c0230b1e99aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99c471461c2b0858d240f98034c6fda3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a99c471461c2b0858d240f98034c6fda3">LedgerShortcut</a> = <a class="el" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">RPC::LedgerShortcut</a></td></tr>
<tr class="separator:a99c471461c2b0858d240f98034c6fda3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6edb30f534bd5669ee659789aa22e86"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#ae6edb30f534bd5669ee659789aa22e86">LedgerSpecifier</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="el" href="structripple_1_1LedgerRange.html">LedgerRange</a>, <a class="el" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">LedgerShortcut</a>, <a class="el" href="classripple_1_1RelationalDatabase.html#affdfbc3c5f0f2d7b78cc5570617a5fda">LedgerSequence</a>, <a class="el" href="classripple_1_1RelationalDatabase.html#ae6ed6a653c43698a1480c0230b1e99aa">LedgerHash</a> &gt;</td></tr>
<tr class="separator:ae6edb30f534bd5669ee659789aa22e86"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb1ba4a2d92535ead2e457eee64b07bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#afb1ba4a2d92535ead2e457eee64b07bd">SQLiteDatabaseImp</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &amp;app, <a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config, <a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;jobQueue)</td></tr>
<tr class="separator:afb1ba4a2d92535ead2e457eee64b07bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8730d0f70b92408cf5be5e83715ffb07"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8730d0f70b92408cf5be5e83715ffb07">getMinLedgerSeq</a> () override</td></tr>
<tr class="memdesc:a8730d0f70b92408cf5be5e83715ffb07"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMinLedgerSeq Returns the minimum ledger sequence in the Ledgers table. <a href="classripple_1_1SQLiteDatabaseImp.html#a8730d0f70b92408cf5be5e83715ffb07">More...</a><br /></td></tr>
<tr class="separator:a8730d0f70b92408cf5be5e83715ffb07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae374cbf0f84d61f22c7002dc99972702"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae374cbf0f84d61f22c7002dc99972702">getTransactionsMinLedgerSeq</a> () override</td></tr>
<tr class="memdesc:ae374cbf0f84d61f22c7002dc99972702"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the Transactions table. <a href="classripple_1_1SQLiteDatabaseImp.html#ae374cbf0f84d61f22c7002dc99972702">More...</a><br /></td></tr>
<tr class="separator:ae374cbf0f84d61f22c7002dc99972702"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526e18b895cb05e3b11afcf873f753da"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a526e18b895cb05e3b11afcf873f753da">getAccountTransactionsMinLedgerSeq</a> () override</td></tr>
<tr class="memdesc:a526e18b895cb05e3b11afcf873f753da"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAccountTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the AccountTransactions table. <a href="classripple_1_1SQLiteDatabaseImp.html#a526e18b895cb05e3b11afcf873f753da">More...</a><br /></td></tr>
<tr class="separator:a526e18b895cb05e3b11afcf873f753da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2654ba0e88a9e8aaa0e6686d90edf4ca"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2654ba0e88a9e8aaa0e6686d90edf4ca">getMaxLedgerSeq</a> () override</td></tr>
<tr class="memdesc:a2654ba0e88a9e8aaa0e6686d90edf4ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMaxLedgerSeq Returns the maximum ledger sequence in the Ledgers table. <a href="classripple_1_1SQLiteDatabaseImp.html#a2654ba0e88a9e8aaa0e6686d90edf4ca">More...</a><br /></td></tr>
<tr class="separator:a2654ba0e88a9e8aaa0e6686d90edf4ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a137372b4f77322421d5246dc38f0f3a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a137372b4f77322421d5246dc38f0f3a0">deleteTransactionByLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq) override</td></tr>
<tr class="memdesc:a137372b4f77322421d5246dc38f0f3a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteTransactionByLedgerSeq Deletes transactions from the ledger with the given sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#a137372b4f77322421d5246dc38f0f3a0">More...</a><br /></td></tr>
<tr class="separator:a137372b4f77322421d5246dc38f0f3a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f975b07c8e05828e9e3d3e78bcb4dc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a5f975b07c8e05828e9e3d3e78bcb4dc3">deleteBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq) override</td></tr>
<tr class="memdesc:a5f975b07c8e05828e9e3d3e78bcb4dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteBeforeLedgerSeq Deletes all ledgers with a sequence number less than or equal to the given ledger sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#a5f975b07c8e05828e9e3d3e78bcb4dc3">More...</a><br /></td></tr>
<tr class="separator:a5f975b07c8e05828e9e3d3e78bcb4dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc1c35fcd35784c629263d0f4ba8319c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#adc1c35fcd35784c629263d0f4ba8319c">deleteTransactionsBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq) override</td></tr>
<tr class="memdesc:adc1c35fcd35784c629263d0f4ba8319c"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteTransactionsBeforeLedgerSeq Deletes all transactions with a sequence number less than or equal to the given ledger sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#adc1c35fcd35784c629263d0f4ba8319c">More...</a><br /></td></tr>
<tr class="separator:adc1c35fcd35784c629263d0f4ba8319c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f67b355f65928ebf0be25dcfd9c2cbe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a9f67b355f65928ebf0be25dcfd9c2cbe">deleteAccountTransactionsBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq) override</td></tr>
<tr class="memdesc:a9f67b355f65928ebf0be25dcfd9c2cbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteAccountTransactionsBeforeLedgerSeq Deletes all account transactions with a sequence number less than or equal to the given ledger sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#a9f67b355f65928ebf0be25dcfd9c2cbe">More...</a><br /></td></tr>
<tr class="separator:a9f67b355f65928ebf0be25dcfd9c2cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31c3906dc94bb608821c5f9c3e4bd056"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a31c3906dc94bb608821c5f9c3e4bd056">getTransactionCount</a> () override</td></tr>
<tr class="memdesc:a31c3906dc94bb608821c5f9c3e4bd056"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransactionCount Returns the number of transactions. <a href="classripple_1_1SQLiteDatabaseImp.html#a31c3906dc94bb608821c5f9c3e4bd056">More...</a><br /></td></tr>
<tr class="separator:a31c3906dc94bb608821c5f9c3e4bd056"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6828f44ae053fc1ef628028202dc8fac"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a6828f44ae053fc1ef628028202dc8fac">getAccountTransactionCount</a> () override</td></tr>
<tr class="memdesc:a6828f44ae053fc1ef628028202dc8fac"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAccountTransactionCount Returns the number of account transactions. <a href="classripple_1_1SQLiteDatabaseImp.html#a6828f44ae053fc1ef628028202dc8fac">More...</a><br /></td></tr>
<tr class="separator:a6828f44ae053fc1ef628028202dc8fac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac31771f3903ed779fd0e8710740a4bc2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1RelationalDatabase_1_1CountMinMax.html">RelationalDatabase::CountMinMax</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ac31771f3903ed779fd0e8710740a4bc2">getLedgerCountMinMax</a> () override</td></tr>
<tr class="memdesc:ac31771f3903ed779fd0e8710740a4bc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerCountMinMax Returns the minimum ledger sequence, maximum ledger sequence and total number of saved ledgers. <a href="classripple_1_1SQLiteDatabaseImp.html#ac31771f3903ed779fd0e8710740a4bc2">More...</a><br /></td></tr>
<tr class="separator:ac31771f3903ed779fd0e8710740a4bc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2beb06c18310e331fa63e18d5470f02c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2beb06c18310e331fa63e18d5470f02c">saveValidatedLedger</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const &gt; const &amp;ledger, bool current) override</td></tr>
<tr class="memdesc:a2beb06c18310e331fa63e18d5470f02c"><td class="mdescLeft">&#160;</td><td class="mdescRight">saveValidatedLedger Saves a ledger into the database. <a href="classripple_1_1SQLiteDatabaseImp.html#a2beb06c18310e331fa63e18d5470f02c">More...</a><br /></td></tr>
<tr class="separator:a2beb06c18310e331fa63e18d5470f02c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af98c9aa88ce231f95164cec02e58ed0d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#af98c9aa88ce231f95164cec02e58ed0d">getLedgerInfoByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq) override</td></tr>
<tr class="memdesc:af98c9aa88ce231f95164cec02e58ed0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerInfoByIndex Returns a ledger by its sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#af98c9aa88ce231f95164cec02e58ed0d">More...</a><br /></td></tr>
<tr class="separator:af98c9aa88ce231f95164cec02e58ed0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1416bd1f665f27453f8dce95f0818fbb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1416bd1f665f27453f8dce95f0818fbb">getNewestLedgerInfo</a> () override</td></tr>
<tr class="memdesc:a1416bd1f665f27453f8dce95f0818fbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">getNewestLedgerInfo Returns the info of the newest saved ledger. <a href="classripple_1_1SQLiteDatabaseImp.html#a1416bd1f665f27453f8dce95f0818fbb">More...</a><br /></td></tr>
<tr class="separator:a1416bd1f665f27453f8dce95f0818fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0713cfb94435bed560441b22c96461df"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a0713cfb94435bed560441b22c96461df">getLimitedOldestLedgerInfo</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerFirstIndex) override</td></tr>
<tr class="memdesc:a0713cfb94435bed560441b22c96461df"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLimitedOldestLedgerInfo Returns the info of the oldest ledger whose sequence number is greater than or equal to the given sequence number. <a href="classripple_1_1SQLiteDatabaseImp.html#a0713cfb94435bed560441b22c96461df">More...</a><br /></td></tr>
<tr class="separator:a0713cfb94435bed560441b22c96461df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c990ed554556dd75199764f00111977"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8c990ed554556dd75199764f00111977">getLimitedNewestLedgerInfo</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerFirstIndex) override</td></tr>
<tr class="memdesc:a8c990ed554556dd75199764f00111977"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLimitedNewestLedgerInfo Returns the info of the newest ledger whose sequence number is greater than or equal to the given sequence number. <a href="classripple_1_1SQLiteDatabaseImp.html#a8c990ed554556dd75199764f00111977">More...</a><br /></td></tr>
<tr class="separator:a8c990ed554556dd75199764f00111977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a575ad184e70064a3e324ea435fa58333"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a575ad184e70064a3e324ea435fa58333">getLedgerInfoByHash</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;ledgerHash) override</td></tr>
<tr class="memdesc:a575ad184e70064a3e324ea435fa58333"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerInfoByHash Returns the info of the ledger with given hash. <a href="classripple_1_1SQLiteDatabaseImp.html#a575ad184e70064a3e324ea435fa58333">More...</a><br /></td></tr>
<tr class="separator:a575ad184e70064a3e324ea435fa58333"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7796a6d5a4a4b0a7fd7feb7e23f612b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ad7796a6d5a4a4b0a7fd7feb7e23f612b">getHashByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerIndex) override</td></tr>
<tr class="memdesc:ad7796a6d5a4a4b0a7fd7feb7e23f612b"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashByIndex Returns the hash of the ledger with the given sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#ad7796a6d5a4a4b0a7fd7feb7e23f612b">More...</a><br /></td></tr>
<tr class="separator:ad7796a6d5a4a4b0a7fd7feb7e23f612b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e0a657a3892d93fdf957d892f1729c2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8e0a657a3892d93fdf957d892f1729c2">getHashesByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerIndex) override</td></tr>
<tr class="memdesc:a8e0a657a3892d93fdf957d892f1729c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashesByIndex Returns the hashes of the ledger and its parent as specified by the ledgerIndex. <a href="classripple_1_1SQLiteDatabaseImp.html#a8e0a657a3892d93fdf957d892f1729c2">More...</a><br /></td></tr>
<tr class="separator:a8e0a657a3892d93fdf957d892f1729c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eb08bfeccc246735821bbd45a82c4b2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>, <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a5eb08bfeccc246735821bbd45a82c4b2">getHashesByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> minSeq, <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> maxSeq) override</td></tr>
<tr class="memdesc:a5eb08bfeccc246735821bbd45a82c4b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashesByIndex Returns hashes of each ledger and its parent for all ledgers within the provided range. <a href="classripple_1_1SQLiteDatabaseImp.html#a5eb08bfeccc246735821bbd45a82c4b2">More...</a><br /></td></tr>
<tr class="separator:a5eb08bfeccc246735821bbd45a82c4b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e09f3d9aad4bddd230a858ebc523f0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a95e09f3d9aad4bddd230a858ebc523f0">getTxHistory</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> startIndex) override</td></tr>
<tr class="memdesc:a95e09f3d9aad4bddd230a858ebc523f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTxHistory Returns the 20 most recent transactions starting from the given number. <a href="classripple_1_1SQLiteDatabaseImp.html#a95e09f3d9aad4bddd230a858ebc523f0">More...</a><br /></td></tr>
<tr class="separator:a95e09f3d9aad4bddd230a858ebc523f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01f36374986f646a7e1dc7ebe3338396"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a01f36374986f646a7e1dc7ebe3338396">getOldestAccountTxs</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:a01f36374986f646a7e1dc7ebe3338396"><td class="mdescLeft">&#160;</td><td class="mdescRight">getOldestAccountTxs Returns the oldest transactions for the account that matches the given criteria starting from the provided offset. <a href="classripple_1_1SQLiteDatabaseImp.html#a01f36374986f646a7e1dc7ebe3338396">More...</a><br /></td></tr>
<tr class="separator:a01f36374986f646a7e1dc7ebe3338396"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae599defe00f0da32090b81ef59816bd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae599defe00f0da32090b81ef59816bd9">getNewestAccountTxs</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:ae599defe00f0da32090b81ef59816bd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">getNewestAccountTxs Returns the newest transactions for the account that matches the given criteria starting from the provided offset. <a href="classripple_1_1SQLiteDatabaseImp.html#ae599defe00f0da32090b81ef59816bd9">More...</a><br /></td></tr>
<tr class="separator:ae599defe00f0da32090b81ef59816bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365710cee46fedbaa173571e64727f7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a365710cee46fedbaa173571e64727f7c">getOldestAccountTxsB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:a365710cee46fedbaa173571e64727f7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">getOldestAccountTxsB Returns the oldest transactions in binary form for the account that matches the given criteria starting from the provided offset. <a href="classripple_1_1SQLiteDatabaseImp.html#a365710cee46fedbaa173571e64727f7c">More...</a><br /></td></tr>
<tr class="separator:a365710cee46fedbaa173571e64727f7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adebca7f101a69aa985b72c15ecb213ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#adebca7f101a69aa985b72c15ecb213ad">getNewestAccountTxsB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:adebca7f101a69aa985b72c15ecb213ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">getNewestAccountTxsB Returns the newest transactions in binary form for the account that matches the given criteria starting from the provided offset. <a href="classripple_1_1SQLiteDatabaseImp.html#adebca7f101a69aa985b72c15ecb213ad">More...</a><br /></td></tr>
<tr class="separator:adebca7f101a69aa985b72c15ecb213ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b664c1e18596bbc0487a4717d7e49ab"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">AccountTxMarker</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1b664c1e18596bbc0487a4717d7e49ab">oldestAccountTxPage</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:a1b664c1e18596bbc0487a4717d7e49ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">oldestAccountTxPage Returns the oldest transactions for the account that matches the given criteria starting from the provided marker. <a href="classripple_1_1SQLiteDatabaseImp.html#a1b664c1e18596bbc0487a4717d7e49ab">More...</a><br /></td></tr>
<tr class="separator:a1b664c1e18596bbc0487a4717d7e49ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b4d5e55ba01c5921c92d5d0920b22e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">AccountTxMarker</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a85b4d5e55ba01c5921c92d5d0920b22e">newestAccountTxPage</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:a85b4d5e55ba01c5921c92d5d0920b22e"><td class="mdescLeft">&#160;</td><td class="mdescRight">newestAccountTxPage Returns the newest transactions for the account that matches the given criteria starting from the provided marker. <a href="classripple_1_1SQLiteDatabaseImp.html#a85b4d5e55ba01c5921c92d5d0920b22e">More...</a><br /></td></tr>
<tr class="separator:a85b4d5e55ba01c5921c92d5d0920b22e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa54b84a8ecb4b7ba566c0f5a5c30d9d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">AccountTxMarker</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#afa54b84a8ecb4b7ba566c0f5a5c30d9d">oldestAccountTxPageB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:afa54b84a8ecb4b7ba566c0f5a5c30d9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">oldestAccountTxPageB Returns the oldest transactions in binary form for the account that matches the given criteria starting from the provided marker. <a href="classripple_1_1SQLiteDatabaseImp.html#afa54b84a8ecb4b7ba566c0f5a5c30d9d">More...</a><br /></td></tr>
<tr class="separator:afa54b84a8ecb4b7ba566c0f5a5c30d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62f019324949c96e8a8ca97602e975f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">AccountTxMarker</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ac62f019324949c96e8a8ca97602e975f">newestAccountTxPageB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options) override</td></tr>
<tr class="memdesc:ac62f019324949c96e8a8ca97602e975f"><td class="mdescLeft">&#160;</td><td class="mdescRight">newestAccountTxPageB Returns the newest transactions in binary form for the account that matches the given criteria starting from the provided marker. <a href="classripple_1_1SQLiteDatabaseImp.html#ac62f019324949c96e8a8ca97602e975f">More...</a><br /></td></tr>
<tr class="separator:ac62f019324949c96e8a8ca97602e975f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630c05d8f09b964965c5c5e17e655c89"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a>, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a630c05d8f09b964965c5c5e17e655c89">getTransaction</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;id, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&gt; const &amp;<a class="el" href="namespaceripple.html#a718d6c3cd459b4d24d7bc790905c57f2">range</a>, <a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;ec) override</td></tr>
<tr class="separator:a630c05d8f09b964965c5c5e17e655c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a311a803593ac3b5ce62b3263f4d298bd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a311a803593ac3b5ce62b3263f4d298bd">ledgerDbHasSpace</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config) override</td></tr>
<tr class="memdesc:a311a803593ac3b5ce62b3263f4d298bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">ledgerDbHasSpace Checks if the ledger database has available space. <a href="classripple_1_1SQLiteDatabaseImp.html#a311a803593ac3b5ce62b3263f4d298bd">More...</a><br /></td></tr>
<tr class="separator:a311a803593ac3b5ce62b3263f4d298bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004a13d01781eb4ffd043a0934c99b39"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a004a13d01781eb4ffd043a0934c99b39">transactionDbHasSpace</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config) override</td></tr>
<tr class="memdesc:a004a13d01781eb4ffd043a0934c99b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">transactionDbHasSpace Checks if the transaction database has available space. <a href="classripple_1_1SQLiteDatabaseImp.html#a004a13d01781eb4ffd043a0934c99b39">More...</a><br /></td></tr>
<tr class="separator:a004a13d01781eb4ffd043a0934c99b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae53c9caa41b8e7ccb388eed3cd284f51"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae53c9caa41b8e7ccb388eed3cd284f51">getKBUsedAll</a> () override</td></tr>
<tr class="memdesc:ae53c9caa41b8e7ccb388eed3cd284f51"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedAll Returns the amount of space used by all databases. <a href="classripple_1_1SQLiteDatabaseImp.html#ae53c9caa41b8e7ccb388eed3cd284f51">More...</a><br /></td></tr>
<tr class="separator:ae53c9caa41b8e7ccb388eed3cd284f51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c6246b1494f48fbc6ace6103aa58709"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a0c6246b1494f48fbc6ace6103aa58709">getKBUsedLedger</a> () override</td></tr>
<tr class="memdesc:a0c6246b1494f48fbc6ace6103aa58709"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedLedger Returns the amount of space space used by the ledger database. <a href="classripple_1_1SQLiteDatabaseImp.html#a0c6246b1494f48fbc6ace6103aa58709">More...</a><br /></td></tr>
<tr class="separator:a0c6246b1494f48fbc6ace6103aa58709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2763fc54ad1f93f70851aac5b5c4d7b8"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2763fc54ad1f93f70851aac5b5c4d7b8">getKBUsedTransaction</a> () override</td></tr>
<tr class="memdesc:a2763fc54ad1f93f70851aac5b5c4d7b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedTransaction Returns the amount of space used by the transaction database. <a href="classripple_1_1SQLiteDatabaseImp.html#a2763fc54ad1f93f70851aac5b5c4d7b8">More...</a><br /></td></tr>
<tr class="separator:a2763fc54ad1f93f70851aac5b5c4d7b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada571789aefdc3916dab9b653f5601c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ada571789aefdc3916dab9b653f5601c8">closeLedgerDB</a> () override</td></tr>
<tr class="memdesc:ada571789aefdc3916dab9b653f5601c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the ledger database. <a href="classripple_1_1SQLiteDatabaseImp.html#ada571789aefdc3916dab9b653f5601c8">More...</a><br /></td></tr>
<tr class="separator:ada571789aefdc3916dab9b653f5601c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab16c6006228623ffe27221b5fa0c1048"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ab16c6006228623ffe27221b5fa0c1048">closeTransactionDB</a> () override</td></tr>
<tr class="memdesc:ab16c6006228623ffe27221b5fa0c1048"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the transaction database. <a href="classripple_1_1SQLiteDatabaseImp.html#ab16c6006228623ffe27221b5fa0c1048">More...</a><br /></td></tr>
<tr class="separator:ab16c6006228623ffe27221b5fa0c1048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6150ef6dd54710e698ac43ee7c6a9519"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a>, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a6150ef6dd54710e698ac43ee7c6a9519">getTransaction</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;id, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; uint32_t &gt;&gt; const &amp;<a class="el" href="namespaceripple.html#a718d6c3cd459b4d24d7bc790905c57f2">range</a>, <a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;ec)=0</td></tr>
<tr class="memdesc:a6150ef6dd54710e698ac43ee7c6a9519"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransaction Returns the transaction with the given hash. <a href="classripple_1_1SQLiteDatabase.html#a6150ef6dd54710e698ac43ee7c6a9519">More...</a><br /></td></tr>
<tr class="separator:a6150ef6dd54710e698ac43ee7c6a9519"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7f08e20557d394e761662ff29373f467"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html">RelationalDatabase</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a7f08e20557d394e761662ff29373f467">init</a> (<a class="el" href="classripple_1_1Application.html">Application</a> &amp;app, <a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config, <a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;jobQueue)</td></tr>
<tr class="memdesc:a7f08e20557d394e761662ff29373f467"><td class="mdescLeft">&#160;</td><td class="mdescRight">init Creates and returns an appropriate <a class="el" href="classripple_1_1RelationalDatabase.html">RelationalDatabase</a> instance based on configuration. <a href="classripple_1_1RelationalDatabase.html#a7f08e20557d394e761662ff29373f467">More...</a><br /></td></tr>
<tr class="separator:a7f08e20557d394e761662ff29373f467"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:acbf39bd208b7d7567fb9e174edc32f70"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#acbf39bd208b7d7567fb9e174edc32f70">makeLedgerDBs</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config, <a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> const &amp;setup, <a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> const &amp;checkpointerSetup)</td></tr>
<tr class="memdesc:acbf39bd208b7d7567fb9e174edc32f70"><td class="mdescLeft">&#160;</td><td class="mdescRight">makeLedgerDBs Opens ledger and transaction databases for the node store, and stores their descriptors in private member variables. <a href="classripple_1_1SQLiteDatabaseImp.html#acbf39bd208b7d7567fb9e174edc32f70">More...</a><br /></td></tr>
<tr class="separator:acbf39bd208b7d7567fb9e174edc32f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11359b8b20e4317c875a79aa20e0071c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a11359b8b20e4317c875a79aa20e0071c">makeMetaDBs</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config, <a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> const &amp;setup, <a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> const &amp;checkpointerSetup)</td></tr>
<tr class="memdesc:a11359b8b20e4317c875a79aa20e0071c"><td class="mdescLeft">&#160;</td><td class="mdescRight">makeMetaDBs Opens shard index lookup databases, and stores their descriptors in private member variables. <a href="classripple_1_1SQLiteDatabaseImp.html#a11359b8b20e4317c875a79aa20e0071c">More...</a><br /></td></tr>
<tr class="separator:a11359b8b20e4317c875a79aa20e0071c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d4a6b01109bf87c51f0edf8431d028b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1d4a6b01109bf87c51f0edf8431d028b">seqToShardIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)</td></tr>
<tr class="memdesc:a1d4a6b01109bf87c51f0edf8431d028b"><td class="mdescLeft">&#160;</td><td class="mdescRight">seqToShardIndex Provides the index of the shard that stores the ledger with the given sequence. <a href="classripple_1_1SQLiteDatabaseImp.html#a1d4a6b01109bf87c51f0edf8431d028b">More...</a><br /></td></tr>
<tr class="separator:a1d4a6b01109bf87c51f0edf8431d028b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e23578d106c8ef8b2586375dd55777b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a9e23578d106c8ef8b2586375dd55777b">firstLedgerSeq</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)</td></tr>
<tr class="memdesc:a9e23578d106c8ef8b2586375dd55777b"><td class="mdescLeft">&#160;</td><td class="mdescRight">firstLedgerSeq Returns the sequence of the first ledger stored in the shard specified by the shard index parameter. <a href="classripple_1_1SQLiteDatabaseImp.html#a9e23578d106c8ef8b2586375dd55777b">More...</a><br /></td></tr>
<tr class="separator:a9e23578d106c8ef8b2586375dd55777b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af25aefe9f8f3c73a4f2d73edac4a2e75"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#af25aefe9f8f3c73a4f2d73edac4a2e75">lastLedgerSeq</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)</td></tr>
<tr class="memdesc:af25aefe9f8f3c73a4f2d73edac4a2e75"><td class="mdescLeft">&#160;</td><td class="mdescRight">lastLedgerSeq Returns the sequence of the last ledger stored in the shard specified by the shard index parameter. <a href="classripple_1_1SQLiteDatabaseImp.html#af25aefe9f8f3c73a4f2d73edac4a2e75">More...</a><br /></td></tr>
<tr class="separator:af25aefe9f8f3c73a4f2d73edac4a2e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10a434652dd848c9a6dda20bc15d50a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae10a434652dd848c9a6dda20bc15d50a">existsLedger</a> ()</td></tr>
<tr class="memdesc:ae10a434652dd848c9a6dda20bc15d50a"><td class="mdescLeft">&#160;</td><td class="mdescRight">existsLedger Checks if the node store ledger database exists. <a href="classripple_1_1SQLiteDatabaseImp.html#ae10a434652dd848c9a6dda20bc15d50a">More...</a><br /></td></tr>
<tr class="separator:ae10a434652dd848c9a6dda20bc15d50a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ba039b08c558e8693c55569e3c26e03"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a6ba039b08c558e8693c55569e3c26e03">existsTransaction</a> ()</td></tr>
<tr class="memdesc:a6ba039b08c558e8693c55569e3c26e03"><td class="mdescLeft">&#160;</td><td class="mdescRight">existsTransaction Checks if the node store transaction database exists. <a href="classripple_1_1SQLiteDatabaseImp.html#a6ba039b08c558e8693c55569e3c26e03">More...</a><br /></td></tr>
<tr class="separator:a6ba039b08c558e8693c55569e3c26e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8e62d19d93273369a88e1b4a1e4979d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#aa8e62d19d93273369a88e1b4a1e4979d">shardStoreExists</a> ()</td></tr>
<tr class="memdesc:aa8e62d19d93273369a88e1b4a1e4979d"><td class="mdescLeft">&#160;</td><td class="mdescRight">shardStoreExists Checks whether the shard store exists <a href="classripple_1_1SQLiteDatabaseImp.html#aa8e62d19d93273369a88e1b4a1e4979d">More...</a><br /></td></tr>
<tr class="separator:aa8e62d19d93273369a88e1b4a1e4979d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29039ef9254588a5a10f6311d5815893"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a29039ef9254588a5a10f6311d5815893">checkoutLedger</a> ()</td></tr>
<tr class="memdesc:a29039ef9254588a5a10f6311d5815893"><td class="mdescLeft">&#160;</td><td class="mdescRight">checkoutTransaction Checks out and returns node store ledger database. <a href="classripple_1_1SQLiteDatabaseImp.html#a29039ef9254588a5a10f6311d5815893">More...</a><br /></td></tr>
<tr class="separator:a29039ef9254588a5a10f6311d5815893"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d4192acf87e1c136752222f7a03cbe6"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a4d4192acf87e1c136752222f7a03cbe6">checkoutTransaction</a> ()</td></tr>
<tr class="memdesc:a4d4192acf87e1c136752222f7a03cbe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">checkoutTransaction Checks out and returns the node store transaction database. <a href="classripple_1_1SQLiteDatabaseImp.html#a4d4192acf87e1c136752222f7a03cbe6">More...</a><br /></td></tr>
<tr class="separator:a4d4192acf87e1c136752222f7a03cbe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c351b47b3d6eda6c43c343300b5d340"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a3c351b47b3d6eda6c43c343300b5d340">doLedger</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:a3c351b47b3d6eda6c43c343300b5d340"><td class="mdescLeft">&#160;</td><td class="mdescRight">doLedger Checks out the ledger database owned by the shard containing the given ledger, and invokes the provided callback with a session to that database. <a href="classripple_1_1SQLiteDatabaseImp.html#a3c351b47b3d6eda6c43c343300b5d340">More...</a><br /></td></tr>
<tr class="separator:a3c351b47b3d6eda6c43c343300b5d340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a048b4ecbbf20e1c18721d839fa12ac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8a048b4ecbbf20e1c18721d839fa12ac">doTransaction</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:a8a048b4ecbbf20e1c18721d839fa12ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">doTransaction Checks out the transaction database owned by the shard containing the given ledger, and invokes the provided callback with a session to that database. <a href="classripple_1_1SQLiteDatabaseImp.html#a8a048b4ecbbf20e1c18721d839fa12ac">More...</a><br /></td></tr>
<tr class="separator:a8a048b4ecbbf20e1c18721d839fa12ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc51bd168df11f589dadee3859fc68a4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#acc51bd168df11f589dadee3859fc68a4">iterateLedgerForward</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; firstIndex, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:acc51bd168df11f589dadee3859fc68a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">iterateLedgerForward Checks out ledger databases for all shards in ascending order starting from the given shard index, until all shards in range have been visited or the callback returns false. <a href="classripple_1_1SQLiteDatabaseImp.html#acc51bd168df11f589dadee3859fc68a4">More...</a><br /></td></tr>
<tr class="separator:acc51bd168df11f589dadee3859fc68a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac12fe8fcf0b5b5d4ad6dd01e616c6b91"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ac12fe8fcf0b5b5d4ad6dd01e616c6b91">iterateTransactionForward</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; firstIndex, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:ac12fe8fcf0b5b5d4ad6dd01e616c6b91"><td class="mdescLeft">&#160;</td><td class="mdescRight">iterateTransactionForward Checks out transaction databases for all shards in ascending order starting from the given shard index, until all shards in range have been visited or the callback returns false. <a href="classripple_1_1SQLiteDatabaseImp.html#ac12fe8fcf0b5b5d4ad6dd01e616c6b91">More...</a><br /></td></tr>
<tr class="separator:ac12fe8fcf0b5b5d4ad6dd01e616c6b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d77e126a605d18a7337e4adbe54df3a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1d77e126a605d18a7337e4adbe54df3a">iterateLedgerBack</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; firstIndex, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:a1d77e126a605d18a7337e4adbe54df3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">iterateLedgerBack Checks out ledger databases for all shards in descending order starting from the given shard index, until all shards in range have been visited or the callback returns false. <a href="classripple_1_1SQLiteDatabaseImp.html#a1d77e126a605d18a7337e4adbe54df3a">More...</a><br /></td></tr>
<tr class="separator:a1d77e126a605d18a7337e4adbe54df3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8e3a31b3f01a2bf93ae3f19631fa007"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#aa8e3a31b3f01a2bf93ae3f19631fa007">iterateTransactionBack</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt; firstIndex, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;callback)</td></tr>
<tr class="memdesc:aa8e3a31b3f01a2bf93ae3f19631fa007"><td class="mdescLeft">&#160;</td><td class="mdescRight">iterateTransactionBack Checks out transaction databases for all shards in descending order starting from the given shard index, until all shards in range have been visited or the callback returns false. <a href="classripple_1_1SQLiteDatabaseImp.html#aa8e3a31b3f01a2bf93ae3f19631fa007">More...</a><br /></td></tr>
<tr class="separator:aa8e3a31b3f01a2bf93ae3f19631fa007"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aad7297b4d9d77d669bf66aa160c700ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#aad7297b4d9d77d669bf66aa160c700ab">app_</a></td></tr>
<tr class="separator:aad7297b4d9d77d669bf66aa160c700ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec23ece1ddff48202e4ba943bfbf2cba"><td class="memItemLeft" align="right" valign="top">const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#aec23ece1ddff48202e4ba943bfbf2cba">useTxTables_</a></td></tr>
<tr class="separator:aec23ece1ddff48202e4ba943bfbf2cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d7c8564eaf426f4444540bb3d684e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a07d7c8564eaf426f4444540bb3d684e1">j_</a></td></tr>
<tr class="separator:a07d7c8564eaf426f4444540bb3d684e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26796c9926a06e46b0524e71a7608f16"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a26796c9926a06e46b0524e71a7608f16">lgrdb_</a></td></tr>
<tr class="separator:a26796c9926a06e46b0524e71a7608f16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b469edba2587706cdf5094ac67b8a7d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a0b469edba2587706cdf5094ac67b8a7d">txdb_</a></td></tr>
<tr class="separator:a0b469edba2587706cdf5094ac67b8a7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8a19f846d6bb4ac5ba4b63417ae8fc7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#af8a19f846d6bb4ac5ba4b63417ae8fc7">lgrMetaDB_</a></td></tr>
<tr class="separator:af8a19f846d6bb4ac5ba4b63417ae8fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b3af9dd1fb7aed2437c7610e7bc3e54"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8b3af9dd1fb7aed2437c7610e7bc3e54">txMetaDB_</a></td></tr>
<tr class="separator:a8b3af9dd1fb7aed2437c7610e7bc3e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00039">39</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a251e55e3d5aa9b4e4d1a7eebe2157d46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a251e55e3d5aa9b4e4d1a7eebe2157d46">&#9670;&nbsp;</a></span>AccountTx</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">ripple::RelationalDatabase::AccountTx</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="classripple_1_1Transaction.html">Transaction</a>&gt;, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="classripple_1_1TxMeta.html">TxMeta</a>&gt; &gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00085">85</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a1af9139d7f4c8f662c7b8e49473a21e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af9139d7f4c8f662c7b8e49473a21e2">&#9670;&nbsp;</a></span>AccountTxs</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">ripple::RelationalDatabase::AccountTxs</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a>&gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00086">86</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ad49d721f8f069c1ee9652b93a3485423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad49d721f8f069c1ee9652b93a3485423">&#9670;&nbsp;</a></span>txnMetaLedgerType</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#ad49d721f8f069c1ee9652b93a3485423">ripple::RelationalDatabase::txnMetaLedgerType</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>&lt;<a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a>, <a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00087">87</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a183ed7f35d368ec4564d8083fe9656f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a183ed7f35d368ec4564d8083fe9656f3">&#9670;&nbsp;</a></span>MetaTxsList</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">ripple::RelationalDatabase::MetaTxsList</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt;<a class="el" href="classripple_1_1RelationalDatabase.html#ad49d721f8f069c1ee9652b93a3485423">txnMetaLedgerType</a>&gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00088">88</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="affdfbc3c5f0f2d7b78cc5570617a5fda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affdfbc3c5f0f2d7b78cc5570617a5fda">&#9670;&nbsp;</a></span>LedgerSequence</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#affdfbc3c5f0f2d7b78cc5570617a5fda">ripple::RelationalDatabase::LedgerSequence</a> = uint32_t</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00090">90</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ae6ed6a653c43698a1480c0230b1e99aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6ed6a653c43698a1480c0230b1e99aa">&#9670;&nbsp;</a></span>LedgerHash</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#ae6ed6a653c43698a1480c0230b1e99aa">ripple::RelationalDatabase::LedgerHash</a> = <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00091">91</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a99c471461c2b0858d240f98034c6fda3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99c471461c2b0858d240f98034c6fda3">&#9670;&nbsp;</a></span>LedgerShortcut</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">ripple::RelationalDatabase::LedgerShortcut</a> = <a class="el" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">RPC::LedgerShortcut</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00092">92</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ae6edb30f534bd5669ee659789aa22e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6edb30f534bd5669ee659789aa22e86">&#9670;&nbsp;</a></span>LedgerSpecifier</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1RelationalDatabase.html#ae6edb30f534bd5669ee659789aa22e86">ripple::RelationalDatabase::LedgerSpecifier</a> = <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt;<a class="el" href="structripple_1_1LedgerRange.html">LedgerRange</a>, <a class="el" href="namespaceripple_1_1RPC.html#a4c04e509451d50d9449cff3d477ff4f2">LedgerShortcut</a>, <a class="el" href="classripple_1_1RelationalDatabase.html#affdfbc3c5f0f2d7b78cc5570617a5fda">LedgerSequence</a>, <a class="el" href="classripple_1_1RelationalDatabase.html#ae6ed6a653c43698a1480c0230b1e99aa">LedgerHash</a>&gt;</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8h_source.html#l00094">94</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afb1ba4a2d92535ead2e457eee64b07bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb1ba4a2d92535ead2e457eee64b07bd">&#9670;&nbsp;</a></span>SQLiteDatabaseImp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::SQLiteDatabaseImp::SQLiteDatabaseImp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td>
<td class="paramname"><em>app</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;&#160;</td>
<td class="paramname"><em>jobQueue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00042">42</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8730d0f70b92408cf5be5e83715ffb07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8730d0f70b92408cf5be5e83715ffb07">&#9670;&nbsp;</a></span>getMinLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt; ripple::SQLiteDatabaseImp::getMinLedgerSeq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getMinLedgerSeq Returns the minimum ledger sequence in the Ledgers table. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence or no value if no ledgers exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a0075f77f85eb16d36fdd35974acfb8ea">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00472">472</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ae374cbf0f84d61f22c7002dc99972702"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae374cbf0f84d61f22c7002dc99972702">&#9670;&nbsp;</a></span>getTransactionsMinLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt; ripple::SQLiteDatabaseImp::getTransactionsMinLedgerSeq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the Transactions table. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence or no value if no ledgers exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a8753a85dafec625d81a1deb51718ab67">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00499">499</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a526e18b895cb05e3b11afcf873f753da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a526e18b895cb05e3b11afcf873f753da">&#9670;&nbsp;</a></span>getAccountTransactionsMinLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt; ripple::SQLiteDatabaseImp::getAccountTransactionsMinLedgerSeq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getAccountTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the AccountTransactions table. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence or no value if no ledgers exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ae95994c2916002a8aa51a34c5678de9c">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00526">526</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a2654ba0e88a9e8aaa0e6686d90edf4ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2654ba0e88a9e8aaa0e6686d90edf4ca">&#9670;&nbsp;</a></span>getMaxLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> &gt; ripple::SQLiteDatabaseImp::getMaxLedgerSeq </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getMaxLedgerSeq Returns the maximum ledger sequence in the Ledgers table. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence or none if no ledgers exist. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#aa4e757a2656cd3c537e997e8a67ee78a">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00554">554</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a137372b4f77322421d5246dc38f0f3a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a137372b4f77322421d5246dc38f0f3a0">&#9670;&nbsp;</a></span>deleteTransactionByLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::deleteTransactionByLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>deleteTransactionByLedgerSeq Deletes transactions from the ledger with the given sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#acbdf3a4d0d49983560c578a53bc8354d">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00578">578</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a5f975b07c8e05828e9e3d3e78bcb4dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f975b07c8e05828e9e3d3e78bcb4dc3">&#9670;&nbsp;</a></span>deleteBeforeLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::deleteBeforeLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>deleteBeforeLedgerSeq Deletes all ledgers with a sequence number less than or equal to the given ledger sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#aca5b2a5e4096c7ad01f42fb62a924a89">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00602">602</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="adc1c35fcd35784c629263d0f4ba8319c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc1c35fcd35784c629263d0f4ba8319c">&#9670;&nbsp;</a></span>deleteTransactionsBeforeLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::deleteTransactionsBeforeLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>deleteTransactionsBeforeLedgerSeq Deletes all transactions with a sequence number less than or equal to the given ledger sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ae34d58125b27b65f2e57b37bb8ec6b39">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00625">625</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a9f67b355f65928ebf0be25dcfd9c2cbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f67b355f65928ebf0be25dcfd9c2cbe">&#9670;&nbsp;</a></span>deleteAccountTransactionsBeforeLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::deleteAccountTransactionsBeforeLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>deleteAccountTransactionsBeforeLedgerSeq Deletes all account transactions with a sequence number less than or equal to the given ledger sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a9c9dd9b7acdb0c304fd994148fdbc0d8">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00651">651</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a31c3906dc94bb608821c5f9c3e4bd056"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31c3906dc94bb608821c5f9c3e4bd056">&#9670;&nbsp;</a></span>getTransactionCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> ripple::SQLiteDatabaseImp::getTransactionCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getTransactionCount Returns the number of transactions. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of transactions. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ad9126a8d3f257b1108a9d783823040de">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00678">678</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a6828f44ae053fc1ef628028202dc8fac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6828f44ae053fc1ef628028202dc8fac">&#9670;&nbsp;</a></span>getAccountTransactionCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> ripple::SQLiteDatabaseImp::getAccountTransactionCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getAccountTransactionCount Returns the number of account transactions. </p>
<dl class="section return"><dt>Returns</dt><dd>Number of account transactions. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#acb2f609a8add65fb702e840ae74c7422">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00705">705</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ac31771f3903ed779fd0e8710740a4bc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac31771f3903ed779fd0e8710740a4bc2">&#9670;&nbsp;</a></span>getLedgerCountMinMax()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1RelationalDatabase_1_1CountMinMax.html">RelationalDatabase::CountMinMax</a> ripple::SQLiteDatabaseImp::getLedgerCountMinMax </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getLedgerCountMinMax Returns the minimum ledger sequence, maximum ledger sequence and total number of saved ledgers. </p>
<dl class="section return"><dt>Returns</dt><dd>Struct CountMinMax which contains the minimum sequence, maximum sequence and number of ledgers. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#aa8061eae3aade5b8a609ffac38506de8">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00732">732</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a2beb06c18310e331fa63e18d5470f02c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2beb06c18310e331fa63e18d5470f02c">&#9670;&nbsp;</a></span>saveValidatedLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::saveValidatedLedger </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const &gt; const &amp;&#160;</td>
<td class="paramname"><em>ledger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>current</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>saveValidatedLedger Saves a ledger into the database. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledger</td><td>The ledger. </td></tr>
<tr><td class="paramname">current</td><td>True if the ledger is current. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if saving was successful. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a3f78cede303ac2d3d89b2efd8912f998">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00763">763</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="af98c9aa88ce231f95164cec02e58ed0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af98c9aa88ce231f95164cec02e58ed0d">&#9670;&nbsp;</a></span>getLedgerInfoByIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt; ripple::SQLiteDatabaseImp::getLedgerInfoByIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getLedgerInfoByIndex Returns a ledger by its sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ledger if found, otherwise no value. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a4b67ba7e09ea642386597210efefe07d">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00799">799</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a1416bd1f665f27453f8dce95f0818fbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1416bd1f665f27453f8dce95f0818fbb">&#9670;&nbsp;</a></span>getNewestLedgerInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt; ripple::SQLiteDatabaseImp::getNewestLedgerInfo </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getNewestLedgerInfo Returns the info of the newest saved ledger. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> info if found, otherwise no value. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#acbc9c19a6c01c6004df183ed8858f88b">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00824">824</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a0713cfb94435bed560441b22c96461df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0713cfb94435bed560441b22c96461df">&#9670;&nbsp;</a></span>getLimitedOldestLedgerInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt; ripple::SQLiteDatabaseImp::getLimitedOldestLedgerInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerFirstIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getLimitedOldestLedgerInfo Returns the info of the oldest ledger whose sequence number is greater than or equal to the given sequence number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerFirstIndex</td><td>Minimum ledger sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> info if found, otherwise no value. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a1ed8e5b5b8172c96dbae82cbe3dbfa82">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00855">855</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a8c990ed554556dd75199764f00111977"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c990ed554556dd75199764f00111977">&#9670;&nbsp;</a></span>getLimitedNewestLedgerInfo()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt; ripple::SQLiteDatabaseImp::getLimitedNewestLedgerInfo </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerFirstIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getLimitedNewestLedgerInfo Returns the info of the newest ledger whose sequence number is greater than or equal to the given sequence number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerFirstIndex</td><td>Minimum ledger sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> info if found, otherwise no value. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ae60361295a9ce00a07d288569b637f4b">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00889">889</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a575ad184e70064a3e324ea435fa58333"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a575ad184e70064a3e324ea435fa58333">&#9670;&nbsp;</a></span>getLedgerInfoByHash()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerInfo.html">LedgerInfo</a> &gt; ripple::SQLiteDatabaseImp::getLedgerInfoByHash </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>ledgerHash</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getLedgerInfoByHash Returns the info of the ledger with given hash. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerHash</td><td>Hash of the ledger. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> if found, otherwise no value. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a2df06f73b03baa40ff0cc92066d9fd3b">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00922">922</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ad7796a6d5a4a4b0a7fd7feb7e23f612b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7796a6d5a4a4b0a7fd7feb7e23f612b">&#9670;&nbsp;</a></span>getHashByIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ripple::SQLiteDatabaseImp::getHashByIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getHashByIndex Returns the hash of the ledger with the given sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerIndex</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Hash of the ledger. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#ae73b0356cc96e29c9c66e52f64aeac0d">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00955">955</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a8e0a657a3892d93fdf957d892f1729c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e0a657a3892d93fdf957d892f1729c2">&#9670;&nbsp;</a></span>getHashesByIndex() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> &gt; ripple::SQLiteDatabaseImp::getHashesByIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getHashesByIndex Returns the hashes of the ledger and its parent as specified by the ledgerIndex. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerIndex</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Struct <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> which contains hashes of the ledger and its parent. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a177aaf55106410ac5a2b2969674d4d57">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00980">980</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a5eb08bfeccc246735821bbd45a82c4b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5eb08bfeccc246735821bbd45a82c4b2">&#9670;&nbsp;</a></span>getHashesByIndex() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt; <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>, <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> &gt; ripple::SQLiteDatabaseImp::getHashesByIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>minSeq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>maxSeq</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getHashesByIndex Returns hashes of each ledger and its parent for all ledgers within the provided range. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">minSeq</td><td>Minimum ledger sequence. </td></tr>
<tr><td class="paramname">maxSeq</td><td>Maximum ledger sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Container that maps the sequence number of a found ledger to the struct <a class="el" href="structripple_1_1LedgerHashPair.html">LedgerHashPair</a> which contains the hashes of the ledger and its parent. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a4d01c850566c044f3d595db5b16cc7c0">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01005">1005</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a95e09f3d9aad4bddd230a858ebc523f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95e09f3d9aad4bddd230a858ebc523f0">&#9670;&nbsp;</a></span>getTxHistory()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Transaction.html">Transaction</a> &gt; &gt; ripple::SQLiteDatabaseImp::getTxHistory </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>startIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getTxHistory Returns the 20 most recent transactions starting from the given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">startIndex</td><td>First number of returned entry. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of shared pointers to transactions sorted in descending order by ledger sequence. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#ae6c8de0e4ae5d6b0ad97d0ac219196d5">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01040">1040</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a01f36374986f646a7e1dc7ebe3338396"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01f36374986f646a7e1dc7ebe3338396">&#9670;&nbsp;</a></span>getOldestAccountTxs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">RelationalDatabase::AccountTxs</a> ripple::SQLiteDatabaseImp::getOldestAccountTxs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getOldestAccountTxs Returns the oldest transactions for the account that matches the given criteria starting from the provided offset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxOptions which contains the criteria to match: the account, ledger search range, the offset of the first entry to return, the number of transactions to return, a flag if this number is unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of pairs of found transactions and their metadata sorted in ascending order by account sequence. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#aba0fc6478e272cbeb9c172258dda8d13">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01085">1085</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ae599defe00f0da32090b81ef59816bd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae599defe00f0da32090b81ef59816bd9">&#9670;&nbsp;</a></span>getNewestAccountTxs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">RelationalDatabase::AccountTxs</a> ripple::SQLiteDatabaseImp::getNewestAccountTxs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getNewestAccountTxs Returns the newest transactions for the account that matches the given criteria starting from the provided offset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxOptions which contains the criteria to match: the account, the ledger search range, the offset of the first entry to return, the number of transactions to return, a flag if this number unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of pairs of found transactions and their metadata sorted in descending order by account sequence. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a076c4517fb3fde3f5f4105e69d985d66">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01145">1145</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a365710cee46fedbaa173571e64727f7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365710cee46fedbaa173571e64727f7c">&#9670;&nbsp;</a></span>getOldestAccountTxsB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">RelationalDatabase::MetaTxsList</a> ripple::SQLiteDatabaseImp::getOldestAccountTxsB </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getOldestAccountTxsB Returns the oldest transactions in binary form for the account that matches the given criteria starting from the provided offset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxOptions which contains the criteria to match: the account, the ledger search range, the offset of the first entry to return, the number of transactions to return, a flag if this number unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of tuples of found transactions, their metadata and account sequences sorted in ascending order by account sequence. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#aed5b7b346306521cf5a5fc675a70481f">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01205">1205</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="adebca7f101a69aa985b72c15ecb213ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adebca7f101a69aa985b72c15ecb213ad">&#9670;&nbsp;</a></span>getNewestAccountTxsB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">RelationalDatabase::MetaTxsList</a> ripple::SQLiteDatabaseImp::getNewestAccountTxsB </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getNewestAccountTxsB Returns the newest transactions in binary form for the account that matches the given criteria starting from the provided offset. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxOptions which contains the criteria to match: the account, the ledger search range, the offset of the first entry to return, the number of transactions to return, a flag if this number is unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of tuples of found transactions, their metadata and account sequences sorted in descending order by account sequence. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ae9f7208ff8c828f62cd043df2cfcdcad">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01261">1261</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a1b664c1e18596bbc0487a4717d7e49ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b664c1e18596bbc0487a4717d7e49ab">&#9670;&nbsp;</a></span>oldestAccountTxPage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">RelationalDatabase::AccountTxs</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">RelationalDatabase::AccountTxMarker</a> &gt; &gt; ripple::SQLiteDatabaseImp::oldestAccountTxPage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>oldestAccountTxPage Returns the oldest transactions for the account that matches the given criteria starting from the provided marker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxPageOptions which contains the criteria to match: the account, the ledger search range, the marker of first returned entry, the number of transactions to return, a flag if this number is unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of pairs of found transactions and their metadata sorted in ascending order by account sequence and a marker for the next search if the search was not finished. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ac1afb68e9c97b8685cb6680dc83c8832">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01319">1319</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a85b4d5e55ba01c5921c92d5d0920b22e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b4d5e55ba01c5921c92d5d0920b22e">&#9670;&nbsp;</a></span>newestAccountTxPage()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">RelationalDatabase::AccountTxs</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">RelationalDatabase::AccountTxMarker</a> &gt; &gt; ripple::SQLiteDatabaseImp::newestAccountTxPage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>newestAccountTxPage Returns the newest transactions for the account that matches the given criteria starting from the provided marker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxPageOptions which contains the criteria to match: the account, the ledger search range, the marker of the first returned entry, the number of transactions to return, a flag if this number unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of pairs of found transactions and their metadata sorted in descending order by account sequence and a marker for the next search if the search was not finished. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a155f7608fd1c9dc006b3056f89a1468e">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01381">1381</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="afa54b84a8ecb4b7ba566c0f5a5c30d9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa54b84a8ecb4b7ba566c0f5a5c30d9d">&#9670;&nbsp;</a></span>oldestAccountTxPageB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">RelationalDatabase::MetaTxsList</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">RelationalDatabase::AccountTxMarker</a> &gt; &gt; ripple::SQLiteDatabaseImp::oldestAccountTxPageB </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>oldestAccountTxPageB Returns the oldest transactions in binary form for the account that matches the given criteria starting from the provided marker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxPageOptions which contains criteria to match: the account, the ledger search range, the marker of the first returned entry, the number of transactions to return, a flag if this number unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of tuples of found transactions, their metadata and account sequences sorted in ascending order by account sequence and a marker for the next search if the search was not finished. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ae71aa6cc40e67d60d5928f4d2950bbf8">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01443">1443</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ac62f019324949c96e8a8ca97602e975f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac62f019324949c96e8a8ca97602e975f">&#9670;&nbsp;</a></span>newestAccountTxPageB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">RelationalDatabase::MetaTxsList</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxMarker.html">RelationalDatabase::AccountTxMarker</a> &gt; &gt; ripple::SQLiteDatabaseImp::newestAccountTxPageB </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;&#160;</td>
<td class="paramname"><em>options</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>newestAccountTxPageB Returns the newest transactions in binary form for the account that matches the given criteria starting from the provided marker. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">options</td><td>Struct AccountTxPageOptions which contains the criteria to match: the account, the ledger search range, the marker of the first returned entry, the number of transactions to return, a flag if this number is unlimited. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Vector of tuples of found transactions, their metadata and account sequences sorted in descending order by account sequence and a marker for the next search if the search was not finished. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a45ea1d76a0fd86b7726f2865309eb174">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01504">1504</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a630c05d8f09b964965c5c5e17e655c89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a630c05d8f09b964965c5c5e17e655c89">&#9670;&nbsp;</a></span>getTransaction() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">RelationalDatabase::AccountTx</a>, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a> &gt; ripple::SQLiteDatabaseImp::getTransaction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&gt; const &amp;&#160;</td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;&#160;</td>
<td class="paramname"><em>ec</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01563">1563</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a311a803593ac3b5ce62b3263f4d298bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a311a803593ac3b5ce62b3263f4d298bd">&#9670;&nbsp;</a></span>ledgerDbHasSpace()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::ledgerDbHasSpace </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>ledgerDbHasSpace Checks if the ledger database has available space. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">config</td><td><a class="el" href="classripple_1_1Config.html">Config</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if space is available. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a7d4e0e3c03536c80901f72355139a483">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01612">1612</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a004a13d01781eb4ffd043a0934c99b39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a004a13d01781eb4ffd043a0934c99b39">&#9670;&nbsp;</a></span>transactionDbHasSpace()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::transactionDbHasSpace </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>transactionDbHasSpace Checks if the transaction database has available space. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">config</td><td><a class="el" href="classripple_1_1Config.html">Config</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if space is available. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1RelationalDatabase.html#a59c527306560ba3cf9d774fc73ee29a4">ripple::RelationalDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01632">1632</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ae53c9caa41b8e7ccb388eed3cd284f51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae53c9caa41b8e7ccb388eed3cd284f51">&#9670;&nbsp;</a></span>getKBUsedAll()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::SQLiteDatabaseImp::getKBUsedAll </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getKBUsedAll Returns the amount of space used by all databases. </p>
<dl class="section return"><dt>Returns</dt><dd>Space in kilobytes. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#af00c81d707db5d1f879bb52f85b28ed1">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01655">1655</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a0c6246b1494f48fbc6ace6103aa58709"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c6246b1494f48fbc6ace6103aa58709">&#9670;&nbsp;</a></span>getKBUsedLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::SQLiteDatabaseImp::getKBUsedLedger </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getKBUsedLedger Returns the amount of space space used by the ledger database. </p>
<dl class="section return"><dt>Returns</dt><dd>Space in kilobytes. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a4f38be8f80a20cada5459ad2876ad0d6">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01677">1677</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a2763fc54ad1f93f70851aac5b5c4d7b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2763fc54ad1f93f70851aac5b5c4d7b8">&#9670;&nbsp;</a></span>getKBUsedTransaction()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::SQLiteDatabaseImp::getKBUsedTransaction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getKBUsedTransaction Returns the amount of space used by the transaction database. </p>
<dl class="section return"><dt>Returns</dt><dd>Space in kilobytes. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#ac131d4135f585dc3de3a3299e8e7d9f0">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01699">1699</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ada571789aefdc3916dab9b653f5601c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada571789aefdc3916dab9b653f5601c8">&#9670;&nbsp;</a></span>closeLedgerDB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::closeLedgerDB </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Closes the ledger database. </p>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#aa935aeab43d3dd979d77e272b4618c8a">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01724">1724</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ab16c6006228623ffe27221b5fa0c1048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab16c6006228623ffe27221b5fa0c1048">&#9670;&nbsp;</a></span>closeTransactionDB()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::SQLiteDatabaseImp::closeTransactionDB </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Closes the transaction database. </p>
<p>Implements <a class="el" href="classripple_1_1SQLiteDatabase.html#a1991e2e82aa49d171cecfc1e3d0e80a3">ripple::SQLiteDatabase</a>.</p>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l01730">1730</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="acbf39bd208b7d7567fb9e174edc32f70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbf39bd208b7d7567fb9e174edc32f70">&#9670;&nbsp;</a></span>makeLedgerDBs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::makeLedgerDBs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> const &amp;&#160;</td>
<td class="paramname"><em>setup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> const &amp;&#160;</td>
<td class="paramname"><em>checkpointerSetup</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>makeLedgerDBs Opens ledger and transaction databases for the node store, and stores their descriptors in private member variables. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">config</td><td><a class="el" href="classripple_1_1Config.html">Config</a> object. </td></tr>
<tr><td class="paramname">setup</td><td>Path to the databases and other opening parameters. </td></tr>
<tr><td class="paramname">checkpointerSetup</td><td><a class="el" href="classripple_1_1Checkpointer.html">Checkpointer</a> parameters. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if node databases opened successfully. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00444">444</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a11359b8b20e4317c875a79aa20e0071c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11359b8b20e4317c875a79aa20e0071c">&#9670;&nbsp;</a></span>makeMetaDBs()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::makeMetaDBs </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">DatabaseCon::Setup</a> const &amp;&#160;</td>
<td class="paramname"><em>setup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">DatabaseCon::CheckpointerSetup</a> const &amp;&#160;</td>
<td class="paramname"><em>checkpointerSetup</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>makeMetaDBs Opens shard index lookup databases, and stores their descriptors in private member variables. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">config</td><td><a class="el" href="classripple_1_1Config.html">Config</a> object. </td></tr>
<tr><td class="paramname">setup</td><td>Path to the databases and other opening parameters. </td></tr>
<tr><td class="paramname">checkpointerSetup</td><td><a class="el" href="classripple_1_1Checkpointer.html">Checkpointer</a> parameters. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if node databases opened successfully. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00457">457</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a1d4a6b01109bf87c51f0edf8431d028b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d4a6b01109bf87c51f0edf8431d028b">&#9670;&nbsp;</a></span>seqToShardIndex()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::SQLiteDatabaseImp::seqToShardIndex </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>seqToShardIndex Provides the index of the shard that stores the ledger with the given sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Shard index. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00235">235</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a9e23578d106c8ef8b2586375dd55777b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e23578d106c8ef8b2586375dd55777b">&#9670;&nbsp;</a></span>firstLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ripple::SQLiteDatabaseImp::firstLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>shardIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>firstLedgerSeq Returns the sequence of the first ledger stored in the shard specified by the shard index parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shardIndex</td><td>Shard Index. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>First ledger sequence. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00247">247</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="af25aefe9f8f3c73a4f2d73edac4a2e75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af25aefe9f8f3c73a4f2d73edac4a2e75">&#9670;&nbsp;</a></span>lastLedgerSeq()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ripple::SQLiteDatabaseImp::lastLedgerSeq </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td>
<td class="paramname"><em>shardIndex</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>lastLedgerSeq Returns the sequence of the last ledger stored in the shard specified by the shard index parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">shardIndex</td><td>Shard Index. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Last ledger sequence. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00259">259</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ae10a434652dd848c9a6dda20bc15d50a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae10a434652dd848c9a6dda20bc15d50a">&#9670;&nbsp;</a></span>existsLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::existsLedger </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>existsLedger Checks if the node store ledger database exists. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the node store ledger database exists. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00269">269</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a6ba039b08c558e8693c55569e3c26e03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ba039b08c558e8693c55569e3c26e03">&#9670;&nbsp;</a></span>existsTransaction()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::existsTransaction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>existsTransaction Checks if the node store transaction database exists. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the node store transaction database exists. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00280">280</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="aa8e62d19d93273369a88e1b4a1e4979d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8e62d19d93273369a88e1b4a1e4979d">&#9670;&nbsp;</a></span>shardStoreExists()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::shardStoreExists </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>shardStoreExists Checks whether the shard store exists </p>
<dl class="section return"><dt>Returns</dt><dd>True if the shard store exists </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00290">290</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a29039ef9254588a5a10f6311d5815893"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29039ef9254588a5a10f6311d5815893">&#9670;&nbsp;</a></span>checkoutLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">auto ripple::SQLiteDatabaseImp::checkoutLedger </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>checkoutTransaction Checks out and returns node store ledger database. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Session.html" title="Persistent state information for a connection session.">Session</a> to the node store ledger database. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00301">301</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a4d4192acf87e1c136752222f7a03cbe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d4192acf87e1c136752222f7a03cbe6">&#9670;&nbsp;</a></span>checkoutTransaction()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">auto ripple::SQLiteDatabaseImp::checkoutTransaction </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>checkoutTransaction Checks out and returns the node store transaction database. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Session.html" title="Persistent state information for a connection session.">Session</a> to the node store transaction database. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00312">312</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a3c351b47b3d6eda6c43c343300b5d340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c351b47b3d6eda6c43c343300b5d340">&#9670;&nbsp;</a></span>doLedger()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::doLedger </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>doLedger Checks out the ledger database owned by the shard containing the given ledger, and invokes the provided callback with a session to that database. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Value returned by callback function. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00326">326</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a8a048b4ecbbf20e1c18721d839fa12ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a048b4ecbbf20e1c18721d839fa12ac">&#9670;&nbsp;</a></span>doTransaction()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::doTransaction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a>&#160;</td>
<td class="paramname"><em>ledgerSeq</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>doTransaction Checks out the transaction database owned by the shard containing the given ledger, and invokes the provided callback with a session to that database. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ledgerSeq</td><td><a class="el" href="classripple_1_1Ledger.html" title="Holds a ledger.">Ledger</a> sequence. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Value returned by callback function. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00343">343</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="acc51bd168df11f589dadee3859fc68a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc51bd168df11f589dadee3859fc68a4">&#9670;&nbsp;</a></span>iterateLedgerForward()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::iterateLedgerForward </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td>
<td class="paramname"><em>firstIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>iterateLedgerForward Checks out ledger databases for all shards in ascending order starting from the given shard index, until all shards in range have been visited or the callback returns false. </p>
<p>For each visited shard, we invoke the provided callback with a session to the database and the current shard index. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">firstIndex</td><td>First shard index to visit or no value if all shards should be visited. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if each callback function returned true, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00363">363</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="ac12fe8fcf0b5b5d4ad6dd01e616c6b91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac12fe8fcf0b5b5d4ad6dd01e616c6b91">&#9670;&nbsp;</a></span>iterateTransactionForward()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::iterateTransactionForward </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td>
<td class="paramname"><em>firstIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>iterateTransactionForward Checks out transaction databases for all shards in ascending order starting from the given shard index, until all shards in range have been visited or the callback returns false. </p>
<p>For each visited shard, we invoke the provided callback with a session to the database and the current shard index. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">firstIndex</td><td>First shard index to visit or no value if all shards should be visited. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if each callback function returned true, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00386">386</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a1d77e126a605d18a7337e4adbe54df3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d77e126a605d18a7337e4adbe54df3a">&#9670;&nbsp;</a></span>iterateLedgerBack()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::iterateLedgerBack </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td>
<td class="paramname"><em>firstIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>iterateLedgerBack Checks out ledger databases for all shards in descending order starting from the given shard index, until all shards in range have been visited or the callback returns false. </p>
<p>For each visited shard, we invoke the provided callback with a session to the database and the current shard index. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">firstIndex</td><td>First shard index to visit or no value if all shards should be visited. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if each callback function returned true, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00409">409</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="aa8e3a31b3f01a2bf93ae3f19631fa007"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8e3a31b3f01a2bf93ae3f19631fa007">&#9670;&nbsp;</a></span>iterateTransactionBack()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::SQLiteDatabaseImp::iterateTransactionBack </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> &gt;&#160;</td>
<td class="paramname"><em>firstIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt; bool(soci::session &amp;session, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> shardIndex)&gt; const &amp;&#160;</td>
<td class="paramname"><em>callback</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>iterateTransactionBack Checks out transaction databases for all shards in descending order starting from the given shard index, until all shards in range have been visited or the callback returns false. </p>
<p>For each visited shard, we invoke the provided callback with a session to the database and the current shard index. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">firstIndex</td><td>First shard index to visit or no value if all shards should be visited. </td></tr>
<tr><td class="paramname">callback</td><td>Callback function to call. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if each callback function returned true, false otherwise. </dd></dl>
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00432">432</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a6150ef6dd54710e698ac43ee7c6a9519"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6150ef6dd54710e698ac43ee7c6a9519">&#9670;&nbsp;</a></span>getTransaction() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/variant.html">std::variant</a>&lt;<a class="el" href="classripple_1_1RelationalDatabase.html#a251e55e3d5aa9b4e4d1a7eebe2157d46">AccountTx</a>, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cc">TxSearched</a>&gt; ripple::SQLiteDatabase::getTransaction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;&#160;</td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#a79dcedfb918a7b371ab7797ae9d9bf23">ClosedInterval</a>&lt; uint32_t &gt;&gt; const &amp;&#160;</td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;&#160;</td>
<td class="paramname"><em>ec</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>getTransaction Returns the transaction with the given hash. </p>
<p>If a range is provided but the transaction is not found, then check if all ledgers in the range are present in the database. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>Hash of the transaction. </td></tr>
<tr><td class="paramname">range</td><td>Range of ledgers to check, if present. </td></tr>
<tr><td class="paramname">ec</td><td>Default error code value. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classripple_1_1Transaction.html">Transaction</a> and its metadata if found, otherwise <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaa181a603769c1f98ad927e7367c7aa51">TxSearched::all</a> if a range is provided and all ledgers from the range are present in the database, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66cca03d59e663c1af9ac33a9949d1193505a">TxSearched::some</a> if a range is provided and not all ledgers are present, <a class="el" href="namespaceripple.html#a7ffb3f54d739bb8f967d695f08fb66ccaad921d60486366258809553a3db49a4a">TxSearched::unknown</a> if the range is not provided or a deserializing error occurred. In the last case the error code is returned via the ec parameter, in other cases the default error code is not changed. </dd></dl>
</div>
</div>
<a id="a7f08e20557d394e761662ff29373f467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f08e20557d394e761662ff29373f467">&#9670;&nbsp;</a></span>init()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1RelationalDatabase.html">RelationalDatabase</a> &gt; ripple::RelationalDatabase::init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1Application.html">Application</a> &amp;&#160;</td>
<td class="paramname"><em>app</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Config.html">Config</a> const &amp;&#160;</td>
<td class="paramname"><em>config</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;&#160;</td>
<td class="paramname"><em>jobQueue</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>init Creates and returns an appropriate <a class="el" href="classripple_1_1RelationalDatabase.html">RelationalDatabase</a> instance based on configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">app</td><td><a class="el" href="classripple_1_1Application.html">Application</a> object. </td></tr>
<tr><td class="paramname">config</td><td><a class="el" href="classripple_1_1Config.html">Config</a> object. </td></tr>
<tr><td class="paramname">jobQueue</td><td><a class="el" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work.">JobQueue</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Unique pointer to the interface. </dd></dl>
<p class="definition">Definition at line <a class="el" href="RelationalDatabase_8cpp_source.html#l00034">34</a> of file <a class="el" href="RelationalDatabase_8cpp_source.html">RelationalDatabase.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aad7297b4d9d77d669bf66aa160c700ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad7297b4d9d77d669bf66aa160c700ab">&#9670;&nbsp;</a></span>app_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1Application.html">Application</a>&amp; ripple::SQLiteDatabaseImp::app_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00194">194</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="aec23ece1ddff48202e4ba943bfbf2cba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec23ece1ddff48202e4ba943bfbf2cba">&#9670;&nbsp;</a></span>useTxTables_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const bool ripple::SQLiteDatabaseImp::useTxTables_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00195">195</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a07d7c8564eaf426f4444540bb3d684e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d7c8564eaf426f4444540bb3d684e1">&#9670;&nbsp;</a></span>j_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> ripple::SQLiteDatabaseImp::j_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00196">196</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a26796c9926a06e46b0524e71a7608f16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26796c9926a06e46b0524e71a7608f16">&#9670;&nbsp;</a></span>lgrdb_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>&gt; ripple::SQLiteDatabaseImp::lgrdb_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00197">197</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a0b469edba2587706cdf5094ac67b8a7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b469edba2587706cdf5094ac67b8a7d">&#9670;&nbsp;</a></span>txdb_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>&gt; ripple::SQLiteDatabaseImp::txdb_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00197">197</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="af8a19f846d6bb4ac5ba4b63417ae8fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8a19f846d6bb4ac5ba4b63417ae8fc7">&#9670;&nbsp;</a></span>lgrMetaDB_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>&gt; ripple::SQLiteDatabaseImp::lgrMetaDB_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00198">198</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
<a id="a8b3af9dd1fb7aed2437c7610e7bc3e54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b3af9dd1fb7aed2437c7610e7bc3e54">&#9670;&nbsp;</a></span>txMetaDB_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a>&gt; ripple::SQLiteDatabaseImp::txMetaDB_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="SQLiteDatabase_8cpp_source.html#l00198">198</a> of file <a class="el" href="SQLiteDatabase_8cpp_source.html">SQLiteDatabase.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>