1#include <xrpld/app/ledger/LedgerMaster.h>
2#include <xrpld/rpc/Context.h>
3#include <xrpld/rpc/Role.h>
4#include <xrpld/rpc/detail/TransactionSign.h>
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/ErrorCodes.h>
8#include <xrpl/protocol/jss.h>
9#include <xrpl/resource/Fees.h>
37 ret[jss::deprecated] =
38 "This command has been deprecated and will be "
39 "removed in a future version of the server. Please "
40 "migrate to a standalone signing tool.";
bool isMember(char const *key) const
Return true if the object has a member named key.
virtual Config & config()=0
std::chrono::seconds getValidatedLedgerAge()
static FailHard doFailHard(bool noMeansDont)
json::Value makeError(ErrorCodeI code)
Returns a new json object that reflects the error code.
json::Value transactionSign(json::Value jvRequest, unsigned apiVersion, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app)
Returns a json::ValueType::Object.
Charge const kFeeHeavyBurdenRpc
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
json::Value doSign(RPC::JsonContext &context)
Resource::Charge & loadType
LedgerMaster & ledgerMaster