mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
refactor: Rename RIPPLE_ and RIPPLED_ definitions to XRPL_ (#5821)
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). C++ include guards are used to prevent the contents of a header file from being included multiple times in a single compilation unit. This change renames all `RIPPLE_` and `RIPPLED_` definitions, primarily include guards, to `XRPL_`. It also provides a script to allow developers to replicate the changes in their local branch or fork to avoid conflicts.
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_ENTRY_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_ENTRY_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_ENTRY_H_INCLUDED
|
||||
#define XRPL_RESOURCE_ENTRY_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/DecayingSample.h>
|
||||
#include <xrpl/beast/clock/abstract_clock.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_IMPORT_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_IMPORT_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_IMPORT_H_INCLUDED
|
||||
#define XRPL_RESOURCE_IMPORT_H_INCLUDED
|
||||
|
||||
#include <xrpl/resource/Consumer.h>
|
||||
#include <xrpl/resource/detail/Entry.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_KEY_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_KEY_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_KEY_H_INCLUDED
|
||||
#define XRPL_RESOURCE_KEY_H_INCLUDED
|
||||
|
||||
#include <xrpl/beast/net/IPEndpoint.h>
|
||||
#include <xrpl/beast/utility/instrumentation.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_KIND_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_KIND_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_KIND_H_INCLUDED
|
||||
#define XRPL_RESOURCE_KIND_H_INCLUDED
|
||||
|
||||
namespace ripple {
|
||||
namespace Resource {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_LOGIC_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_LOGIC_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_LOGIC_H_INCLUDED
|
||||
#define XRPL_RESOURCE_LOGIC_H_INCLUDED
|
||||
|
||||
#include <xrpl/basics/Log.h>
|
||||
#include <xrpl/basics/UnorderedContainers.h>
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RESOURCE_TUNING_H_INCLUDED
|
||||
#define RIPPLE_RESOURCE_TUNING_H_INCLUDED
|
||||
#ifndef XRPL_RESOURCE_TUNING_H_INCLUDED
|
||||
#define XRPL_RESOURCE_TUNING_H_INCLUDED
|
||||
|
||||
#include <chrono>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user