Files
rippled/classripple_1_1SQLiteDatabase.html
2025-11-04 00:36:48 -08:00

1817 lines
117 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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::SQLiteDatabase 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 id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</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_1SQLiteDatabase.html">SQLiteDatabase</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="classripple_1_1SQLiteDatabase-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::SQLiteDatabase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="SQLiteDatabase_8h_source.html">SQLiteDatabase.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ripple::SQLiteDatabase:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1SQLiteDatabase__inherit__graph.png" border="0" usemap="#aripple_1_1SQLiteDatabase_inherit__map" alt="Inheritance graph"/></div>
<map name="aripple_1_1SQLiteDatabase_inherit__map" id="aripple_1_1SQLiteDatabase_inherit__map">
<area shape="rect" title=" " alt="" coords="18,79,189,104"/>
<area shape="rect" href="classripple_1_1SQLiteDatabaseImp.html" title=" " alt="" coords="5,152,201,177"/>
<area shape="poly" title=" " alt="" coords="106,118,106,152,101,152,101,118"/>
<area shape="rect" href="classripple_1_1RelationalDatabase.html" title=" " alt="" coords="6,5,201,31"/>
<area shape="poly" title=" " alt="" coords="106,44,106,79,101,79,101,44"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::SQLiteDatabase:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1SQLiteDatabase__coll__graph.png" border="0" usemap="#aripple_1_1SQLiteDatabase_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1SQLiteDatabase_coll__map" id="aripple_1_1SQLiteDatabase_coll__map">
<area shape="rect" title=" " alt="" coords="17,79,188,104"/>
<area shape="rect" href="classripple_1_1RelationalDatabase.html" title=" " alt="" coords="5,5,200,31"/>
<area shape="poly" title=" " alt="" coords="105,44,105,79,100,79,100,44"/>
</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 id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a251e55e3d5aa9b4e4d1a7eebe2157d46" id="r_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" id="r_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" id="r_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" id="r_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" id="r_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" id="r_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" id="r_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" id="r_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 id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa0ccc137ba3a87bfb50c3e0762e9842a" id="r_aa0ccc137ba3a87bfb50c3e0762e9842a"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#aa0ccc137ba3a87bfb50c3e0762e9842a">getTransactionsMinLedgerSeq</a> ()=0</td></tr>
<tr class="memdesc:aa0ccc137ba3a87bfb50c3e0762e9842a"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the Transactions table. <br /></td></tr>
<tr class="separator:aa0ccc137ba3a87bfb50c3e0762e9842a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2e1df48da2d5d853a8ed23655f5ed2" id="r_a5b2e1df48da2d5d853a8ed23655f5ed2"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#a5b2e1df48da2d5d853a8ed23655f5ed2">getAccountTransactionsMinLedgerSeq</a> ()=0</td></tr>
<tr class="memdesc:a5b2e1df48da2d5d853a8ed23655f5ed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAccountTransactionsMinLedgerSeq Returns the minimum ledger sequence stored in the AccountTransactions table. <br /></td></tr>
<tr class="separator:a5b2e1df48da2d5d853a8ed23655f5ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbdf3a4d0d49983560c578a53bc8354d" id="r_acbdf3a4d0d49983560c578a53bc8354d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#acbdf3a4d0d49983560c578a53bc8354d">deleteTransactionByLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)=0</td></tr>
<tr class="memdesc:acbdf3a4d0d49983560c578a53bc8354d"><td class="mdescLeft">&#160;</td><td class="mdescRight">deleteTransactionByLedgerSeq Deletes transactions from the ledger with the given sequence. <br /></td></tr>
<tr class="separator:acbdf3a4d0d49983560c578a53bc8354d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5b2a5e4096c7ad01f42fb62a924a89" id="r_aca5b2a5e4096c7ad01f42fb62a924a89"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#aca5b2a5e4096c7ad01f42fb62a924a89">deleteBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)=0</td></tr>
<tr class="memdesc:aca5b2a5e4096c7ad01f42fb62a924a89"><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. <br /></td></tr>
<tr class="separator:aca5b2a5e4096c7ad01f42fb62a924a89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae34d58125b27b65f2e57b37bb8ec6b39" id="r_ae34d58125b27b65f2e57b37bb8ec6b39"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#ae34d58125b27b65f2e57b37bb8ec6b39">deleteTransactionsBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)=0</td></tr>
<tr class="memdesc:ae34d58125b27b65f2e57b37bb8ec6b39"><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. <br /></td></tr>
<tr class="separator:ae34d58125b27b65f2e57b37bb8ec6b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9dd9b7acdb0c304fd994148fdbc0d8" id="r_a9c9dd9b7acdb0c304fd994148fdbc0d8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a9c9dd9b7acdb0c304fd994148fdbc0d8">deleteAccountTransactionsBeforeLedgerSeq</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)=0</td></tr>
<tr class="memdesc:a9c9dd9b7acdb0c304fd994148fdbc0d8"><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. <br /></td></tr>
<tr class="separator:a9c9dd9b7acdb0c304fd994148fdbc0d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9126a8d3f257b1108a9d783823040de" id="r_ad9126a8d3f257b1108a9d783823040de"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#ad9126a8d3f257b1108a9d783823040de">getTransactionCount</a> ()=0</td></tr>
<tr class="memdesc:ad9126a8d3f257b1108a9d783823040de"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransactionCount Returns the number of transactions. <br /></td></tr>
<tr class="separator:ad9126a8d3f257b1108a9d783823040de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb2f609a8add65fb702e840ae74c7422" id="r_acb2f609a8add65fb702e840ae74c7422"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#acb2f609a8add65fb702e840ae74c7422">getAccountTransactionCount</a> ()=0</td></tr>
<tr class="memdesc:acb2f609a8add65fb702e840ae74c7422"><td class="mdescLeft">&#160;</td><td class="mdescRight">getAccountTransactionCount Returns the number of account transactions. <br /></td></tr>
<tr class="separator:acb2f609a8add65fb702e840ae74c7422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8061eae3aade5b8a609ffac38506de8" id="r_aa8061eae3aade5b8a609ffac38506de8"><td class="memItemLeft" align="right" valign="top">virtual struct <a class="el" href="structripple_1_1RelationalDatabase_1_1CountMinMax.html">CountMinMax</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#aa8061eae3aade5b8a609ffac38506de8">getLedgerCountMinMax</a> ()=0</td></tr>
<tr class="memdesc:aa8061eae3aade5b8a609ffac38506de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerCountMinMax Returns the minimum ledger sequence, maximum ledger sequence and total number of saved ledgers. <br /></td></tr>
<tr class="separator:aa8061eae3aade5b8a609ffac38506de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f78cede303ac2d3d89b2efd8912f998" id="r_a3f78cede303ac2d3d89b2efd8912f998"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a3f78cede303ac2d3d89b2efd8912f998">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 <a class="el" href="namespaceripple.html#a6434c1a0fd22b77e2e4a228c0eca79eba43b5c9175984c071f30b873fdce0a000">current</a>)=0</td></tr>
<tr class="memdesc:a3f78cede303ac2d3d89b2efd8912f998"><td class="mdescLeft">&#160;</td><td class="mdescRight">saveValidatedLedger Saves a ledger into the database. <br /></td></tr>
<tr class="separator:a3f78cede303ac2d3d89b2efd8912f998"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8e1f66c6c3d018f9e7dde1bf6ed26c1" id="r_af8e1f66c6c3d018f9e7dde1bf6ed26c1"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#af8e1f66c6c3d018f9e7dde1bf6ed26c1">getLimitedOldestLedgerInfo</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerFirstIndex)=0</td></tr>
<tr class="memdesc:af8e1f66c6c3d018f9e7dde1bf6ed26c1"><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. <br /></td></tr>
<tr class="separator:af8e1f66c6c3d018f9e7dde1bf6ed26c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a298b73c72766ae6ee4eb188c2fb06d89" id="r_a298b73c72766ae6ee4eb188c2fb06d89"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a298b73c72766ae6ee4eb188c2fb06d89">getLimitedNewestLedgerInfo</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerFirstIndex)=0</td></tr>
<tr class="memdesc:a298b73c72766ae6ee4eb188c2fb06d89"><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. <br /></td></tr>
<tr class="separator:a298b73c72766ae6ee4eb188c2fb06d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba0fc6478e272cbeb9c172258dda8d13" id="r_aba0fc6478e272cbeb9c172258dda8d13"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#aba0fc6478e272cbeb9c172258dda8d13">getOldestAccountTxs</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:aba0fc6478e272cbeb9c172258dda8d13"><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. <br /></td></tr>
<tr class="separator:aba0fc6478e272cbeb9c172258dda8d13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076c4517fb3fde3f5f4105e69d985d66" id="r_a076c4517fb3fde3f5f4105e69d985d66"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a076c4517fb3fde3f5f4105e69d985d66">getNewestAccountTxs</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:a076c4517fb3fde3f5f4105e69d985d66"><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. <br /></td></tr>
<tr class="separator:a076c4517fb3fde3f5f4105e69d985d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5b7b346306521cf5a5fc675a70481f" id="r_aed5b7b346306521cf5a5fc675a70481f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#aed5b7b346306521cf5a5fc675a70481f">getOldestAccountTxsB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:aed5b7b346306521cf5a5fc675a70481f"><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. <br /></td></tr>
<tr class="separator:aed5b7b346306521cf5a5fc675a70481f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9f7208ff8c828f62cd043df2cfcdcad" id="r_ae9f7208ff8c828f62cd043df2cfcdcad"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#ae9f7208ff8c828f62cd043df2cfcdcad">getNewestAccountTxsB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxOptions.html">AccountTxOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:ae9f7208ff8c828f62cd043df2cfcdcad"><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. <br /></td></tr>
<tr class="separator:ae9f7208ff8c828f62cd043df2cfcdcad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe2ad4444844b60867d461364add1abf" id="r_afe2ad4444844b60867d461364add1abf"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#afe2ad4444844b60867d461364add1abf">oldestAccountTxPage</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:afe2ad4444844b60867d461364add1abf"><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. <br /></td></tr>
<tr class="separator:afe2ad4444844b60867d461364add1abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f2aa034753d87903467ab77447bd1a1" id="r_a3f2aa034753d87903467ab77447bd1a1"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#a3f2aa034753d87903467ab77447bd1a1">newestAccountTxPage</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:a3f2aa034753d87903467ab77447bd1a1"><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. <br /></td></tr>
<tr class="separator:a3f2aa034753d87903467ab77447bd1a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0c01787da6d57636cc09d9bf6816f7" id="r_a1d0c01787da6d57636cc09d9bf6816f7"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#a1d0c01787da6d57636cc09d9bf6816f7">oldestAccountTxPageB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:a1d0c01787da6d57636cc09d9bf6816f7"><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. <br /></td></tr>
<tr class="separator:a1d0c01787da6d57636cc09d9bf6816f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae55af6cc4f981b97ecc6b83c74d7f654" id="r_ae55af6cc4f981b97ecc6b83c74d7f654"><td class="memItemLeft" align="right" valign="top">virtual <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_1SQLiteDatabase.html#ae55af6cc4f981b97ecc6b83c74d7f654">newestAccountTxPageB</a> (<a class="el" href="structripple_1_1RelationalDatabase_1_1AccountTxPageOptions.html">AccountTxPageOptions</a> const &amp;options)=0</td></tr>
<tr class="memdesc:ae55af6cc4f981b97ecc6b83c74d7f654"><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. <br /></td></tr>
<tr class="separator:ae55af6cc4f981b97ecc6b83c74d7f654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a642192dab83633d70fd5d7635c7a8c" id="r_a1a642192dab83633d70fd5d7635c7a8c"><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#a1a642192dab83633d70fd5d7635c7a8c">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#ac1258b27600294cf1c6dc05ce3cf58d3">range</a>, <a class="el" href="namespaceripple.html#a32d6d3ce1a48272b677d2c88b1d30932">error_code_i</a> &amp;ec)=0</td></tr>
<tr class="memdesc:a1a642192dab83633d70fd5d7635c7a8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTransaction Returns the transaction with the given hash. <br /></td></tr>
<tr class="separator:a1a642192dab83633d70fd5d7635c7a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af00c81d707db5d1f879bb52f85b28ed1" id="r_af00c81d707db5d1f879bb52f85b28ed1"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#af00c81d707db5d1f879bb52f85b28ed1">getKBUsedAll</a> ()=0</td></tr>
<tr class="memdesc:af00c81d707db5d1f879bb52f85b28ed1"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedAll Returns the amount of space used by all databases. <br /></td></tr>
<tr class="separator:af00c81d707db5d1f879bb52f85b28ed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f38be8f80a20cada5459ad2876ad0d6" id="r_a4f38be8f80a20cada5459ad2876ad0d6"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a4f38be8f80a20cada5459ad2876ad0d6">getKBUsedLedger</a> ()=0</td></tr>
<tr class="memdesc:a4f38be8f80a20cada5459ad2876ad0d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedLedger Returns the amount of space space used by the ledger database. <br /></td></tr>
<tr class="separator:a4f38be8f80a20cada5459ad2876ad0d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac131d4135f585dc3de3a3299e8e7d9f0" id="r_ac131d4135f585dc3de3a3299e8e7d9f0"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#ac131d4135f585dc3de3a3299e8e7d9f0">getKBUsedTransaction</a> ()=0</td></tr>
<tr class="memdesc:ac131d4135f585dc3de3a3299e8e7d9f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">getKBUsedTransaction Returns the amount of space used by the transaction database. <br /></td></tr>
<tr class="separator:ac131d4135f585dc3de3a3299e8e7d9f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa935aeab43d3dd979d77e272b4618c8a" id="r_aa935aeab43d3dd979d77e272b4618c8a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#aa935aeab43d3dd979d77e272b4618c8a">closeLedgerDB</a> ()=0</td></tr>
<tr class="memdesc:aa935aeab43d3dd979d77e272b4618c8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the ledger database. <br /></td></tr>
<tr class="separator:aa935aeab43d3dd979d77e272b4618c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1991e2e82aa49d171cecfc1e3d0e80a3" id="r_a1991e2e82aa49d171cecfc1e3d0e80a3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1SQLiteDatabase.html#a1991e2e82aa49d171cecfc1e3d0e80a3">closeTransactionDB</a> ()=0</td></tr>
<tr class="memdesc:a1991e2e82aa49d171cecfc1e3d0e80a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the transaction database. <br /></td></tr>
<tr class="separator:a1991e2e82aa49d171cecfc1e3d0e80a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf44d77817b8dab02b31c974817aaa29" id="r_acf44d77817b8dab02b31c974817aaa29"><td class="memItemLeft" align="right" valign="top">virtual <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_1RelationalDatabase.html#acf44d77817b8dab02b31c974817aaa29">getMinLedgerSeq</a> ()=0</td></tr>
<tr class="memdesc:acf44d77817b8dab02b31c974817aaa29"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMinLedgerSeq Returns the minimum ledger sequence in the Ledgers table. <br /></td></tr>
<tr class="separator:acf44d77817b8dab02b31c974817aaa29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e5c168f1ca0906e6df4b07e488863aa" id="r_a6e5c168f1ca0906e6df4b07e488863aa"><td class="memItemLeft" align="right" valign="top">virtual <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_1RelationalDatabase.html#a6e5c168f1ca0906e6df4b07e488863aa">getMaxLedgerSeq</a> ()=0</td></tr>
<tr class="memdesc:a6e5c168f1ca0906e6df4b07e488863aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMaxLedgerSeq Returns the maximum ledger sequence in the Ledgers table. <br /></td></tr>
<tr class="separator:a6e5c168f1ca0906e6df4b07e488863aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a388e80415da1da75b45ecf011a64f5dd" id="r_a388e80415da1da75b45ecf011a64f5dd"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a388e80415da1da75b45ecf011a64f5dd">getLedgerInfoByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerSeq)=0</td></tr>
<tr class="memdesc:a388e80415da1da75b45ecf011a64f5dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerInfoByIndex Returns a ledger by its sequence. <br /></td></tr>
<tr class="separator:a388e80415da1da75b45ecf011a64f5dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b8bd40f0332c84bf71ef73d32bd91c" id="r_a21b8bd40f0332c84bf71ef73d32bd91c"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a21b8bd40f0332c84bf71ef73d32bd91c">getNewestLedgerInfo</a> ()=0</td></tr>
<tr class="memdesc:a21b8bd40f0332c84bf71ef73d32bd91c"><td class="mdescLeft">&#160;</td><td class="mdescRight">getNewestLedgerInfo Returns the info of the newest saved ledger. <br /></td></tr>
<tr class="separator:a21b8bd40f0332c84bf71ef73d32bd91c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae42b5ec856d806da94e9ebf4560e3ee4" id="r_ae42b5ec856d806da94e9ebf4560e3ee4"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#ae42b5ec856d806da94e9ebf4560e3ee4">getLedgerInfoByHash</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &amp;ledgerHash)=0</td></tr>
<tr class="memdesc:ae42b5ec856d806da94e9ebf4560e3ee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">getLedgerInfoByHash Returns the info of the ledger with given hash. <br /></td></tr>
<tr class="separator:ae42b5ec856d806da94e9ebf4560e3ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae73b0356cc96e29c9c66e52f64aeac0d" id="r_ae73b0356cc96e29c9c66e52f64aeac0d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#ae73b0356cc96e29c9c66e52f64aeac0d">getHashByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerIndex)=0</td></tr>
<tr class="memdesc:ae73b0356cc96e29c9c66e52f64aeac0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashByIndex Returns the hash of the ledger with the given sequence. <br /></td></tr>
<tr class="separator:ae73b0356cc96e29c9c66e52f64aeac0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9513642103dc26cb1b207e9a0a87074e" id="r_a9513642103dc26cb1b207e9a0a87074e"><td class="memItemLeft" align="right" valign="top">virtual <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_1RelationalDatabase.html#a9513642103dc26cb1b207e9a0a87074e">getHashesByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> ledgerIndex)=0</td></tr>
<tr class="memdesc:a9513642103dc26cb1b207e9a0a87074e"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashesByIndex Returns the hashes of the ledger and its parent as specified by the ledgerIndex. <br /></td></tr>
<tr class="separator:a9513642103dc26cb1b207e9a0a87074e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0ab4bafca46dbbfc446c3a540e2da9d" id="r_ae0ab4bafca46dbbfc446c3a540e2da9d"><td class="memItemLeft" align="right" valign="top">virtual <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_1RelationalDatabase.html#ae0ab4bafca46dbbfc446c3a540e2da9d">getHashesByIndex</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> minSeq, <a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> maxSeq)=0</td></tr>
<tr class="memdesc:ae0ab4bafca46dbbfc446c3a540e2da9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">getHashesByIndex Returns hashes of each ledger and its parent for all ledgers within the provided range. <br /></td></tr>
<tr class="separator:ae0ab4bafca46dbbfc446c3a540e2da9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488a2779ee9aa65c2e349df6a99bad58" id="r_a488a2779ee9aa65c2e349df6a99bad58"><td class="memItemLeft" align="right" valign="top">virtual <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_1RelationalDatabase.html#a488a2779ee9aa65c2e349df6a99bad58">getTxHistory</a> (<a class="el" href="namespaceripple.html#a12af8e98b794e8ee3b4dbecaed2a4efd">LedgerIndex</a> startIndex)=0</td></tr>
<tr class="memdesc:a488a2779ee9aa65c2e349df6a99bad58"><td class="mdescLeft">&#160;</td><td class="mdescRight">getTxHistory Returns the 20 most recent transactions starting from the given number. <br /></td></tr>
<tr class="separator:a488a2779ee9aa65c2e349df6a99bad58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4e0e3c03536c80901f72355139a483" id="r_a7d4e0e3c03536c80901f72355139a483"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a7d4e0e3c03536c80901f72355139a483">ledgerDbHasSpace</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config)=0</td></tr>
<tr class="memdesc:a7d4e0e3c03536c80901f72355139a483"><td class="mdescLeft">&#160;</td><td class="mdescRight">ledgerDbHasSpace Checks if the ledger database has available space. <br /></td></tr>
<tr class="separator:a7d4e0e3c03536c80901f72355139a483"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59c527306560ba3cf9d774fc73ee29a4" id="r_a59c527306560ba3cf9d774fc73ee29a4"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1RelationalDatabase.html#a59c527306560ba3cf9d774fc73ee29a4">transactionDbHasSpace</a> (<a class="el" href="classripple_1_1Config.html">Config</a> const &amp;config)=0</td></tr>
<tr class="memdesc:a59c527306560ba3cf9d774fc73ee29a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">transactionDbHasSpace Checks if the transaction database has available space. <br /></td></tr>
<tr class="separator:a59c527306560ba3cf9d774fc73ee29a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7f08e20557d394e761662ff29373f467" id="r_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. <br /></td></tr>
<tr class="separator:a7f08e20557d394e761662ff29373f467"><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_8h_source.html#l00008">8</a> of file <a class="el" href="SQLiteDatabase_8h_source.html">SQLiteDatabase.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a251e55e3d5aa9b4e4d1a7eebe2157d46" name="a251e55e3d5aa9b4e4d1a7eebe2157d46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a251e55e3d5aa9b4e4d1a7eebe2157d46">&#9670;&#160;</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#l00066">66</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a1af9139d7f4c8f662c7b8e49473a21e2" name="a1af9139d7f4c8f662c7b8e49473a21e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af9139d7f4c8f662c7b8e49473a21e2">&#9670;&#160;</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#l00068">68</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ad49d721f8f069c1ee9652b93a3485423" name="ad49d721f8f069c1ee9652b93a3485423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad49d721f8f069c1ee9652b93a3485423">&#9670;&#160;</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#l00069">69</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a183ed7f35d368ec4564d8083fe9656f3" name="a183ed7f35d368ec4564d8083fe9656f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a183ed7f35d368ec4564d8083fe9656f3">&#9670;&#160;</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#l00070">70</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="affdfbc3c5f0f2d7b78cc5570617a5fda" name="affdfbc3c5f0f2d7b78cc5570617a5fda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affdfbc3c5f0f2d7b78cc5570617a5fda">&#9670;&#160;</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#l00072">72</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ae6ed6a653c43698a1480c0230b1e99aa" name="ae6ed6a653c43698a1480c0230b1e99aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6ed6a653c43698a1480c0230b1e99aa">&#9670;&#160;</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#l00073">73</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="a99c471461c2b0858d240f98034c6fda3" name="a99c471461c2b0858d240f98034c6fda3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99c471461c2b0858d240f98034c6fda3">&#9670;&#160;</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#l00074">74</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<a id="ae6edb30f534bd5669ee659789aa22e86" name="ae6edb30f534bd5669ee659789aa22e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6edb30f534bd5669ee659789aa22e86">&#9670;&#160;</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#l00075">75</a> of file <a class="el" href="RelationalDatabase_8h_source.html">RelationalDatabase.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa0ccc137ba3a87bfb50c3e0762e9842a" name="aa0ccc137ba3a87bfb50c3e0762e9842a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0ccc137ba3a87bfb50c3e0762e9842a">&#9670;&#160;</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">virtual <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::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae374cbf0f84d61f22c7002dc99972702">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a5b2e1df48da2d5d853a8ed23655f5ed2" name="a5b2e1df48da2d5d853a8ed23655f5ed2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b2e1df48da2d5d853a8ed23655f5ed2">&#9670;&#160;</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">virtual <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::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a526e18b895cb05e3b11afcf873f753da">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="acbdf3a4d0d49983560c578a53bc8354d" name="acbdf3a4d0d49983560c578a53bc8354d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbdf3a4d0d49983560c578a53bc8354d">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a137372b4f77322421d5246dc38f0f3a0">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="aca5b2a5e4096c7ad01f42fb62a924a89" name="aca5b2a5e4096c7ad01f42fb62a924a89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca5b2a5e4096c7ad01f42fb62a924a89">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a5f975b07c8e05828e9e3d3e78bcb4dc3">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae34d58125b27b65f2e57b37bb8ec6b39" name="ae34d58125b27b65f2e57b37bb8ec6b39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae34d58125b27b65f2e57b37bb8ec6b39">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#adc1c35fcd35784c629263d0f4ba8319c">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a9c9dd9b7acdb0c304fd994148fdbc0d8" name="a9c9dd9b7acdb0c304fd994148fdbc0d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c9dd9b7acdb0c304fd994148fdbc0d8">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a9f67b355f65928ebf0be25dcfd9c2cbe">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ad9126a8d3f257b1108a9d783823040de" name="ad9126a8d3f257b1108a9d783823040de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9126a8d3f257b1108a9d783823040de">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> ripple::SQLiteDatabase::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">pure 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><a class="el" href="classripple_1_1Number.html">Number</a> of transactions. </dd></dl>
<p>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a31c3906dc94bb608821c5f9c3e4bd056">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="acb2f609a8add65fb702e840ae74c7422" name="acb2f609a8add65fb702e840ae74c7422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb2f609a8add65fb702e840ae74c7422">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> ripple::SQLiteDatabase::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">pure 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><a class="el" href="classripple_1_1Number.html">Number</a> of account transactions. </dd></dl>
<p>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a6828f44ae053fc1ef628028202dc8fac">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="aa8061eae3aade5b8a609ffac38506de8" name="aa8061eae3aade5b8a609ffac38506de8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8061eae3aade5b8a609ffac38506de8">&#9670;&#160;</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">virtual struct <a class="el" href="structripple_1_1RelationalDatabase_1_1CountMinMax.html">CountMinMax</a> ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ac31771f3903ed779fd0e8710740a4bc2">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a3f78cede303ac2d3d89b2efd8912f998" name="a3f78cede303ac2d3d89b2efd8912f998"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f78cede303ac2d3d89b2efd8912f998">&#9670;&#160;</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">virtual bool ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2beb06c18310e331fa63e18d5470f02c">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="af8e1f66c6c3d018f9e7dde1bf6ed26c1" name="af8e1f66c6c3d018f9e7dde1bf6ed26c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8e1f66c6c3d018f9e7dde1bf6ed26c1">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a0713cfb94435bed560441b22c96461df">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a298b73c72766ae6ee4eb188c2fb06d89" name="a298b73c72766ae6ee4eb188c2fb06d89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a298b73c72766ae6ee4eb188c2fb06d89">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8c990ed554556dd75199764f00111977">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="aba0fc6478e272cbeb9c172258dda8d13" name="aba0fc6478e272cbeb9c172258dda8d13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba0fc6478e272cbeb9c172258dda8d13">&#9670;&#160;</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">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a> ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a01f36374986f646a7e1dc7ebe3338396">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a076c4517fb3fde3f5f4105e69d985d66" name="a076c4517fb3fde3f5f4105e69d985d66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a076c4517fb3fde3f5f4105e69d985d66">&#9670;&#160;</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">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a1af9139d7f4c8f662c7b8e49473a21e2">AccountTxs</a> ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae599defe00f0da32090b81ef59816bd9">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="aed5b7b346306521cf5a5fc675a70481f" name="aed5b7b346306521cf5a5fc675a70481f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed5b7b346306521cf5a5fc675a70481f">&#9670;&#160;</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">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a> ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a365710cee46fedbaa173571e64727f7c">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae9f7208ff8c828f62cd043df2cfcdcad" name="ae9f7208ff8c828f62cd043df2cfcdcad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9f7208ff8c828f62cd043df2cfcdcad">&#9670;&#160;</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">virtual <a class="el" href="classripple_1_1RelationalDatabase.html#a183ed7f35d368ec4564d8083fe9656f3">MetaTxsList</a> ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#adebca7f101a69aa985b72c15ecb213ad">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="afe2ad4444844b60867d461364add1abf" name="afe2ad4444844b60867d461364add1abf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe2ad4444844b60867d461364add1abf">&#9670;&#160;</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">virtual <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; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1b664c1e18596bbc0487a4717d7e49ab">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a3f2aa034753d87903467ab77447bd1a1" name="a3f2aa034753d87903467ab77447bd1a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f2aa034753d87903467ab77447bd1a1">&#9670;&#160;</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">virtual <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; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a85b4d5e55ba01c5921c92d5d0920b22e">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a1d0c01787da6d57636cc09d9bf6816f7" name="a1d0c01787da6d57636cc09d9bf6816f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d0c01787da6d57636cc09d9bf6816f7">&#9670;&#160;</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">virtual <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; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#afa54b84a8ecb4b7ba566c0f5a5c30d9d">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae55af6cc4f981b97ecc6b83c74d7f654" name="ae55af6cc4f981b97ecc6b83c74d7f654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae55af6cc4f981b97ecc6b83c74d7f654">&#9670;&#160;</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">virtual <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; ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ac62f019324949c96e8a8ca97602e975f">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a1a642192dab83633d70fd5d7635c7a8c" name="a1a642192dab83633d70fd5d7635c7a8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a642192dab83633d70fd5d7635c7a8c">&#9670;&#160;</a></span>getTransaction()</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> </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="af00c81d707db5d1f879bb52f85b28ed1" name="af00c81d707db5d1f879bb52f85b28ed1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af00c81d707db5d1f879bb52f85b28ed1">&#9670;&#160;</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">virtual uint32_t ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ae53c9caa41b8e7ccb388eed3cd284f51">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a4f38be8f80a20cada5459ad2876ad0d6" name="a4f38be8f80a20cada5459ad2876ad0d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f38be8f80a20cada5459ad2876ad0d6">&#9670;&#160;</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">virtual uint32_t ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a0c6246b1494f48fbc6ace6103aa58709">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ac131d4135f585dc3de3a3299e8e7d9f0" name="ac131d4135f585dc3de3a3299e8e7d9f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac131d4135f585dc3de3a3299e8e7d9f0">&#9670;&#160;</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">virtual uint32_t ripple::SQLiteDatabase::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">pure 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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2763fc54ad1f93f70851aac5b5c4d7b8">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="aa935aeab43d3dd979d77e272b4618c8a" name="aa935aeab43d3dd979d77e272b4618c8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa935aeab43d3dd979d77e272b4618c8a">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Closes the ledger database. </p>
<p>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ada571789aefdc3916dab9b653f5601c8">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a1991e2e82aa49d171cecfc1e3d0e80a3" name="a1991e2e82aa49d171cecfc1e3d0e80a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1991e2e82aa49d171cecfc1e3d0e80a3">&#9670;&#160;</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">virtual void ripple::SQLiteDatabase::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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Closes the transaction database. </p>
<p>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ab16c6006228623ffe27221b5fa0c1048">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a7f08e20557d394e761662ff29373f467" name="a7f08e20557d394e761662ff29373f467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f08e20557d394e761662ff29373f467">&#9670;&#160;</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#l00011">11</a> of file <a class="el" href="RelationalDatabase_8cpp_source.html">RelationalDatabase.cpp</a>.</p>
</div>
</div>
<a id="acf44d77817b8dab02b31c974817aaa29" name="acf44d77817b8dab02b31c974817aaa29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf44d77817b8dab02b31c974817aaa29">&#9670;&#160;</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">virtual <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::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8730d0f70b92408cf5be5e83715ffb07">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a6e5c168f1ca0906e6df4b07e488863aa" name="a6e5c168f1ca0906e6df4b07e488863aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e5c168f1ca0906e6df4b07e488863aa">&#9670;&#160;</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">virtual <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::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a2654ba0e88a9e8aaa0e6686d90edf4ca">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a388e80415da1da75b45ecf011a64f5dd" name="a388e80415da1da75b45ecf011a64f5dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a388e80415da1da75b45ecf011a64f5dd">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt; ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#af98c9aa88ce231f95164cec02e58ed0d">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a21b8bd40f0332c84bf71ef73d32bd91c" name="a21b8bd40f0332c84bf71ef73d32bd91c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21b8bd40f0332c84bf71ef73d32bd91c">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt; ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a1416bd1f665f27453f8dce95f0818fbb">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae42b5ec856d806da94e9ebf4560e3ee4" name="ae42b5ec856d806da94e9ebf4560e3ee4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae42b5ec856d806da94e9ebf4560e3ee4">&#9670;&#160;</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">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a>&lt; <a class="el" href="namespaceripple.html#aaf521cde20561da32d6a54a105363555">LedgerInfo</a> &gt; ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a575ad184e70064a3e324ea435fa58333">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae73b0356cc96e29c9c66e52f64aeac0d" name="ae73b0356cc96e29c9c66e52f64aeac0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae73b0356cc96e29c9c66e52f64aeac0d">&#9670;&#160;</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">virtual <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#ad7796a6d5a4a4b0a7fd7feb7e23f612b">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a9513642103dc26cb1b207e9a0a87074e" name="a9513642103dc26cb1b207e9a0a87074e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9513642103dc26cb1b207e9a0a87074e">&#9670;&#160;</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">virtual <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::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a8e0a657a3892d93fdf957d892f1729c2">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="ae0ab4bafca46dbbfc446c3a540e2da9d" name="ae0ab4bafca46dbbfc446c3a540e2da9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0ab4bafca46dbbfc446c3a540e2da9d">&#9670;&#160;</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">virtual <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::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a5eb08bfeccc246735821bbd45a82c4b2">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a488a2779ee9aa65c2e349df6a99bad58" name="a488a2779ee9aa65c2e349df6a99bad58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a488a2779ee9aa65c2e349df6a99bad58">&#9670;&#160;</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">virtual <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::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a95e09f3d9aad4bddd230a858ebc523f0">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a7d4e0e3c03536c80901f72355139a483" name="a7d4e0e3c03536c80901f72355139a483"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d4e0e3c03536c80901f72355139a483">&#9670;&#160;</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">virtual bool ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a311a803593ac3b5ce62b3263f4d298bd">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
<a id="a59c527306560ba3cf9d774fc73ee29a4" name="a59c527306560ba3cf9d774fc73ee29a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59c527306560ba3cf9d774fc73ee29a4">&#9670;&#160;</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">virtual bool ripple::RelationalDatabase::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">pure virtual</span><span class="mlabel">inherited</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>Implemented in <a class="el" href="classripple_1_1SQLiteDatabaseImp.html#a004a13d01781eb4ffd043a0934c99b39">ripple::SQLiteDatabaseImp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>