20 #include <ripple/app/ledger/LedgerToJson.h>
21 #include <ripple/app/main/Application.h>
22 #include <ripple/app/misc/LoadFeeTrack.h>
23 #include <ripple/json/Object.h>
24 #include <ripple/protocol/ErrorCodes.h>
25 #include <ripple/protocol/jss.h>
26 #include <ripple/resource/Fees.h>
27 #include <ripple/rpc/Role.h>
28 #include <ripple/rpc/handlers/LedgerHandler.h>
29 #include <ripple/rpc/impl/RPCHelpers.h>
42 bool needsLedger = params.
isMember(jss::ledger) ||
43 params.isMember(jss::ledger_hash) || params.isMember(jss::ledger_index);
50 bool const full = params[jss::full].asBool();
51 bool const transactions = params[jss::transactions].asBool();
52 bool const accounts = params[jss::accounts].asBool();
53 bool const expand = params[jss::expand].asBool();
54 bool const binary = params[jss::binary].asBool();
55 bool const owner_funds = params[jss::owner_funds].asBool();
56 bool const queue = params[jss::queue].asBool();
std::vector< TxDetails > getTxs(ReadView const &view) const
Returns information about all transactions currently in the queue.
const Charge feeMediumBurdenRPC
Resource::Charge & loadType
std::shared_ptr< ReadView const > ledger_
Status lookupLedger(std::shared_ptr< ReadView const > &ledger, JsonContext &context, Json::Value &result)
Look up a ledger from a request and fill a Json::Result with the data representing a ledger.
virtual LoadFeeTrack & getFeeTrack()=0
bool isLoadedLocal() const
bool isMember(const char *key) const
Return true if the object has a member named key.
Status represents the results of an operation that might fail.
bool isUnlimited(Role const &role)
ADMIN and IDENTIFIED roles shall have unlimited resources.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
LedgerHandler(JsonContext &)
std::pair< RPC::Status, LedgerEntryType > chooseLedgerEntryType(Json::Value const ¶ms)
std::vector< TxQ::TxDetails > queueTxs_
const Charge feeHighBurdenRPC