Author

Topic: How is coin ownership verified (technically) (Read 908 times)

newbie
Activity: 7
Merit: 0
Thanks - I'am wondering how I could miss this information ... but the wiki explains it all.
newbie
Activity: 11
Merit: 0
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.
newbie
Activity: 7
Merit: 0
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!
Jump to: