interim checkin - working RCT Carrot TX

This commit is contained in:
Some Random Crypto Guy
2025-06-27 16:05:08 +01:00
parent 14a6c6b8ef
commit 5306d4b94a
18 changed files with 279 additions and 131 deletions
+11
View File
@@ -37,6 +37,8 @@
#include "misc_log_ex.h"
#include "ringct/rctOps.h"
#include "string_tools.h"
//third party headers
//standard headers
@@ -117,6 +119,15 @@ static void get_normal_proposal_ecdh_parts(const CarrotPaymentProposalV1 &propos
make_carrot_uncontextualized_shared_key_sender(enote_ephemeral_privkey,
proposal.destination.address_view_pubkey,
s_sender_receiver_unctx_out);
/*
std::cerr << "Random:" << epee::string_tools::pod_to_hex(proposal.randomness) << std::endl;
std::cerr << "K_s: " << proposal.destination.address_spend_pubkey << std::endl;
std::cerr << "K_v: " << proposal.destination.address_view_pubkey << std::endl;
std::cerr << "d_e: " << epee::string_tools::pod_to_hex(unwrap(unwrap(enote_ephemeral_privkey))) << std::endl;
std::cerr << "D_e: " << epee::string_tools::pod_to_hex(enote_ephemeral_pubkey_out) << std::endl;
std::cerr << "s_sr: " << epee::string_tools::pod_to_hex(s_sender_receiver_unctx_out) << std::endl;
*/
}
//-------------------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------------