15
3
Maybe I haven't yet fully understood how transactions work. And if so, please forgive me my stupid question.
But I assume it to be "just" a dititally signed mesaage like "send 1 BTC to Bob" where Bob is identified by its public key (of course obeying to some protocol). The transaction is then signed with my private key which prevents later modification and then sent to the network for hashing and block-building...
I'm not sure how Bob is notified of the transaction. Does his client software really have to parse the block chain to find the transaction where his public key is listed?
And even more interesting is the question how the sender of the money is restricted to only send as much money as they have? Is this all managed by the Bitcoin client? If so, I could write my own software which just uses the (or: any) amount of (Bitcoin) money together with the recipient's public key and build the transaction asn specified somewhere in the protocol. Who checkes the balance and when is it checked? Does my Bitcon client fully dive into the block chain and calculates the balance? Is this then trusted by the network? Or does the network (e.g. when building and hashing the block) also a verification of all the public keys from their first transactions on?
The link below explains it a little. The blockchain keeps track of every transaction and the clients either keep a local copy or use a cloud-hosted version. The blockchain won't accept a transaction it seems invalid. http://bitcoin.org/en/how-it-works
– Neil Neyman – 2013-09-01T19:03:23.313possible duplicate of How does Bitcoin keep track of account balances?
– Stephen Gornick – 2013-09-01T21:27:47.377