mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +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:
@@ -3,14 +3,14 @@
|
||||
#include <xrpl/protocol/LedgerFormats.h>
|
||||
#include <xrpl/protocol/STLedgerEntry.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
bool
|
||||
Keylet::check(STLedgerEntry const& sle) const
|
||||
{
|
||||
XRPL_ASSERT(
|
||||
sle.getType() != ltANY || sle.getType() != ltCHILD,
|
||||
"ripple::Keylet::check : valid input type");
|
||||
"xrpl::Keylet::check : valid input type");
|
||||
|
||||
if (type == ltANY)
|
||||
return true;
|
||||
@@ -21,4 +21,4 @@ Keylet::check(STLedgerEntry const& sle) const
|
||||
return sle.getType() == type && sle.key() == key;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
Reference in New Issue
Block a user