-
Describe what Unspent Transaction Outputs (UTXO) are.
A UTXO is a transaction output that hasn’t been used (spent) to create a new transaction. After the UTXO is spent, it becomes a Spent Transaction Output, or, an input for another transaction.
@Alko89 answered it more efficiently: “UTXOs are unspent outputs of the previous transaction.” -
What would happen if you don’t have any single UTXO that is large enough to cover for your transaction?
My wallet will add up all my UTXOs.
If the sum is bigger than the amount needed to cover the new transaction, my wallet will construct the new transaction, pay the transaction fees, and give me back the remainder.
If the sum is equal to the amount needed for the new transaction and the transaction fees, than my wallet will construct the new transaction and pay the transaction fees. I will not be receiving something back.
If the sum is smaller than the amount needed for the new transaction and the transaction fees, my wallet will not be able to construct the new transaction. -
How would a bitcoin wallet specify the transaction fee when creating a transaction?
The transaction fee is equal to the difference between the input(s) and the output(s) of the transaction.
There are 2 scenarios for specifying the transaction fee:
- the wallets that allow their owner to choose the transaction fee (self-explanatory), and
- the wallets that propose a fee to their owner, based on the blockchain history (previous fees). This fee proposal is made by looking into the blockchain and providing a fee that will get the owner reasonably fast into the blockchain.
- How could you use the notion of transaction inputs and outputs to increase privacy in your transaction?
I would use the fact that every transaction input and output has a different address.
So, in the scenario where I would want to keep all of the received UTXOs (minus the transaction fee), I could ask my wallet to construct a new transaction with different outputs (and consequently different addresses) that all come back to me. That would be possible because all the different addresses would be part of the same wallet, mine.