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