Bitcoin Forum
September 27, 2018, 10:01:17 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help me understand the intricacies off transactions  (Read 632 times)
BookLover
Hero Member
*****
Offline Offline

Activity: 534
Merit: 500


^Bitcoin Library of Congress.


View Profile
February 23, 2013, 05:11:18 PM
 #1

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

1538085677
Hero Member
*
Offline Offline

Posts: 1538085677

View Profile Personal Message (Offline)

Ignore
1538085677
Reply with quote  #2

1538085677
Report to moderator
1538085677
Hero Member
*
Offline Offline

Posts: 1538085677

View Profile Personal Message (Offline)

Ignore
1538085677
Reply with quote  #2

1538085677
Report to moderator
1538085677
Hero Member
*
Offline Offline

Posts: 1538085677

View Profile Personal Message (Offline)

Ignore
1538085677
Reply with quote  #2

1538085677
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538085677
Hero Member
*
Offline Offline

Posts: 1538085677

View Profile Personal Message (Offline)

Ignore
1538085677
Reply with quote  #2

1538085677
Report to moderator
1538085677
Hero Member
*
Offline Offline

Posts: 1538085677

View Profile Personal Message (Offline)

Ignore
1538085677
Reply with quote  #2

1538085677
Report to moderator
deeplink
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


In cryptography we trust


View Profile
February 23, 2013, 05:15:00 PM
 #2

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
Akka
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000



View Profile
February 23, 2013, 05:16:00 PM
 #3

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.

All previous versions of currency will no longer be supported as of this update
deeplink
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


In cryptography we trust


View Profile
February 23, 2013, 05:17:38 PM
 #4

lol Akka, we think alike  Wink
BookLover
Hero Member
*****
Offline Offline

Activity: 534
Merit: 500


^Bitcoin Library of Congress.


View Profile
February 23, 2013, 06:45:12 PM
 #5

Thanks, for the fast replies and the links.  This has been very helpful.

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1001


View Profile
February 23, 2013, 11:13:08 PM
 #6

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.   
BookLover
Hero Member
*****
Offline Offline

Activity: 534
Merit: 500


^Bitcoin Library of Congress.


View Profile
February 24, 2013, 03:11:12 PM
 #7

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.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!