mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-30 08:48:08 +00:00
namespace rename
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <secp256k1.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
// Helper struct to bundle the ElGamal Public Key and the associated Ciphertext
|
||||
struct ConfidentialRecipient
|
||||
{
|
||||
@@ -505,6 +505,6 @@ secp256k1_mpt_verify_same_plaintext_multi(
|
||||
secp256k1_pubkey const* S,
|
||||
secp256k1_pubkey const* Pk,
|
||||
unsigned char const* tx_id);
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1065,7 +1065,7 @@ TRANSACTION(ttLOAN_PAY, 84, LoanPay,
|
||||
#include <xrpld/app/tx/detail/ConfidentialConvert.h>
|
||||
#endif
|
||||
TRANSACTION(ttCONFIDENTIAL_CONVERT, 85, ConfidentialConvert,
|
||||
Delegation::delegatable,
|
||||
Delegation::delegable,
|
||||
featureConfidentialTransfer,
|
||||
noPriv,
|
||||
({
|
||||
@@ -1084,7 +1084,7 @@ TRANSACTION(ttCONFIDENTIAL_CONVERT, 85, ConfidentialConvert,
|
||||
#include <xrpld/app/tx/detail/ConfidentialMergeInbox.h>
|
||||
#endif
|
||||
TRANSACTION(ttCONFIDENTIAL_MERGE_INBOX, 86, ConfidentialMergeInbox,
|
||||
Delegation::delegatable,
|
||||
Delegation::delegable,
|
||||
featureConfidentialTransfer,
|
||||
noPriv,
|
||||
({
|
||||
@@ -1096,7 +1096,7 @@ TRANSACTION(ttCONFIDENTIAL_MERGE_INBOX, 86, ConfidentialMergeInbox,
|
||||
#include <xrpld/app/tx/detail/ConfidentialConvertBack.h>
|
||||
#endif
|
||||
TRANSACTION(ttCONFIDENTIAL_CONVERT_BACK, 87, ConfidentialConvertBack,
|
||||
Delegation::delegatable,
|
||||
Delegation::delegable,
|
||||
featureConfidentialTransfer,
|
||||
noPriv,
|
||||
({
|
||||
@@ -1114,7 +1114,7 @@ TRANSACTION(ttCONFIDENTIAL_CONVERT_BACK, 87, ConfidentialConvertBack,
|
||||
#include <xrpld/app/tx/detail/ConfidentialSend.h>
|
||||
#endif
|
||||
TRANSACTION(ttCONFIDENTIAL_SEND, 88, ConfidentialSend,
|
||||
Delegation::delegatable,
|
||||
Delegation::delegable,
|
||||
featureConfidentialTransfer,
|
||||
noPriv,
|
||||
({
|
||||
@@ -1134,7 +1134,7 @@ TRANSACTION(ttCONFIDENTIAL_SEND, 88, ConfidentialSend,
|
||||
#include <xrpld/app/tx/detail/ConfidentialClawback.h>
|
||||
#endif
|
||||
TRANSACTION(ttCONFIDENTIAL_CLAWBACK, 89, ConfidentialClawback,
|
||||
Delegation::delegatable,
|
||||
Delegation::delegable,
|
||||
featureConfidentialTransfer,
|
||||
noPriv,
|
||||
({
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
void
|
||||
addCommonZKPFields(
|
||||
Serializer& s,
|
||||
@@ -1961,4 +1961,4 @@ secp256k1_mpt_verify_same_plaintext_multi(
|
||||
return 1;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <openssl/rand.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialTransfer_test : public beast::unit_test::suite
|
||||
{
|
||||
@@ -3501,4 +3501,4 @@ public:
|
||||
};
|
||||
|
||||
BEAST_DEFINE_TESTSUITE(ConfidentialTransfer, app, ripple);
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -1623,7 +1623,7 @@ MPTTester::encryptAmount(
|
||||
if (auto const pubKey = getPubKey(account))
|
||||
{
|
||||
if (auto const result =
|
||||
ripple::encryptAmount(amt, *pubKey, blindingFactor))
|
||||
xrpl::encryptAmount(amt, *pubKey, blindingFactor))
|
||||
return *result;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <xrpl/protocol/TER.h>
|
||||
#include <xrpl/protocol/TxFlags.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
NotTEC
|
||||
ConfidentialClawback::preflight(PreflightContext const& ctx)
|
||||
@@ -162,4 +162,4 @@ ConfidentialClawback::doApply()
|
||||
|
||||
return tesSUCCESS;
|
||||
}
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <xrpld/app/tx/detail/Transactor.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialClawback : public Transactor
|
||||
{
|
||||
@@ -24,6 +24,6 @@ public:
|
||||
doApply() override;
|
||||
};
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <xrpl/protocol/TER.h>
|
||||
#include <xrpl/protocol/TxFlags.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
NotTEC
|
||||
ConfidentialConvert::preflight(PreflightContext const& ctx)
|
||||
@@ -259,4 +259,4 @@ ConfidentialConvert::doApply()
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <xrpld/app/tx/detail/Transactor.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialConvert : public Transactor
|
||||
{
|
||||
@@ -24,6 +24,6 @@ public:
|
||||
doApply() override;
|
||||
};
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
NotTEC
|
||||
ConfidentialConvertBack::preflight(PreflightContext const& ctx)
|
||||
@@ -248,4 +248,4 @@ ConfidentialConvertBack::doApply()
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <xrpld/app/tx/detail/Transactor.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialConvertBack : public Transactor
|
||||
{
|
||||
@@ -24,6 +24,6 @@ public:
|
||||
doApply() override;
|
||||
};
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <xrpl/protocol/TER.h>
|
||||
#include <xrpl/protocol/TxFlags.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
NotTEC
|
||||
ConfidentialMergeInbox::preflight(PreflightContext const& ctx)
|
||||
@@ -94,4 +94,4 @@ ConfidentialMergeInbox::doApply()
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <xrpld/app/tx/detail/Transactor.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialMergeInbox : public Transactor
|
||||
{
|
||||
@@ -24,6 +24,6 @@ public:
|
||||
doApply() override;
|
||||
};
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <xrpl/protocol/TER.h>
|
||||
#include <xrpl/protocol/TxFlags.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
NotTEC
|
||||
ConfidentialSend::preflight(PreflightContext const& ctx)
|
||||
@@ -411,4 +411,4 @@ ConfidentialSend::doApply()
|
||||
view().update(sleDestinationMPToken);
|
||||
return tesSUCCESS;
|
||||
}
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <xrpld/app/tx/detail/Transactor.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace xrpl {
|
||||
|
||||
class ConfidentialSend : public Transactor
|
||||
{
|
||||
@@ -24,6 +24,6 @@ public:
|
||||
doApply() override;
|
||||
};
|
||||
|
||||
} // namespace ripple
|
||||
} // namespace xrpl
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user