Increase confidential transactions fee (#7063)

This commit is contained in:
yinyiqian1
2026-05-06 17:15:39 -04:00
committed by GitHub
parent b831b661ed
commit ed6de36cb4
16 changed files with 275 additions and 30 deletions

View File

@@ -348,6 +348,9 @@ std::size_t constexpr kEC_CONVERT_BACK_PROOF_LENGTH = 816;
/** Length of the ZKProof for ConfidentialMPTClawback. */
std::size_t constexpr kEC_CLAWBACK_PROOF_LENGTH = 64;
/** Extra base fee multiplier charged to confidential MPT transactions. */
std::uint32_t constexpr kCONFIDENTIAL_FEE_MULTIPLIER = 9;
/** Compressed EC point prefix for even y-coordinate */
std::uint8_t constexpr kEC_COMPRESSED_PREFIX_EVEN_Y = 0x02;

View File

@@ -32,6 +32,9 @@ public:
static NotTEC
preflight(PreflightContext const& ctx);
static XRPAmount
calculateBaseFee(ReadView const& view, STTx const& tx);
static TER
preclaim(PreclaimContext const& ctx);

View File

@@ -34,6 +34,9 @@ public:
static NotTEC
preflight(PreflightContext const& ctx);
static XRPAmount
calculateBaseFee(ReadView const& view, STTx const& tx);
static TER
preclaim(PreclaimContext const& ctx);

View File

@@ -35,6 +35,9 @@ public:
static NotTEC
preflight(PreflightContext const& ctx);
static XRPAmount
calculateBaseFee(ReadView const& view, STTx const& tx);
static TER
preclaim(PreclaimContext const& ctx);

View File

@@ -36,6 +36,9 @@ public:
static NotTEC
preflight(PreflightContext const& ctx);
static XRPAmount
calculateBaseFee(ReadView const& view, STTx const& tx);
static TER
preclaim(PreclaimContext const& ctx);

View File

@@ -45,6 +45,9 @@ public:
static NotTEC
preflight(PreflightContext const& ctx);
static XRPAmount
calculateBaseFee(ReadView const& view, STTx const& tx);
static TER
preclaim(PreclaimContext const& ctx);