BookTip::BookTip (ApplyView& view, Book const& book) : view_ (view) , m_valid (false) , m_book (getBookBase (book)) , m_end (getQualityNext (m_book)) { }
/** Iterate through the directories in an order book */ BookDirIterator::BookDirIterator( Currency const& currencyIn, AccountID const& issuerIn, Currency const& currencyOut, AccountID const& issuerOut) { mBase = divvy::getBookBase({{currencyIn, issuerIn}, {currencyOut, issuerOut}}); mEnd = getQualityNext(mBase); mIndex = mBase; }