3#include <xrpl/basics/Expected.h>
4#include <xrpl/protocol/Feature.h>
5#include <xrpl/protocol/PublicKey.h>
6#include <xrpl/protocol/Rules.h>
7#include <xrpl/protocol/STObject.h>
8#include <xrpl/protocol/SecretKey.h>
9#include <xrpl/protocol/SeqProxy.h>
10#include <xrpl/protocol/TxFormats.h>
12#include <boost/container/flat_set.hpp>
86 boost::container::flat_set<AccountID>
108 Expected<void, std::string>
111 Expected<void, std::string>
134 Expected<void, std::string>
135 checkSign(Rules
const& rules, STObject
const& sigObject)
const;
137 Expected<void, std::string>
140 Expected<void, std::string>
141 checkMultiSign(Rules
const& rules, STObject
const& sigObject)
const;
143 Expected<void, std::string>
146 Expected<void, std::string>
Tracks the number of instances of an object.
Blob getFieldVL(SField const &field) const
std::string getFullText() const override
Expected< void, std::string > checkBatchSingleSign(STObject const &batchSigner) const
STBase * move(std::size_t n, void *buf) override
Blob getSignature() const
std::string getMetaSQL(std::uint32_t inLedger, std::string const &escapedMetaData) const
Expected< void, std::string > checkMultiSign(Rules const &rules, STObject const &sigObject) const
STTx & operator=(STTx const &other)=delete
Expected< void, std::string > checkBatchSign(Rules const &rules) const
Json::Value getJson(JsonOptions options) const override
static std::string const & getMetaSQLInsertReplaceHeader()
STTx(STTx const &other)=default
std::vector< uint256 > const & getBatchTransactionIDs() const
Retrieves a batch of transaction IDs from the STTx.
Expected< void, std::string > checkBatchMultiSign(STObject const &batchSigner, Rules const &rules) const
SeqProxy getSeqProxy() const
STBase * copy(std::size_t n, void *buf) const override
static constexpr std::size_t minMultiSigners
Expected< void, std::string > checkSign(Rules const &rules) const
Check the signature.
std::uint32_t getSeqValue() const
Returns the first non-zero value of (Sequence, TicketSequence).
TxType getTxnType() const
std::vector< uint256 > batchTxnIds_
Expected< void, std::string > checkSingleSign(STObject const &sigObject) const
Blob getSigningPubKey() const
uint256 getSigningHash() const
static constexpr std::size_t maxMultiSigners
uint256 getTransactionID() const
SerializedTypeID getSType() const override
boost::container::flat_set< AccountID > getMentionedAccounts() const
void sign(PublicKey const &publicKey, SecretKey const &secretKey, std::optional< std::reference_wrapper< SField const > > signatureTarget={})
A type that represents either a sequence value or a ticket value.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
TxType
Transaction type identifiers.
bool passesLocalChecks(STObject const &st, std::string &)
std::shared_ptr< STTx const > sterilize(STTx const &stx)
Sterilize a transaction.
bool isPseudoTx(STObject const &tx)
Check whether a transaction is a pseudo-transaction.
Note, should be treated as flags that can be | and &.