mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanup ripple::Ledger:
* Convert static member functions to free functions * Adopt consistent naming convention * De-inline code
This commit is contained in:
@@ -24,9 +24,9 @@ BookDirIterator::BookDirIterator(
|
||||
Currency const& currencyIn, Account const& issuerIn,
|
||||
Currency const& currencyOut, Account const& issuerOut)
|
||||
{
|
||||
mBase = Ledger::getBookBase({{currencyIn, issuerIn},
|
||||
mBase = ripple::getBookBase({{currencyIn, issuerIn},
|
||||
{currencyOut, issuerOut}});
|
||||
mEnd = Ledger::getQualityNext(mBase);
|
||||
mEnd = getQualityNext(mBase);
|
||||
mIndex = mBase;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ DirectoryEntryIterator BookDirIterator::getOfferIterator () const
|
||||
|
||||
std::uint64_t BookDirIterator::getRate () const
|
||||
{
|
||||
return Ledger::getQuality(mIndex);
|
||||
return getQuality(mIndex);
|
||||
}
|
||||
|
||||
bool BookDirIterator::addJson (Json::Value& jv) const
|
||||
|
||||
Reference in New Issue
Block a user