1#include <xrpld/app/ledger/AcceptedLedgerTx.h> 
    3#include <xrpl/basics/Log.h> 
    4#include <xrpl/basics/StringUtilities.h> 
    5#include <xrpl/protocol/UintTypes.h> 
    6#include <xrpl/protocol/jss.h> 
   15    , mMeta(txn->getTransactionID(), ledger->seq(), *met)
 
   16    , mAffected(mMeta.getAffectedAccounts())
 
   20        "ripple::AcceptedLedgerTx::AcceptedLedgerTx : valid ledger state");
 
   41    if (
mTxn->getTxnType() == ttOFFER_CREATE)
 
   43        auto const& account = 
mTxn->getAccountID(sfAccount);
 
   44        auto const amount = 
mTxn->getFieldAmount(sfTakerGets);
 
   47        if (account != amount.issue().account)
 
   55            mJson[jss::transaction][jss::owner_funds] = ownerFunds.getText();
 
 
   65        "ripple::AcceptedLedgerTx::getEscMeta : metadata is set");
 
 
Value & append(Value const &value)
Append value to array at the end.
 
A generic endpoint for log messages.
 
static Sink & getNullSink()
Returns a Sink which does nothing.
 
boost::container::flat_set< AccountID > mAffected
 
std::shared_ptr< STTx const  > mTxn
 
AcceptedLedgerTx(std::shared_ptr< ReadView const > const &ledger, std::shared_ptr< STTx const > const &, std::shared_ptr< STObject const > const &)
 
std::string getEscMeta() const
 
@ arrayValue
array value (ordered list)
 
@ objectValue
object value (collection of name/value pairs).
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::string transHuman(TER code)
 
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
 
STAmount accountFunds(ReadView const &view, AccountID const &id, STAmount const &saDefault, FreezeHandling freezeHandling, beast::Journal j)
 
std::string sqlBlobLiteral(Blob const &blob)
Format arbitrary binary data as an SQLite "blob literal".
 
std::string strHex(FwdIt begin, FwdIt end)