mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Minor cleanup.
This commit is contained in:
@@ -1091,13 +1091,13 @@ std::string
|
|||||||
boost::str(boost::format("SELECT %s FROM "
|
boost::str(boost::format("SELECT %s FROM "
|
||||||
"AccountTransactions INNER JOIN Transactions ON Transactions.TransID = AccountTransactions.TransID "
|
"AccountTransactions INNER JOIN Transactions ON Transactions.TransID = AccountTransactions.TransID "
|
||||||
"WHERE Account = '%s' %s %s "
|
"WHERE Account = '%s' %s %s "
|
||||||
"ORDER BY AccountTransactions.LedgerSeq %sSC, AccountTransactions.TransID %sSC LIMIT %u, %u;")
|
"ORDER BY AccountTransactions.LedgerSeq %s, AccountTransactions.TransID %s LIMIT %u, %u;")
|
||||||
% selection
|
% selection
|
||||||
% account.humanAccountID()
|
% account.humanAccountID()
|
||||||
% maxClause
|
% maxClause
|
||||||
% minClause
|
% minClause
|
||||||
% (descending ? "DE" : "A")
|
% (descending ? "DESC" : "ASC")
|
||||||
% (descending ? "DE" : "A")
|
% (descending ? "DESC" : "ASC")
|
||||||
% boost::lexical_cast<std::string>(offset)
|
% boost::lexical_cast<std::string>(offset)
|
||||||
% boost::lexical_cast<std::string>(numberOfResults)
|
% boost::lexical_cast<std::string>(numberOfResults)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ public:
|
|||||||
|
|
||||||
std::vector<RippleAddress> getLedgerAffectedAccounts(uint32 ledgerSeq);
|
std::vector<RippleAddress> getLedgerAffectedAccounts(uint32 ledgerSeq);
|
||||||
std::vector<SerializedTransaction> getLedgerTransactions(uint32 ledgerSeq);
|
std::vector<SerializedTransaction> getLedgerTransactions(uint32 ledgerSeq);
|
||||||
uint32 NetworkOPs::countAccountTxs(const RippleAddress& account, int32 minLedger, int32 maxLedger, uint32 offset);
|
uint32 countAccountTxs(const RippleAddress& account, int32 minLedger, int32 maxLedger, uint32 offset);
|
||||||
//
|
//
|
||||||
// Monitoring: publisher side
|
// Monitoring: publisher side
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user