top | item 26899045

(no title)

brbsix | 4 years ago

    If you own 2 BTC, there aren't specific Bitcoins that are marked for you.
If you mine 2 BTC, you posses the private keys to two very specific BTC (unspent outputs) on the blockchain. No one else may spend them without the private keys.

If you own 2 BTC in an exchange then it is true that you are unlikely to own any specific 2 BTC but that's an entirely different subject. At that point you don't really own them.

discuss

order

beefield|4 years ago

Out of curiosity, as I do not know enough details:

1. Alice owns one BTC

2. Bob owns one BTC

3. Both send their BTC to Charlie

4. Charlie sends one BTC to David

Question: Is there unambiguous way to define whether David got the BTC originally owned by Alice or the one owned by Bob? If yes, how? If no, doesn't that mean that there exist no specific bitcoins anywhere?

brbsix|4 years ago

Yes, absolutely. I'm not sure why I have been downvoted for this, as I haven't exactly said anything revelatory.

However I just want to give an obligatory caution that this is a very contrived answer. In the real world it can be difficult, there are typically many inputs and outputs to a transaction (and we are rarely able to associate names with addresses). There exists an entire field devoted to this called blockchain analysis or chainanalysis.

You can see for yourself. Choose any address on the BTC blockchain. See the transactions it has been involved in. You can inspect inputs and outputs. Here is an example: https://www.blockchain.com/btc/address/1CUTyyxgbKvtCdoYmceQJ...

cesarb|4 years ago

Yes. What you think of as a "specific Bitcoin" doesn't actually exist; what exists is an "unspent transaction output", which can be used as an input for a new transaction if certain conditions are met. So what really happens in your example scenario is:

1. Alice knows the private keys corresponding to one or more unspent outputs of transactions, with a total value of 1 BTC;

2. Bob knows the private keys corresponding to one or more unspent outputs of transactions, with a total value of 1 BTC;

3. Both create new transactions, specifying one or more of their formerly unspent outputs as inputs to the new transaction, and Charlie's address (which is a hash of a public key) as one of the outputs of the new transaction, that output having the value of 1 BTC;

4. Charlie creates a new transaction, with David's address as one of the outputs, having the value of 1 BTC. Note that, at this point, Charlie can chose which of the unspent outputs will be used as the input for the new transaction. It can be the output from Alice's transaction, it can be the output from Bob's transaction, it can be the output from some other transaction, or it can even be a combination of them: the transaction could have both Alice's and Bob's outputs as inputs, and have two outputs, one going to David, the other going to a new address (which can be a "change address" on the same wallet, or an address belonging to someone else).

john_alan|4 years ago

> Is there unambiguous way to define whether David got the BTC originally owned by Alice or the one owned by Bob?

Yes. BTC is completely traceable. You can follow the TXOs