20 #include <ripple/app/tx/impl/SignerEntries.h>
21 #include <ripple/basics/Log.h>
22 #include <ripple/protocol/STArray.h>
23 #include <ripple/protocol/STObject.h>
39 <<
"Malformed " << annotation <<
": Need signer entry array.";
44 auto& accountVec = s.
first;
48 for (
STObject const& sEntry : sEntries)
54 <<
"Malformed " << annotation <<
": Expected SignerEntry.";
62 accountVec.emplace_back(account, weight);
const STArray & getFieldArray(SField const &field) const
Stream trace() const
Severity stream access functions.
const SF_Account sfAccount(access, STI_ACCOUNT, 1, "Account")
const SField sfSignerEntries(access, STI_ARRAY, 4, "SignerEntries")
const SField sfSignerEntry(access, STI_OBJECT, 11, "SignerEntry")
A generic endpoint for log messages.
const SF_U16 sfSignerWeight(access, STI_UINT16, 3, "SignerWeight")
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
static const std::size_t maxMultiSigners
bool isFieldPresent(SField const &field) const
static std::pair< std::vector< SignerEntry >, NotTEC > deserialize(STObject const &obj, beast::Journal journal, std::string const &annotation)
TERSubset< CanCvtToNotTEC > NotTEC