Say Belly, Alice and Teddy are Bitcoin clients.
- Belly makes a transaction to send 1 btc to Alice.
- He broadcasts this transaction to the P2P network.
- Teddy calculates a valid hashcode and add Belly's transaction into his block chain.
Then here is the question. How does Belly know his transaction has been accepted? Even he knows Teddy has added it into his block chain, this block chain can be rejected later if there is a longer block chain on the network, right? And what if Teddy is malicious and lying?
I heard you need to wait until 6 clients accept your transaction. I'm not sure what this exactly means. And why 6, not 5 or 7?