mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user