20 #ifndef RIPPLE_PROTOCOL_STTX_H_INCLUDED
21 #define RIPPLE_PROTOCOL_STTX_H_INCLUDED
23 #include <ripple/basics/Expected.h>
24 #include <ripple/protocol/Feature.h>
25 #include <ripple/protocol/PublicKey.h>
26 #include <ripple/protocol/Rules.h>
27 #include <ripple/protocol/STObject.h>
28 #include <ripple/protocol/SecretKey.h>
29 #include <ripple/protocol/SeqProxy.h>
30 #include <ripple/protocol/TxFormats.h>
31 #include <boost/container/flat_set.hpp>
103 boost::container::flat_set<AccountID>
147 Rules const& rules)
const;
TxType getTxnType() const
STTx & operator=(STTx const &other)=delete
std::string getMetaSQL(std::uint32_t inLedger, std::string const &escapedMetaData) const
Tracks the number of instances of an object.
const SF_VL sfSigningPubKey
TxType
Transaction type identifiers.
uint256 getSigningHash() const
SeqProxy getSeqProxy() const
static std::string const & getMetaSQLInsertReplaceHeader()
Blob getFieldVL(SField const &field) const
bool isPseudoTx(STObject const &tx)
Check whether a transaction is a pseudo-transaction.
const uint256 featureExpandedSignerList
bool passesLocalChecks(STObject const &st, std::string &reason)
std::string getFullText() const override
Blob getSigningPubKey() const
static std::size_t maxMultiSigners(Rules const *rules=0)
void sign(PublicKey const &publicKey, SecretKey const &secretKey)
Json::Value getJson(JsonOptions options) const override
uint256 getTransactionID() const
Expected< void, std::string > checkSingleSign(RequireFullyCanonicalSig requireCanonicalSig) const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::shared_ptr< STTx const > sterilize(STTx const &stx)
Sterilize a transaction.
Expected< void, std::string > checkSign(RequireFullyCanonicalSig requireCanonicalSig, Rules const &rules) const
A type which can be exported to a well known binary format.
Blob getSignature() const
boost::container::flat_set< AccountID > getMentionedAccounts() const
A type that represents either a sequence value or a ticket value.
Rules controlling protocol behavior.
static const std::size_t minMultiSigners
STBase * copy(std::size_t n, void *buf) const override
Expected< void, std::string > checkMultiSign(RequireFullyCanonicalSig requireCanonicalSig, Rules const &rules) const
STBase * move(std::size_t n, void *buf) override
RequireFullyCanonicalSig
Check the signature.
SerializedTypeID getSType() const override