20 #ifndef RIPPLE_TEST_JTX_MULTISIGN_H_INCLUDED
21 #define RIPPLE_TEST_JTX_MULTISIGN_H_INCLUDED
25 #include <test/jtx/Account.h>
26 #include <test/jtx/amount.h>
27 #include <test/jtx/owners.h>
28 #include <test/jtx/tags.h>
80 Reg(
char const* masterSig) :
acct(masterSig),
sig(masterSig)
84 Reg(
char const* acct_,
char const* regularSig)
101 template <
class AccountType,
class... Accounts>
102 explicit msig(AccountType&& a0, Accounts&&... aN)
104 std::forward<AccountType>(a0),
105 std::forward<Accounts>(aN)...}}
Reg(char const *masterSig)
std::optional< uint256 > tag
msig(std::vector< Reg > signers_)
bool operator<(Reg const &rhs) const
Set a multisignature on a JTx.
A signer in a SignerList.
Json::Value signers(Account const &account, std::uint32_t quorum, std::vector< signer > const &v)
Execution context for applying a JSON transaction.
Set the regular signature on a JTx.
void operator()(Env &, JTx &jt) const
std::vector< Reg > signers
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Reg(char const *acct_, char const *regularSig)
Reg(Account const &acct_, Account const ®ularSig)
Immutable cryptographic account descriptor.
msig(AccountType &&a0, Accounts &&... aN)
Reg(Account const &masterSig)
signer(Account account_, std::uint32_t weight_=1, std::optional< uint256 > tag_=std::nullopt)
A transaction testing environment.