xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::proposal::verify Namespace Reference

Conditions that check what a proposal transaction did to the ledger. More...

Classes

class  Create
 The condition returned by create(); see it for what is checked. More...

Functions

Create create ()
 Check the ledger effects a TransactionProposalCreate must have, whatever its outcome: on tesSUCCESS a new proposal holding what was submitted, listed in the proposer's directory and paid for by its reserve; otherwise nothing moved.

Detailed Description

Conditions that check what a proposal transaction did to the ledger.

Each is named for the generator it verifies, so a submission and its check read as a pair, and the transactions that later sign or complete a proposal get their own entries here rather than sharing one.

Function Documentation

◆ create()

Create xrpl::test::jtx::proposal::verify::create ( )
nodiscard

Check the ledger effects a TransactionProposalCreate must have, whatever its outcome: on tesSUCCESS a new proposal holding what was submitted, listed in the proposer's directory and paid for by its reserve; otherwise nothing moved.

Nothing of the target's moves either way.

Create create()
Check the ledger effects a TransactionProposalCreate must have, whatever its outcome: on tesSUCCESS a...
Definition proposal.h:76
json::Value create(Account const &proposer, json::Value const &proposedTx, std::uint32_t expiration)
Build a TransactionProposalCreate carrying an unsigned proposed transaction.
Definition proposal.cpp:40
std::uint32_t expiration(Env &env, NetClock::duration delta)
An absolute expiration delta past the environment's current time.
Definition proposal.cpp:129

Definition at line 76 of file proposal.h.