refactor: Rename ripple namespace to xrpl (#5982)

This change renames all occurrences of `namespace ripple` and `ripple::` to `namespace xrpl` and `xrpl::`, respectively, as well as the names of test suites. 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:
Bart
2025-12-11 11:51:49 -05:00
committed by GitHub
parent 496efb71ca
commit 1eb0fdac65
1261 changed files with 4220 additions and 4235 deletions

View File

@@ -8,7 +8,7 @@
#include <memory>
#include <type_traits>
namespace ripple {
namespace xrpl {
class STValidation_test : public beast::unit_test::suite
{
@@ -187,7 +187,7 @@ public:
try
{
SerialIter sit{payload1};
auto val = std::make_shared<ripple::STValidation>(
auto val = std::make_shared<xrpl::STValidation>(
sit, [](PublicKey const& pk) { return calcNodeID(pk); }, false);
fail("An exception should have been thrown");
}
@@ -202,7 +202,7 @@ public:
try
{
SerialIter sit{payload2};
auto val = std::make_shared<ripple::STValidation>(
auto val = std::make_shared<xrpl::STValidation>(
sit, [](PublicKey const& pk) { return calcNodeID(pk); }, false);
fail("An exception should have been thrown");
}
@@ -215,7 +215,7 @@ public:
try
{
SerialIter sit{payload3};
auto val = std::make_shared<ripple::STValidation>(
auto val = std::make_shared<xrpl::STValidation>(
sit, [](PublicKey const& pk) { return calcNodeID(pk); }, false);
fail("An exception should have been thrown");
}
@@ -228,7 +228,7 @@ public:
try
{
SerialIter sit{payload4};
auto val = std::make_shared<ripple::STValidation>(
auto val = std::make_shared<xrpl::STValidation>(
sit, [](PublicKey const& pk) { return calcNodeID(pk); }, false);
fail("An exception should have been thrown");
}
@@ -330,6 +330,6 @@ public:
}
};
BEAST_DEFINE_TESTSUITE(STValidation, protocol, ripple);
BEAST_DEFINE_TESTSUITE(STValidation, protocol, xrpl);
} // namespace ripple
} // namespace xrpl