20 #ifndef RIPPLE_APP_PATHS_NODEDIRECTORY_H_INCLUDED
21 #define RIPPLE_APP_PATHS_NODEDIRECTORY_H_INCLUDED
23 #include <ripple/ledger/ApplyView.h>
24 #include <ripple/protocol/Indexes.h>
25 #include <ripple/protocol/STLedgerEntry.h>
virtual std::shared_ptr< SLE > peek(Keylet const &k)=0
Prepare to modify the SLE associated with key.
uint256 getBookBase(Book const &book)
void restart(bool multiQuality)
Advance advance(ApplyView &view)
Advance to the next quality directory in the order book.
uint256 getQualityNext(uint256 const &uBase)
Writeable view to a ledger, for applying a transaction.
Keylet page(uint256 const &key, std::uint64_t index) noexcept
A page in a directory.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool initialize(Book const &book, ApplyView &view)
virtual boost::optional< key_type > succ(key_type const &key, boost::optional< key_type > const &last=boost::none) const =0
Return the key of the next state item.