Author

Topic: Help me understand the intricacies off transactions (Read 746 times)

hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
It is also possible for transactions to have multiple inputs.  But all that wasn't really relevant to the question.  I only mentioned the "change" address because I thought it might have something to do with the answer.
legendary
Activity: 2506
Merit: 1010
Generally when one sends coins two transactions are made, one to the desired recipient, and one to a "change" address.

Just to clarify that, there are not two transactions.  There is still just one transaction but that transaction has two outputs.   
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
Thanks, for the fast replies and the links.  This has been very helpful.
hero member
Activity: 728
Merit: 500
In cryptography we trust
lol Akka, we think alike  Wink
legendary
Activity: 1232
Merit: 1001
So the transaction is signed with A's private key and now everyone knows the private key for address A. 

No, you Private key is still a secret. When you know the public key (BTC-Adress) you can proof that a message has been signed with it. For more read: http://en.wikipedia.org/wiki/Public-key_cryptography

You Address A is still good.
hero member
Activity: 728
Merit: 500
In cryptography we trust
So the transaction is signed with A's private key and now everyone knows the private key for address A.  What happens if someone sends 10 more coins to Address A?  Can anyone access the coins in address A now?

If A signes the transaction with the private key, it can be validated with A's public key. The private key always remains unknown to anyone but A.

See Public-key cryptography
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
Generally when one sends coins two transactions are made, one to the desired recipient, and one to a "change" address.  For example:

Lets say I have 10 coins in address A.  I send 7 coins to Bob.  Now Bob has 7 coins, address A has zero coins, and I have a "change" address with 3 coins.

So the transaction is signed with A's private key and now everyone knows the private key for address A.  What happens if someone sends 10 more coins to Address A?  Can anyone access the coins in address A now?

Thanks for spending your time reading and hopefully answering this question! Wink Cheesy
Jump to: