rippled
|
Iterates and consumes raw offers in an order book. More...
Public Member Functions | |
BookTip (ApplyView &view, Book const &book) | |
Create the iterator. More... | |
uint256 const & | dir () const noexcept |
uint256 const & | index () const noexcept |
Quality const & | quality () const noexcept |
SLE::pointer const & | entry () const noexcept |
bool | step (beast::Journal j) |
Erases the current offer and advance to the next offer. More... | |
Private Attributes | |
ApplyView & | view_ |
bool | m_valid |
uint256 | m_book |
uint256 | m_end |
uint256 | m_dir |
uint256 | m_index |
std::shared_ptr< SLE > | m_entry |
Quality | m_quality |
Iterates and consumes raw offers in an order book.
Offers are presented from highest quality to lowest quality. This will return all offers present including missing, invalid, unfunded, etc.
Create the iterator.
Definition at line 25 of file BookTip.cpp.
|
noexcept |
bool ripple::BookTip::step | ( | beast::Journal | j | ) |
Erases the current offer and advance to the next offer.
Complexity: Constant
true
if there is a next offer Definition at line 34 of file BookTip.cpp.
|
private |