mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +00:00
Properly handle configurations where use_tx_tables = 0
This commit is contained in:
@@ -277,7 +277,11 @@ getTxHistory(
|
||||
* @param j Journal.
|
||||
* @return Vector of pairs of found transactions and their metadata
|
||||
* 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>
|
||||
getOldestAccountTxs(
|
||||
@@ -304,7 +308,11 @@ getOldestAccountTxs(
|
||||
* @param j Journal.
|
||||
* @return Vector of pairs of found transactions and their metadata
|
||||
* 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>
|
||||
getNewestAccountTxs(
|
||||
@@ -331,7 +339,11 @@ getNewestAccountTxs(
|
||||
* @param j Journal.
|
||||
* @return Vector of tuples of found transactions, their metadata and
|
||||
* 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>
|
||||
getOldestAccountTxsB(
|
||||
@@ -357,7 +369,11 @@ getOldestAccountTxsB(
|
||||
* @param j Journal.
|
||||
* @return Vector of tuples of found transactions, their metadata and
|
||||
* 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>
|
||||
getNewestAccountTxsB(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -798,7 +798,11 @@ transactionsSQL(
|
||||
* @param j Journal.
|
||||
* @return Vector of pairs of found transactions and its metadata
|
||||
* 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>
|
||||
getAccountTxs(
|
||||
@@ -937,7 +941,11 @@ getNewestAccountTxs(
|
||||
* @param j Journal.
|
||||
* @return Vector of tuples of found transactions, its metadata and
|
||||
* 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>
|
||||
getAccountTxsB(
|
||||
|
||||
Reference in New Issue
Block a user