Revert "Apply transaction batches in periodic intervals (#4504)" (#4852)

This reverts commit 002893f280.

There were two files with conflicts in the automated revert:

- src/ripple/rpc/impl/RPCHelpers.h and
- src/test/rpc/JSONRPC_test.cpp

Those files were manually resolved.
This commit is contained in:
Scott Schurr
2023-12-20 09:30:12 -08:00
committed by GitHub
parent ffb53f2085
commit c53a5e7a72
24 changed files with 167 additions and 402 deletions

View File

@@ -19,7 +19,6 @@
#include <ripple/app/misc/LoadFeeTrack.h>
#include <ripple/app/misc/TxQ.h>
#include <ripple/basics/SubmitSync.h>
#include <ripple/basics/contract.h>
#include <ripple/beast/unit_test.h>
#include <ripple/core/ConfigSections.h>
@@ -2499,7 +2498,7 @@ public:
fakeProcessTransaction(
std::shared_ptr<Transaction>&,
bool,
SubmitSync,
bool,
NetworkOPs::FailHard)
{
;
@@ -2549,8 +2548,7 @@ public:
Role role,
std::chrono::seconds validatedLedgerAge,
Application& app,
ProcessTransactionFn const& processTransaction,
RPC::SubmitSync sync);
ProcessTransactionFn const& processTransaction);
using TestStuff =
std::tuple<signFunc, submitFunc, char const*, unsigned int>;
@@ -2605,8 +2603,7 @@ public:
testRole,
1s,
env.app(),
processTxn,
RPC::SubmitSync::sync);
processTxn);
}
std::string errStr;