Reading this thread about how transaction outputs are split due to "change" made me wonder how the bitcoin network knows you own that second address. How does your wallet/client display the correct balance, if it's unknown to everyone else that the second address is yours?
I'm assuming it has something to do with the wallet and accounts... if so, how can you find the "account" that corresponds with that address?