Stub mpt_verify_send_proof for throughput ceiling measurement

Skip bulletproof range proof verification in ConfidentialMPTSend to
measure the upper bound on Send throughput when verification is free.
NOT FOR PRODUCTION USE.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Luc des Trois Maisons
2026-06-05 16:21:07 -04:00
parent dacd108657
commit 80090fb327

View File

@@ -436,17 +436,7 @@ verifySendProof(
participants[3] = makeParticipant(*auditor);
}
if (mpt_verify_send_proof(
proof.data(),
participants.data(),
recipientCount,
spendingBalance.data(),
amountCommitment.data(),
balanceCommitment.data(),
contextHash.data()) != 0)
{
return tecBAD_PROOF;
}
// STUB: skip bulletproof verification for throughput ceiling measurement
return tesSUCCESS;
}