61 if (context.app.getOPs().isAmendmentBlocked() && (condition_required !=
NO_CONDITION))
66 if (context.app.getOPs().isUNLBlocked() && (condition_required !=
NO_CONDITION))
73 JLOG(context.j.info()) <<
"Insufficient network mode for RPC: " << context.netOps.strOperatingMode();
75 if (context.apiVersion == 1)
80 if (!context.app.config().standalone() && condition_required !=
NO_CONDITION)
84 if (context.apiVersion == 1)
89 auto const cID = context.ledgerMaster.getCurrentLedgerIndex();
90 auto const vID = context.ledgerMaster.getValidLedgerIndex();
94 JLOG(context.j.debug()) <<
"Current ledger ID(" << cID <<
") is less than validated ledger ID(" << vID
96 if (context.apiVersion == 1)
102 if ((condition_required !=
NO_CONDITION) && !context.ledgerMaster.getClosedLedger())
104 if (context.apiVersion == 1)