20 #include <ripple/app/tx/impl/BookTip.h>
21 #include <ripple/basics/Log.h>
virtual std::shared_ptr< SLE > peek(Keylet const &k)=0
Prepare to modify the SLE associated with key.
uint256 getBookBase(Book const &book)
Keylet offer(AccountID const &id, std::uint32_t seq) noexcept
An offer from an account.
uint256 getQualityNext(uint256 const &uBase)
Writeable view to a ledger, for applying a transaction.
BookTip(ApplyView &view, Book const &book)
Create the iterator.
TER offerDelete(ApplyView &view, std::shared_ptr< SLE > const &sle, beast::Journal j)
Delete an offer.
A generic endpoint for log messages.
virtual std::optional< key_type > succ(key_type const &key, std::optional< key_type > const &last=std::nullopt) const =0
Return the key of the next state item.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool dirFirst(ApplyView &view, uint256 const &root, std::shared_ptr< SLE > &page, unsigned int &index, uint256 &entry)
uint256 const & dir() const noexcept
bool step(beast::Journal j)
Erases the current offer and advance to the next offer.
std::shared_ptr< SLE > m_entry
std::uint64_t getQuality(uint256 const &uBase)