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?

  • What do you call a stealth address ? – user36303 Apr 13 at 15:48
1

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 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.