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
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.
@ ttFEE
This system-generated transaction type is used to update the network's fee settings.
virtual OpenLedger & openLedger()=0
@ ttAMENDMENT
This system-generated transaction type is used to update the status of the various amendments.
@ ttPAYMENT
This transaction type executes a payment.
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.
@ ttACCOUNT_SET
This transaction type adjusts various account settings.
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)
const SF_UINT256 sfAmendment
bool modify(modify_type const &f)
Modify the open ledger.
A transaction testing environment.
BEAST_DEFINE_TESTSUITE(DeliverMin, app, ripple)