20 #include <ripple/protocol/jss.h>
21 #include <test/jtx/flags.h>
31 jv[jss::Account] = account.human();
32 jv[jss::TransactionType] = jss::AccountSet;
34 jv[jss::SetFlag] = on;
36 jv[jss::ClearFlag] = off;
44 if (sle->isFieldPresent(
sfFlags))
54 if (sle->isFieldPresent(
sfFlags))
void operator()(Env &env) const
const SF_U32 sfFlags(access, STI_UINT32, 2, "Flags")
Json::Value fset(Account const &account, std::uint32_t on, std::uint32_t off=0)
Add and/or remove flag.
beast::unit_test::suite & test
void operator()(Env &env) const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::shared_ptr< SLE const > le(Account const &account) const
Return an account root.
Immutable cryptographic account descriptor.
A transaction testing environment.