xrpld
Loading...
Searching...
No Matches
SubmitMultiSigned.cpp
1#include <xrpld/app/ledger/LedgerMaster.h>
2#include <xrpld/rpc/Context.h>
3#include <xrpld/rpc/detail/TransactionSign.h>
4
5#include <xrpl/json/json_value.h>
6#include <xrpl/protocol/jss.h>
7#include <xrpl/resource/Fees.h>
8
9namespace xrpl {
10
11// {
12// SigningAccounts <array>,
13// tx_json: <object>,
14// }
15json::Value
17{
19 auto const failHard = context.params[jss::fail_hard].asBool();
20 auto const failType = NetworkOPs::doFailHard(failHard);
21
23 context.params,
24 context.apiVersion,
25 failType,
26 context.role,
28 context.app,
30}
31
32} // namespace xrpl
bool asBool() const
std::chrono::seconds getValidatedLedgerAge()
static FailHard doFailHard(bool noMeansDont)
Definition NetworkOPs.h:77
json::Value transactionSubmitMultiSigned(json::Value jvRequest, unsigned apiVersion, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app, ProcessTransactionFn const &processTransaction)
Returns a json::ValueType::Object.
ProcessTransactionFn getProcessTxnFn(NetworkOPs &netOPs)
Charge const kFeeHeavyBurdenRpc
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
json::Value doSubmitMultiSigned(RPC::JsonContext &)
Application & app
Definition Context.h:21
Resource::Charge & loadType
Definition Context.h:22
unsigned int apiVersion
Definition Context.h:29
LedgerMaster & ledgerMaster
Definition Context.h:24
NetworkOPs & netOps
Definition Context.h:23
json::Value params
Definition Context.h:43