20 #include <ripple/basics/contract.h>
21 #include <ripple/protocol/HashPrefix.h>
22 #include <ripple/protocol/Sign.h>
23 #include <ripple/protocol/UintTypes.h>
24 #include <ripple/protocol/jss.h>
27 #include <test/jtx/multisign.h>
28 #include <test/jtx/utility.h>
41 jv[jss::Account] = account.human();
42 jv[jss::TransactionType] = jss::SignerListSet;
49 je[jss::Account] = e.account.human();
61 jv[jss::Account] = account.human();
62 jv[jss::TransactionType] = jss::SignerListSet;
76 return lhs.acct.id() < rhs.acct.id();
99 auto const& e = mySigners[i];
101 jo[jss::Account] = e.acct.human();
102 jo[jss::SigningPubKey] =
strHex(e.sig.pk().slice());
const SF_UINT16 sfSignerWeight
An immutable linear range of bytes.
const SF_VL sfSigningPubKey
msig(std::vector< Reg > signers_)
Json::StaticString const & getJsonName() const
const SF_UINT32 sfSignerQuorum
std::optional< KeyType > publicKeyType(Slice const &slice)
Returns the type of public key.
Json::Value signers(Account const &account, std::uint32_t quorum, std::vector< signer > const &v)
void Rethrow()
Rethrow the exception currently being handled.
Execution context for applying a JSON transaction.
Set the regular signature on a JTx.
void operator()(Env &, JTx &jt) const
beast::unit_test::suite & test
std::function< void(Env &, JTx &)> signer
const SField sfSignerEntry
const SField sfSignerEntries
std::vector< Reg > signers
const SF_VL sfTxnSignature
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_UINT256 sfWalletLocator
Buffer sign(PublicKey const &pk, SecretKey const &sk, Slice const &m)
Generate a signature for a message.
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
Immutable cryptographic account descriptor.
std::string strHex(FwdIt begin, FwdIt end)
STObject parse(Json::Value const &jv)
Convert JSON to STObject.
Serializer buildMultiSigningData(STObject const &obj, AccountID const &signingID)
Return a Serializer suitable for computing a multisigning TxnSignature.
A transaction testing environment.