6

I've been working on a Go-based Monero library and for the MixRing of a RCT, we need the previous outpoints that are being mixed in. It's easy enough to grab those output keys and put them in the destination. The mask, however, is computed with the commitment. What commitment is that referring to? How do I compute it?

Pointers to code in the monero-project/monero codebase would be very helpful.

6

There is an outPk for each output in a transaction, and therefore you'll need the outPks from the transactions that created each of the inputs. (Where each outPk is C, i.e. the sum of Ci).

OutPks are stored after the pseudoOuts and ecdhInfos in every version 2 transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.