mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
chore: Rename two files from Directory* to Dir*: (#5058)
The names of the files should reflect the name of the Dir class. Co-authored-by: Zack Brunson <Zshooter@gmail.com> Co-authored-by: Ed Hennis <ed@ripple.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <test/jtx.h>
|
#include <test/jtx.h>
|
||||||
#include <xrpld/app/tx/applySteps.h>
|
#include <xrpld/app/tx/applySteps.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
#include <xrpld/ledger/Dir.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
#include <xrpl/protocol/Indexes.h>
|
#include <xrpl/protocol/Indexes.h>
|
||||||
#include <xrpl/protocol/TxFlags.h>
|
#include <xrpl/protocol/TxFlags.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#include <test/jtx.h>
|
#include <test/jtx.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
#include <xrpld/ledger/Dir.h>
|
||||||
#include <xrpld/rpc/detail/RPCHelpers.h>
|
#include <xrpld/rpc/detail/RPCHelpers.h>
|
||||||
#include <xrpl/basics/chrono.h>
|
#include <xrpl/basics/chrono.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <test/jtx.h>
|
#include <test/jtx.h>
|
||||||
#include <xrpld/ledger/BookDirs.h>
|
#include <xrpld/ledger/BookDirs.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
|
||||||
#include <xrpld/ledger/Sandbox.h>
|
#include <xrpld/ledger/Sandbox.h>
|
||||||
#include <xrpl/basics/random.h>
|
#include <xrpl/basics/random.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
#include <xrpld/app/paths/detail/FlatSets.h>
|
#include <xrpld/app/paths/detail/FlatSets.h>
|
||||||
#include <xrpld/app/paths/detail/Steps.h>
|
#include <xrpld/app/paths/detail/Steps.h>
|
||||||
#include <xrpld/app/tx/detail/OfferStream.h>
|
#include <xrpld/app/tx/detail/OfferStream.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
|
||||||
#include <xrpld/ledger/PaymentSandbox.h>
|
#include <xrpld/ledger/PaymentSandbox.h>
|
||||||
#include <xrpl/basics/IOUAmount.h>
|
#include <xrpl/basics/IOUAmount.h>
|
||||||
#include <xrpl/basics/Log.h>
|
#include <xrpl/basics/Log.h>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <xrpld/app/tx/detail/NFTokenBurn.h>
|
#include <xrpld/app/tx/detail/NFTokenBurn.h>
|
||||||
#include <xrpld/app/tx/detail/NFTokenUtils.h>
|
#include <xrpld/app/tx/detail/NFTokenUtils.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
|
||||||
#include <xrpld/ledger/View.h>
|
#include <xrpld/ledger/View.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
#include <xrpl/protocol/Protocol.h>
|
#include <xrpl/protocol/Protocol.h>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#include <xrpld/app/tx/detail/NFTokenUtils.h>
|
#include <xrpld/app/tx/detail/NFTokenUtils.h>
|
||||||
#include <xrpld/ledger/Directory.h>
|
#include <xrpld/ledger/Dir.h>
|
||||||
#include <xrpld/ledger/View.h>
|
#include <xrpld/ledger/View.h>
|
||||||
#include <xrpl/basics/algorithm.h>
|
#include <xrpl/basics/algorithm.h>
|
||||||
#include <xrpl/protocol/Feature.h>
|
#include <xrpl/protocol/Feature.h>
|
||||||
|
|||||||
@@ -25,6 +25,18 @@
|
|||||||
|
|
||||||
namespace ripple {
|
namespace ripple {
|
||||||
|
|
||||||
|
/** A class that simplifies iterating ledger directory pages
|
||||||
|
|
||||||
|
The Dir class provides a forward iterator for walking through
|
||||||
|
the uint256 values contained in ledger directories.
|
||||||
|
|
||||||
|
The Dir class also allows accelerated directory walking by
|
||||||
|
stepping directly from one page to the next using the next_page()
|
||||||
|
member function.
|
||||||
|
|
||||||
|
As of July 2024, the Dir class is only being used with NFTokenOffer
|
||||||
|
directories and for unit tests.
|
||||||
|
*/
|
||||||
class Dir
|
class Dir
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#include <xrpld/ledger/Directory.h>
|
#include <xrpld/ledger/Dir.h>
|
||||||
|
|
||||||
namespace ripple {
|
namespace ripple {
|
||||||
|
|
||||||
Reference in New Issue
Block a user