Bitcoin Forum

Other => Beginners & Help => Topic started by: magie720 on July 25, 2011, 02:12:58 AM



Title: Validation
Post by: magie720 on July 25, 2011, 02:12:58 AM
How does bitcoin validate that a peer has the coins it claims to have? IE, what keeps me from modding the client on my computer to claim I have more than I do?


Title: Re: Validation
Post by: indio007 on July 25, 2011, 02:17:26 AM
Non-technical explanation...

The amount of bitcoins has is stored by the entire network. If  what the client transmits don't jibe , the transaction will be rejected


Title: Re: Validation
Post by: Stephen Gornick on July 25, 2011, 02:25:56 AM
How does bitcoin validate that a peer has the coins it claims to have? IE, what keeps me from modding the client on my computer to claim I have more than I do?

 - http://en.bitcoin.it/wiki/How_bitcoin_works#Double_spending


Title: Re: Validation
Post by: nafai on July 25, 2011, 03:48:06 AM
Bitcoin accounts are public/private key pairs. The address you send to is the public key. The private key that matches that public key is necessary in order to spend the bitcoins. You can create as many public/private keys as you want but they all have zero bitcoins unless someone sends btc to the public keys of those accounts. You can't mod your client to give yourself more bitcoins, because the bitcoins are associated with the public/private key pairs, not with the client or wallet.