18 #include <ripple/app/tx/apply.h>
19 #include <ripple/protocol/STAccount.h>
79 BEAST_EXPECT(reason ==
"Cannot submit pseudo transactions.");
84 BEAST_EXPECT(!result.second && result.first ==
temINVALID);
const SF_UINT32 sfReserveBase
BEAST_DEFINE_TESTSUITE(AccountDelete, app, ripple)
const SF_UINT32 sfLedgerSequence
std::pair< TER, bool > apply(Application &app, OpenView &view, STTx const &tx, ApplyFlags flags, beast::Journal journal)
Apply a transaction to an OpenView.
const SF_ACCOUNT sfDestination
std::shared_ptr< ReadView const > closed()
Returns the last closed ledger.
Writable ledger view that accumulates state and tx changes.
const SF_HASH256 sfAmendment
virtual OpenLedger & openLedger()=0
bool isPseudoTx(STObject const &tx)
Check whether a transaction is a pseudo-transaction.
bool passesLocalChecks(STObject const &st, std::string &reason)
const SF_UINT32 sfReserveIncrement
A generic endpoint for log messages.
const SF_UINT64 sfBaseFee
Set the sequence number on a JTx.
T emplace_back(T... args)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::vector< STTx > getRealTxs()
const SF_UINT32 sfReferenceFeeUnits
const SF_ACCOUNT sfAccount
std::vector< STTx > getPseudoTxs(std::uint32_t seq)
bool modify(modify_type const &f)
Modify the open ledger.
A transaction testing environment.