61 if (context.app.getOPs().isAmendmentBlocked() && (condition_required !=
NO_CONDITION))
66 if (context.app.getOPs().isUNLBlocked() && (condition_required !=
NO_CONDITION))
74 JLOG(context.j.info()) <<
"Insufficient network mode for RPC: "
75 << context.netOps.strOperatingMode();
77 if (context.apiVersion == 1)
82 if (!context.app.config().standalone() && condition_required !=
NO_CONDITION)
86 if (context.apiVersion == 1)
91 auto const cID = context.ledgerMaster.getCurrentLedgerIndex();
92 auto const vID = context.ledgerMaster.getValidLedgerIndex();
96 JLOG(context.j.debug()) <<
"Current ledger ID(" << cID
97 <<
") is less than validated ledger ID(" << vID <<
")";
98 if (context.apiVersion == 1)
104 if ((condition_required !=
NO_CONDITION) && !context.ledgerMaster.getClosedLedger())
106 if (context.apiVersion == 1)