20 #ifndef RIPPLE_RPC_TRANSACTIONSIGN_H_INCLUDED
21 #define RIPPLE_RPC_TRANSACTIONSIGN_H_INCLUDED
23 #include <ripple/app/misc/NetworkOPs.h>
24 #include <ripple/basics/SubmitSync.h>
25 #include <ripple/ledger/ApplyView.h>
26 #include <ripple/rpc/Role.h>
71 LoadFeeTrack
const& feeTrack,
73 Application
const& app);
91 transaction, bUnlimited,
sync,
true, failType);
Provides server functionality for clients.
SubmitSync
Possible values for defining synchronous behavior of the transaction submission API.
Json::Value transactionSignFor(Json::Value jvRequest, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app)
Returns a Json::objectValue.
Json::Value transactionSubmit(Json::Value jvRequest, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app, ProcessTransactionFn const &processTransaction, RPC::SubmitSync sync)
Returns a Json::objectValue.
virtual void processTransaction(std::shared_ptr< Transaction > &transaction, bool bUnlimited, RPC::SubmitSync sync, bool bLocal, FailHard failType)=0
Process a transaction.
Json::Value transactionSign(Json::Value jvRequest, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app)
Returns a Json::objectValue.
Json::Value checkFee(Json::Value &request, Role const role, bool doAutoFill, Config const &config, LoadFeeTrack const &feeTrack, TxQ const &txQ, Application const &app)
Fill in the fee on behalf of the client.
ProcessTransactionFn getProcessTxnFn(NetworkOPs &netOPs)
Json::Value transactionSubmitMultiSigned(Json::Value jvRequest, NetworkOPs::FailHard failType, Role role, std::chrono::seconds validatedLedgerAge, Application &app, ProcessTransactionFn const &processTransaction, RPC::SubmitSync sync)
Returns a Json::objectValue.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::function< void(std::shared_ptr< Transaction > &transaction, bool bUnlimited, RPC::SubmitSync sync, NetworkOPs::FailHard failType)> ProcessTransactionFn
Role
Indicates the level of administrative permission to grant.