3#include <xrpl/protocol/Feature.h>
4#include <xrpl/protocol/PublicKey.h>
5#include <xrpl/protocol/Rules.h>
6#include <xrpl/protocol/STObject.h>
7#include <xrpl/protocol/SecretKey.h>
8#include <xrpl/protocol/SeqProxy.h>
9#include <xrpl/protocol/TxFormats.h>
11#include <boost/container/flat_set.hpp>
89 boost::container::flat_set<AccountID>
111 std::expected<void, std::string>
114 std::expected<void, std::string>
141 std::expected<void, std::string>
144 std::expected<void, std::string>
147 std::expected<void, std::string>
150 std::expected<void, std::string>
153 std::expected<void, std::string>
Blob getFieldVL(SField const &field) const
STObject(STObject const &)=default
std::string getFullText() const override
STBase * move(std::size_t n, void *buf) override
Blob getSignature() const
std::string getMetaSQL(std::uint32_t inLedger, std::string const &escapedMetaData) const
STTx & operator=(STTx const &other)=delete
std::expected< void, std::string > checkBatchSign(Rules const &rules) const
static std::string const & getMetaSQLInsertReplaceHeader()
std::expected< void, std::string > checkBatchSingleSign(STObject const &batchSigner) const
STTx(STTx const &other)=default
std::vector< uint256 > const & getBatchTransactionIDs() const
Retrieves a batch of transaction IDs from the STTx.
std::expected< void, std::string > checkBatchMultiSign(STObject const &batchSigner, Rules const &rules) const
static constexpr std::size_t kMinMultiSigners
SeqProxy getSeqProxy() const
AccountID getFeePayer() const
std::expected< void, std::string > checkSign(Rules const &rules) const
Check the signature.
STBase * copy(std::size_t n, void *buf) const override
static constexpr std::size_t kMaxMultiSigners
std::expected< void, std::string > checkSingleSign(STObject const &sigObject) const
std::expected< void, std::string > checkMultiSign(Rules const &rules, STObject const &sigObject) const
std::uint32_t getSeqValue() const
Returns the first non-zero value of (Sequence, TicketSequence).
TxType getTxnType() const
std::vector< uint256 > batchTxnIds_
Blob getSigningPubKey() const
uint256 getSigningHash() const
json::Value getJson(JsonOptions options) const override
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.
@ Validated
The most recently validated ledger.
bool passesLocalChecks(STObject const &st, std::string &)
BaseUInt< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
std::vector< unsigned char > Blob
Storage for linear binary data.
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 &.