0

I want to find out where in the code an output of Alice's transaction becomes Bob's money.

Alice has 10 XMR, and she sends Bob 2 XMR, the tx looks like this -

OUTPUT:

#recipient output:

first output: amount->2 , stealth address -> Bob's address

#change output:

second output: amount->3 , stealth address -> Alice's address

third output: amount->5 , stealth address -> Alice's address

Miner starts mining, finds the tx and stores it on the blockchain. Where exactly in the code does the decryption of Bob's stealth address that makes the money go to Bob's wallet?

0

wallet2::scan_output is probably what you're looking for as this checks if any of the tx outs are for this wallet. Then you can see here where it stores to wallet.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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