20 #include <ripple/app/ledger/AcceptedLedgerTx.h>
21 #include <ripple/app/main/Application.h>
22 #include <ripple/basics/Log.h>
23 #include <ripple/basics/StringUtilities.h>
24 #include <ripple/protocol/UintTypes.h>
25 #include <ripple/protocol/jss.h>
38 txn->getTransactionID(),
41 , mAffected(mMeta->getAffectedAccounts(logs.journal(
"View")))
42 , accountCache_(accountCache)
45 assert(!ledger->open());
65 , mAffected(txn->getMentionedAccounts())
66 , accountCache_(accountCache)
69 assert(ledger->open());
107 if (account != amount.issue().account)
115 mJson[jss::transaction][jss::owner_funds] = ownerFunds.getText();
std::shared_ptr< ReadView const > mLedger
Manages partitions for logging.
@ arrayValue
array value (ordered list)
const SF_Account sfAccount(access, STI_ACCOUNT, 1, "Account")
static std::string sqlEscape(std::string const &strSrc)
Caches the base58 representations of AccountIDs.
AcceptedLedgerTx(std::shared_ptr< ReadView const > const &ledger, std::shared_ptr< STTx const > const &, std::shared_ptr< STObject const > const &, AccountIDCache const &, Logs &)
AccountIDCache const & accountCache_
Value & append(const Value &value)
Append value to array at the end.
@ objectValue
object value (collection of name/value pairs).
std::string transHuman(TER code)
STAmount accountFunds(ReadView const &view, AccountID const &id, STAmount const &saDefault, FreezeHandling freezeHandling, beast::Journal j)
std::string getEscMeta() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::shared_ptr< STTx const > mTxn
beast::Journal journal(std::string const &name)
std::shared_ptr< TxMeta > mMeta
const SF_Amount sfTakerGets(access, STI_AMOUNT, 5, "TakerGets")
boost::container::flat_set< AccountID > mAffected
std::string strHex(FwdIt begin, FwdIt end)
std::string toBase58(AccountID const &) const
Return ripple::toBase58 for the AccountID.