3#include <xrpl/basics/Blob.h>
4#include <xrpl/basics/CountedObject.h>
5#include <xrpl/basics/base_uint.h>
6#include <xrpl/json/json_value.h>
7#include <xrpl/protocol/AccountID.h>
8#include <xrpl/protocol/PublicKey.h>
9#include <xrpl/protocol/Rules.h>
10#include <xrpl/protocol/SField.h>
11#include <xrpl/protocol/STBase.h>
12#include <xrpl/protocol/STObject.h>
13#include <xrpl/protocol/SecretKey.h>
14#include <xrpl/protocol/SeqProxy.h>
15#include <xrpl/protocol/Serializer.h>
16#include <xrpl/protocol/TxFormats.h>
18#include <boost/container/flat_set.hpp>
96 [[nodiscard]] boost::container::flat_set<AccountID>
119 [[nodiscard]] std::expected<void, std::string>
122 [[nodiscard]] std::expected<void, std::string>
170 [[nodiscard]] std::expected<void, std::string>
173 [[nodiscard]] std::expected<void, std::string>
176 [[nodiscard]] std::expected<void, std::string>
179 [[nodiscard]] std::expected<void, std::string>
182 [[nodiscard]] 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
std::optional< std::vector< std::shared_ptr< STTx const > > > batchTxns_
STTx & operator=(STTx const &other)=delete
std::expected< void, std::string > checkBatchSign(Rules const &rules) const
static std::string const & getMetaSQLInsertReplaceHeader()
STTx(STTx const &other)=default
std::vector< uint256 > getBatchTransactionIDs() const
The IDs of the inner transactions of a Batch.
std::expected< void, std::string > checkBatchMultiSign(STObject const &batchSigner, Rules const &rules, std::vector< uint256 > const &txIds) const
static constexpr std::size_t kMinMultiSigners
SeqProxy getSeqProxy() const
std::expected< void, std::string > checkSign(Rules const &rules) const
Check the signature.
std::expected< void, std::string > checkBatchSingleSign(STObject const &batchSigner, std::vector< uint256 > const &txIds) const
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
TxType getTxnType() const
AccountID getFeePayerID() const
Blob getSigningPubKey() const
uint256 getSigningHash() const
json::Value getJson(JsonOptions options) const override
AccountID getInitiator() const
The account responsible for the authorization: the delegate when sfDelegate is present,...
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={})
std::vector< std::shared_ptr< STTx const > > const & getBatchTransactions() const
The inner transactions of a Batch, built and validated at construction.
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(STTx const &tx, 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 &.