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

@@ -7,7 +7,7 @@
#include <optional>
namespace ripple {
namespace xrpl {
namespace test {
namespace jtx {
@@ -78,7 +78,7 @@ msig::operator()(Env& env, JTx& jt) const
jo[jss::SigningPubKey] = strHex(e.sig.pk().slice());
Serializer ss{buildMultiSigningData(*st, e.acct.id())};
auto const sig = ripple::sign(
auto const sig = xrpl::sign(
*publicKeyType(e.sig.pk().slice()), e.sig.sk(), ss.slice());
jo[sfTxnSignature.getJsonName()] =
strHex(Slice{sig.data(), sig.size()});
@@ -92,4 +92,4 @@ msig::operator()(Env& env, JTx& jt) const
} // namespace jtx
} // namespace test
} // namespace ripple
} // namespace xrpl