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?