mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 18:26:51 +00:00
Retried transactions that tec move from TxQ to open ledger:
* Unit test of tec code handling. * Extra TxQ debug logging
This commit is contained in:
committed by
Nik Bougalis
parent
7427cf7506
commit
16b9bbb517
@@ -88,16 +88,13 @@ preflight1 (PreflightContext const& ctx)
|
||||
NotTEC
|
||||
preflight2 (PreflightContext const& ctx)
|
||||
{
|
||||
if(!( ctx.flags & tapNO_CHECK_SIGN))
|
||||
auto const sigValid = checkValidity(ctx.app.getHashRouter(),
|
||||
ctx.tx, ctx.rules, ctx.app.config());
|
||||
if (sigValid.first == Validity::SigBad)
|
||||
{
|
||||
auto const sigValid = checkValidity(ctx.app.getHashRouter(),
|
||||
ctx.tx, ctx.rules, ctx.app.config());
|
||||
if (sigValid.first == Validity::SigBad)
|
||||
{
|
||||
JLOG(ctx.j.debug()) <<
|
||||
"preflight2: bad signature. " << sigValid.second;
|
||||
return temINVALID;
|
||||
}
|
||||
JLOG(ctx.j.debug()) <<
|
||||
"preflight2: bad signature. " << sigValid.second;
|
||||
return temINVALID;
|
||||
}
|
||||
return tesSUCCESS;
|
||||
}
|
||||
@@ -638,7 +635,7 @@ Transactor::operator()()
|
||||
result = tecOVERSIZE;
|
||||
|
||||
if ((result == tecOVERSIZE) ||
|
||||
(isTecClaim (result) && !(view().flags() & tapRETRY)))
|
||||
(isTecClaimHardFail (result, view().flags())))
|
||||
{
|
||||
JLOG(j_.trace()) << "reapplying because of " << transToken(result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user