mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
refactor: Rename ripple namespace to xrpl
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <xrpl/protocol/AMMCore.h>
|
||||
#include <xrpl/protocol/Quality.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
/** Average quality of a path as a function of `out`: q(out) = m * out + b,
|
||||
* where m = -1 / poolGets, b = poolPays / poolGets. If CLOB offer then
|
||||
@@ -83,6 +83,6 @@ QualityFunction::QualityFunction(
|
||||
b_ = amounts.out * cfee / amounts.in;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif // XRPL_PROTOCOL_QUALITYFUNCTION_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user