20#include <xrpld/app/misc/CanonicalTXSet.h>
46 memcpy(ret.
begin(), account.begin(), account.size());
57 txn->getTransactionID()),
77 Key const after(effectiveAccount, tx->getSeqProxy(), beast::zero);
78 auto const itrNext{
map_.lower_bound(
after)};
79 if (itrNext !=
map_.end() &&
80 itrNext->first.getAccount() == effectiveAccount)
82 result = std::move(itrNext->second);
void insert(std::shared_ptr< STTx const > const &txn)
std::shared_ptr< STTx const > popAcctTransaction(std::shared_ptr< STTx const > const &tx)
uint256 accountKey(AccountID const &account)
std::map< Key, std::shared_ptr< STTx const > > map_
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool operator<(Slice const &lhs, Slice const &rhs) noexcept
static bool after(NetClock::time_point now, std::uint32_t mark)
Has the specified time passed?