From 2d1b98609e59dd51ddb3dd6d744388d563d70e5e Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 21 Feb 2013 12:36:16 -0800 Subject: [PATCH] Temporarily limit getAccountTx to 200 transactions. --- src/cpp/ripple/NetworkOPs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index aa10741dea..364f4dee37 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -1063,7 +1063,7 @@ std::vector< std::pair > std::string sql = str(boost::format("SELECT LedgerSeq,Status,RawTxn,TxnMeta FROM Transactions where TransID in (SELECT TransID from AccountTransactions " - " WHERE Account = '%s' AND LedgerSeq <= '%d' AND LedgerSeq >= '%d' LIMIT 1000) ORDER BY LedgerSeq;") + " WHERE Account = '%s' AND LedgerSeq <= '%d' AND LedgerSeq >= '%d' LIMIT 200) ORDER BY LedgerSeq;") % account.humanAccountID() % maxLedger % minLedger); {