So, imagine I bought 1 BTC, so I have my private key generated by my online wallet and also my public key that I can give to people/friends. My question is, if I spend 0.5 to buy Apples on a website?
How does that work?
1) Only 0.5 BTC is sent to the website, I still have 0.5 BTC on private key A
2) 1 BTC total is sent through the protocol, thus the change is sent back to me. On which key? Key A where I had 1 BTC ? Or a new one generated? (Key B)
Thank you :)