Bitcoin Forum
December 11, 2016, 08:03:58 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Please help with understanding of specification text  (Read 581 times)
Forp
Full Member
***
Offline Offline

Activity: 198


View Profile
June 11, 2011, 04:31:30 PM
 #1

https://en.bitcoin.it/wiki/Script reads:

The script for a typical Bitcoin transfer to destination Bitcoin address D simply encumbers future spending of the bitcoins with two things: the spender must provide a public key that, when hashed, yields destination address D embedded in the script, and a signature to show evidence of the private key corresponding to the public key just provided.

and I am unfortunately too stupid to understand this.

The spender wants to transfer money to destinatin address D. This destination address is the hash of the public key of the account to which the money is transfered. Right ?

But how can the spender produce a signature to show evidence of the private key? The spender does not have the private key to the "public key just provided", since this is the place he sends the money to.

So, obviously my understanding is wrong here.

Where is my mistake ?
1481443438
Hero Member
*
Offline Offline

Posts: 1481443438

View Profile Personal Message (Offline)

Ignore
1481443438
Reply with quote  #2

1481443438
Report to moderator
1481443438
Hero Member
*
Offline Offline

Posts: 1481443438

View Profile Personal Message (Offline)

Ignore
1481443438
Reply with quote  #2

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

Activity: 56



View Profile
June 11, 2011, 05:22:43 PM
 #2

The spender wants to transfer money to destinatin address D.
Here.
The spender controls address D and wants to transfer money to someone else.

Alice send money to Bob on his address D.
To spend them again, Bob will have to 1. Have the public key corresponding to the address D, 2. have the private key corresponding to the public key.
The script is evaluated to see if someone has the right to redeem received coins.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
June 11, 2011, 05:59:40 PM
 #3

The sender encumbers the coins with restrictions. The person who spends those coins meets the specified restrictions.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!