Bitcoin Forum
May 06, 2024, 10:38:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How is coin ownership verified (technically)  (Read 905 times)
tanascius (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 08, 2011, 09:41:03 PM
 #1

Hi,

please consider the following example:
* I bought 10 BCs from ten different people. The ten necessary transactions are scattered through the blockchain (I bought some bitcoins years ago, some just days ago).
* Now I spend the ten BCs and send them to a new owner

I am wondering how the ownership of the ten coins are verified by the nodes. Are there lookup tables for each account implemented, so all nodes just know that my account owns 10 BCs. Or do they look for the ten different transactions in the whole blockchain and search the history? (It certainly could be done both ways, but which one is actually used in current implementations?)

Now, what happens, when I received the 10 BCs with 10 different adresses? Does my client know, that it has to create ten transactions with ten different signatures to get the 10 BCs to the new owner? Or can the 10 BCs be combined somehow?

Thanks for your help!
1715035138
Hero Member
*
Offline Offline

Posts: 1715035138

View Profile Personal Message (Offline)

Ignore
1715035138
Reply with quote  #2

1715035138
Report to moderator
1715035138
Hero Member
*
Offline Offline

Posts: 1715035138

View Profile Personal Message (Offline)

Ignore
1715035138
Reply with quote  #2

1715035138
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715035138
Hero Member
*
Offline Offline

Posts: 1715035138

View Profile Personal Message (Offline)

Ignore
1715035138
Reply with quote  #2

1715035138
Report to moderator
ArdaXi
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
June 08, 2011, 09:46:59 PM
 #2

Have a look at the wiki page.

Basically, the way it works is, for every coin you reference the output at which it was sent to you as an input. Those have your public key in it. You then sign the transaction using your key. The nodes check whether the two match.
tanascius (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
June 08, 2011, 10:05:36 PM
 #3

Thanks - I'am wondering how I could miss this information ... but the wiki explains it all.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!