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

@@ -12,7 +12,7 @@
#include <string>
#include <utility>
namespace ripple {
namespace xrpl {
STVector256::STVector256(SerialIter& sit, SField const& name) : STBase(name)
{
@@ -59,10 +59,10 @@ void
STVector256::add(Serializer& s) const
{
XRPL_ASSERT(
getFName().isBinary(), "ripple::STVector256::add : field is binary");
getFName().isBinary(), "xrpl::STVector256::add : field is binary");
XRPL_ASSERT(
getFName().fieldType == STI_VECTOR256,
"ripple::STVector256::add : valid field type");
"xrpl::STVector256::add : valid field type");
s.addVL(mValue.begin(), mValue.end(), mValue.size() * (256 / 8));
}
@@ -84,4 +84,4 @@ STVector256::getJson(JsonOptions) const
return ret;
}
} // namespace ripple
} // namespace xrpl