1#include <test/jtx/sig.h>
3#include <test/jtx/Env.h>
4#include <test/jtx/JTx.h>
5#include <test/jtx/utility.h>
22 auto& sigObject = subField ?
jtx[*subField] :
jtx.jv;
A transaction testing environment.
std::optional< Account > account_
Account that will generate the signature.
SField const *const subField_
Alternative transaction object field in which to place the signature.
void operator()(Env &, JTx &jt) const
void sign(json::Value &jv, Account const &account, json::Value &sigObject)
Sign automatically into a specific Json field of the jv object.
Execution context for applying a JSON transaction.
std::vector< std::function< void(Env &, JTx &)> > postSigners
std::vector< std::function< void(Env &, JTx &)> > mainSigners