fix(export): move ExportLimits.h to xrpl/protocol

Both xrpld.overlay and xrpl.hook depend on xrpl.protocol, so placing
the header there avoids introducing a new xrpld.overlay > xrpl.hook
levelization dependency.
This commit is contained in:
Nicholas Dudfield
2026-03-16 15:58:58 +07:00
parent 417b999c7f
commit c26582bdf9
4 changed files with 4 additions and 5 deletions

View File

@@ -184,7 +184,6 @@ xrpld.overlay > xrpl.basics
xrpld.overlay > xrpld.core
xrpld.overlay > xrpld.peerfinder
xrpld.overlay > xrpld.perflog
xrpld.overlay > xrpl.hook
xrpld.overlay > xrpl.json
xrpld.overlay > xrpl.protocol
xrpld.overlay > xrpl.resource

View File

@@ -1,5 +1,5 @@
#ifndef RIPPLE_HOOK_EXPORT_LIMITS_H_INCLUDED
#define RIPPLE_HOOK_EXPORT_LIMITS_H_INCLUDED
#ifndef RIPPLE_PROTOCOL_EXPORT_LIMITS_H_INCLUDED
#define RIPPLE_PROTOCOL_EXPORT_LIMITS_H_INCLUDED
#include <cstdint>

View File

@@ -10,8 +10,8 @@
#include <xrpld/ledger/View.h>
#include <xrpl/basics/Log.h>
#include <xrpl/basics/Slice.h>
#include <xrpl/hook/ExportLimits.h>
#include <xrpl/protocol/ErrorCodes.h>
#include <xrpl/protocol/ExportLimits.h>
#include <xrpl/protocol/TxFlags.h>
#include <xrpl/protocol/st.h>
#include <xrpl/protocol/tokens.h>

View File

@@ -39,7 +39,7 @@
#include <xrpl/basics/random.h>
#include <xrpl/basics/safe_cast.h>
#include <xrpl/beast/core/LexicalCast.h>
#include <xrpl/hook/ExportLimits.h>
#include <xrpl/protocol/ExportLimits.h>
#include <xrpl/protocol/digest.h>
#include <boost/algorithm/string/predicate.hpp>