mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 12:35:50 +00:00
Properly handle configurations where use_tx_tables = 0
This commit is contained in:
@@ -277,7 +277,11 @@ getTxHistory(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of pairs of found transactions and their metadata
|
* @return Vector of pairs of found transactions and their metadata
|
||||||
* sorted in ascending order by account sequence.
|
* sorted in ascending order by account sequence.
|
||||||
* Also number of transactions processed.
|
* Also number of transactions processed or skpiied.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
std::pair<RelationalDBInterface::AccountTxs, int>
|
std::pair<RelationalDBInterface::AccountTxs, int>
|
||||||
getOldestAccountTxs(
|
getOldestAccountTxs(
|
||||||
@@ -304,7 +308,11 @@ getOldestAccountTxs(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of pairs of found transactions and their metadata
|
* @return Vector of pairs of found transactions and their metadata
|
||||||
* sorted in descending order by account sequence.
|
* sorted in descending order by account sequence.
|
||||||
* Also number of transactions processed.
|
* Also number of transactions processed or skipped.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
std::pair<RelationalDBInterface::AccountTxs, int>
|
std::pair<RelationalDBInterface::AccountTxs, int>
|
||||||
getNewestAccountTxs(
|
getNewestAccountTxs(
|
||||||
@@ -331,7 +339,11 @@ getNewestAccountTxs(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of tuples of found transactions, their metadata and
|
* @return Vector of tuples of found transactions, their metadata and
|
||||||
* account sequences sorted in ascending order by account
|
* account sequences sorted in ascending order by account
|
||||||
* sequence. Also number of transactions processed.
|
* sequence. Also number of transactions processed or skpiied.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
||||||
getOldestAccountTxsB(
|
getOldestAccountTxsB(
|
||||||
@@ -357,7 +369,11 @@ getOldestAccountTxsB(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of tuples of found transactions, their metadata and
|
* @return Vector of tuples of found transactions, their metadata and
|
||||||
* account sequences sorted in descending order by account
|
* account sequences sorted in descending order by account
|
||||||
* sequence. Also number of transactions processed.
|
* sequence. Also number of transactions processed or skpiied.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
||||||
getNewestAccountTxsB(
|
getNewestAccountTxsB(
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -798,7 +798,11 @@ transactionsSQL(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of pairs of found transactions and its metadata
|
* @return Vector of pairs of found transactions and its metadata
|
||||||
* sorted in given order by account sequence.
|
* sorted in given order by account sequence.
|
||||||
* Also number of transactions processed.
|
* Also the number of transactions processed or skipped.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
static std::pair<RelationalDBInterface::AccountTxs, int>
|
static std::pair<RelationalDBInterface::AccountTxs, int>
|
||||||
getAccountTxs(
|
getAccountTxs(
|
||||||
@@ -937,7 +941,11 @@ getNewestAccountTxs(
|
|||||||
* @param j Journal.
|
* @param j Journal.
|
||||||
* @return Vector of tuples of found transactions, its metadata and
|
* @return Vector of tuples of found transactions, its metadata and
|
||||||
* account sequences sorted in given order by account
|
* account sequences sorted in given order by account
|
||||||
* sequence. Also number of transactions processed.
|
* sequence. Also number of transactions processed or skipped.
|
||||||
|
* If this number is >= 0, then it means number of transactions
|
||||||
|
* processed, if it is < 0, then ~number means number of transactions
|
||||||
|
* skipped. We need to skip some quantity of transactions if option
|
||||||
|
* offset is > 0 in the options structure.
|
||||||
*/
|
*/
|
||||||
static std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
static std::pair<std::vector<RelationalDBInterface::txnMetaLedgerType>, int>
|
||||||
getAccountTxsB(
|
getAccountTxsB(
|
||||||
|
|||||||
Reference in New Issue
Block a user