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