2
Many sources describe the double spending problem by saying something like "people cannot be able to spend the same bitcoin twice." [1][2][3] So are bitcoins, or the smallest allowable bitcoin fractions, distinctly labeled entities? My understanding was that they are not, and that the blockchain only records information on the amount of bitcoins each user has.
Also, if I am correct, what would double spending actually look like in the bitcoin system? If I send a transaction to one miner saying "I pay user X 1 bitcoin" and another transaction to a different miner saying "I pay user Y 1 bitcoin", then it seems like I haven't double-spent, but rather just paid two bitcoins in total, one to each user. Right?
So, does the amount in a single transaction (with one UTXO) have to all be spent at once? Suppose I received 1 BTC in one transaction (with 1 UTXO), and then I create two transactions, each referencing the same UTXO and each paying 0.5 BTC to different users. Have I double-spent? – WillG – 2018-09-03T03:06:03.723
@willg that is not a double-spend. You could do it as a single transaction or as two with the second using change returned from the first. The change UTXO is new. – RedGrittyBrick – 2018-09-03T07:32:08.637