mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Limit changed node count
This commit is contained in:
@@ -532,7 +532,11 @@ Transactor::operator()()
|
||||
bool didApply = isTesSuccess (terResult);
|
||||
auto fee = tx().getTransactionFee ();
|
||||
|
||||
if (isTecClaim (terResult) && !(view().flags() & tapRETRY))
|
||||
if (view().size() > 5200)
|
||||
terResult = tecOVERSIZE;
|
||||
|
||||
if ((terResult == tecOVERSIZE) ||
|
||||
(isTecClaim (terResult) && !(view().flags() & tapRETRY)))
|
||||
{
|
||||
// only claim the transaction fee
|
||||
JLOG(j_.debug) <<
|
||||
|
||||
Reference in New Issue
Block a user