|
xrpld
|
Execution context for applying a JSON transaction. More...
#include <JTx.h>

Classes | |
| struct | PropList |
Public Member Functions | |
| JTx ()=default | |
| JTx (JTx const &)=default | |
| JTx & | operator= (JTx const &)=default |
| JTx (JTx &&)=default | |
| JTx & | operator= (JTx &&)=default |
| JTx (json::Value &&jv) | |
| JTx (json::Value const &jv) | |
| template<class Key> | |
| json::Value & | operator[] (Key const &key) |
| template<class Prop> | |
| Prop * | get () |
| Return a property if it exists. | |
| template<class Prop> | |
| Prop const * | get () const |
| void | set (std::unique_ptr< BasicProp > p) |
| Set a property If the property already exists, it is replaced. | |
| template<class Prop, class... Args> | |
| void | set (Args &&... args) |
Public Attributes | |
| json::Value | jv |
| requires_t | require |
| std::optional< TER > | ter = TER{tesSUCCESS} |
| std::optional< std::pair< ErrorCodeI, std::string > > | rpcCode = std::nullopt |
| std::optional< std::pair< std::string, std::optional< std::string > > > | rpcException = std::nullopt |
| bool | fillFee = true |
| bool | fillSeq = true |
| bool | fillSig = true |
| bool | fillNetid = true |
| std::shared_ptr< STTx const > | stx |
| std::vector< std::function< void(Env &, JTx &)> > | mainSigners |
| std::vector< std::function< void(Env &, JTx &)> > | postSigners |
Private Attributes | |
| PropList | props_ |
Execution context for applying a JSON transaction.
This augments the transaction with various settings.
|
default |
|
default |
|
default |
| xrpl::test::jtx::JTx::JTx | ( | json::Value && | jv | ) |
| xrpl::test::jtx::JTx::JTx | ( | json::Value const & | jv | ) |
| json::Value & xrpl::test::jtx::JTx::operator[] | ( | Key const & | key | ) |
| void xrpl::test::jtx::JTx::set | ( | std::unique_ptr< BasicProp > | p | ) |
| void xrpl::test::jtx::JTx::set | ( | Args &&... | args | ) |
| json::Value xrpl::test::jtx::JTx::jv |
| requires_t xrpl::test::jtx::JTx::require |
| std::optional<TER> xrpl::test::jtx::JTx::ter = TER{tesSUCCESS} |
| std::optional<std::pair<ErrorCodeI, std::string> > xrpl::test::jtx::JTx::rpcCode = std::nullopt |
| std::optional<std::pair<std::string, std::optional<std::string> > > xrpl::test::jtx::JTx::rpcException = std::nullopt |
| std::shared_ptr<STTx const> xrpl::test::jtx::JTx::stx |
| std::vector<std::function<void(Env&, JTx&)> > xrpl::test::jtx::JTx::mainSigners |
| std::vector<std::function<void(Env&, JTx&)> > xrpl::test::jtx::JTx::postSigners |