Are all UTXOs locked by an address spent in a transaction?UTXO all sent to change address?Signing...
How spaceships determine each other's mass in space?
If nine coins are tossed, what is the probability that the number of heads is even?
Professor forcing me to attend a conference
When to use the term transposed instead of modulation?
The (Easy) Road to Code
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Learning to quickly identify valid fingering for piano?
The need of reserving one's ability in job interviews
The past tense for the quoting particle って
Why are special aircraft used for the carriers in the United States Navy?
Is "cogitate" an appropriate word for this?
Is every open circuit a capacitor?
Why is there an extra space when I type "ls" on the Desktop?
Practical reasons to have both a large police force and bounty hunting network?
Is there a way to find out the age of climbing ropes?
What is "desert glass" and what does it do to the PCs?
Can a Mimic (container form) actually hold loot?
Dukha vs legitimate need
Do natural melee weapons (from racial traits) trigger Improved Divine Smite?
In the world of The Matrix, what is "popping"?
Is divide-by-zero a security vulnerability?
Linear Combination of Atomic Orbitals
Preparing as much as possible of a cake in advance
Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?
Are all UTXOs locked by an address spent in a transaction?
UTXO all sent to change address?Signing transactions with un/compressed keyStatic receive address instead of dynamic?Processing multiple transactions very fastWhere to find UTXO Metadata APIHow can you consolidate your personal UTXO set? (different wallet answers welcomed)what happens to UTXOs when a transaction output script is satisfied?How many change outputs are there in a Bitcoin transactionI seem to have too many unspent outputs for my given balance. What am I missing?Use UTXOs before transaction is signed/broadcasted
Imagine I have 2 UTXOs locked by my address, each of which allows me to spend 5 bitcoins.
If I subsequently want to send just 2 bitcoins to someone else, will both UTXOs be used as inputs in the transaction, where I now receive 8 BTC change as a single UTXO locked to my address, or as the value I want to spend can be covered by a single UTXO, is only one of the 5 BTC UTXOs spent by the transaction and I receive change in a new UTXO worth 3 BTC locked by my address. So now my address locks two UTXOs, one for 5 BTC which was not needed in this transaction, plus the change I just received for 3 BTC. Or something else?
utxo transaction-input address-reuse coin-selection
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Imagine I have 2 UTXOs locked by my address, each of which allows me to spend 5 bitcoins.
If I subsequently want to send just 2 bitcoins to someone else, will both UTXOs be used as inputs in the transaction, where I now receive 8 BTC change as a single UTXO locked to my address, or as the value I want to spend can be covered by a single UTXO, is only one of the 5 BTC UTXOs spent by the transaction and I receive change in a new UTXO worth 3 BTC locked by my address. So now my address locks two UTXOs, one for 5 BTC which was not needed in this transaction, plus the change I just received for 3 BTC. Or something else?
utxo transaction-input address-reuse coin-selection
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday
add a comment |
Imagine I have 2 UTXOs locked by my address, each of which allows me to spend 5 bitcoins.
If I subsequently want to send just 2 bitcoins to someone else, will both UTXOs be used as inputs in the transaction, where I now receive 8 BTC change as a single UTXO locked to my address, or as the value I want to spend can be covered by a single UTXO, is only one of the 5 BTC UTXOs spent by the transaction and I receive change in a new UTXO worth 3 BTC locked by my address. So now my address locks two UTXOs, one for 5 BTC which was not needed in this transaction, plus the change I just received for 3 BTC. Or something else?
utxo transaction-input address-reuse coin-selection
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Imagine I have 2 UTXOs locked by my address, each of which allows me to spend 5 bitcoins.
If I subsequently want to send just 2 bitcoins to someone else, will both UTXOs be used as inputs in the transaction, where I now receive 8 BTC change as a single UTXO locked to my address, or as the value I want to spend can be covered by a single UTXO, is only one of the 5 BTC UTXOs spent by the transaction and I receive change in a new UTXO worth 3 BTC locked by my address. So now my address locks two UTXOs, one for 5 BTC which was not needed in this transaction, plus the change I just received for 3 BTC. Or something else?
utxo transaction-input address-reuse coin-selection
utxo transaction-input address-reuse coin-selection
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
Murch♦
35.3k27115331
35.3k27115331
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
Simon O'HanlonSimon O'Hanlon
1184
1184
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Simon O'Hanlon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday
add a comment |
1
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday
1
1
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday
add a comment |
1 Answer
1
active
oldest
votes
Transactions explicitly refer to which UTXOs they are spending.
You can construct a transaction which only spends one of the two 5-BTC UTXOs, and sends 2 BTC to the destination and 3 BTC to a (possibly new) address of yourself.
You can also construct a transaction which spends both, and sends 8 BTC back to yourself. Or it could have multiple outputs that send funds back to yourself, summing up to 8 BTC.
In short: there is nothing special about the two UTXOs that share an address, apart from the fact that the same key can sign for both - but it doesn't have to.
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited). Please, Correct me if I'm wrong, Peter
– FKrauss
9 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "308"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Simon O'Hanlon is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f85113%2fare-all-utxos-locked-by-an-address-spent-in-a-transaction%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Transactions explicitly refer to which UTXOs they are spending.
You can construct a transaction which only spends one of the two 5-BTC UTXOs, and sends 2 BTC to the destination and 3 BTC to a (possibly new) address of yourself.
You can also construct a transaction which spends both, and sends 8 BTC back to yourself. Or it could have multiple outputs that send funds back to yourself, summing up to 8 BTC.
In short: there is nothing special about the two UTXOs that share an address, apart from the fact that the same key can sign for both - but it doesn't have to.
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited). Please, Correct me if I'm wrong, Peter
– FKrauss
9 hours ago
add a comment |
Transactions explicitly refer to which UTXOs they are spending.
You can construct a transaction which only spends one of the two 5-BTC UTXOs, and sends 2 BTC to the destination and 3 BTC to a (possibly new) address of yourself.
You can also construct a transaction which spends both, and sends 8 BTC back to yourself. Or it could have multiple outputs that send funds back to yourself, summing up to 8 BTC.
In short: there is nothing special about the two UTXOs that share an address, apart from the fact that the same key can sign for both - but it doesn't have to.
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited). Please, Correct me if I'm wrong, Peter
– FKrauss
9 hours ago
add a comment |
Transactions explicitly refer to which UTXOs they are spending.
You can construct a transaction which only spends one of the two 5-BTC UTXOs, and sends 2 BTC to the destination and 3 BTC to a (possibly new) address of yourself.
You can also construct a transaction which spends both, and sends 8 BTC back to yourself. Or it could have multiple outputs that send funds back to yourself, summing up to 8 BTC.
In short: there is nothing special about the two UTXOs that share an address, apart from the fact that the same key can sign for both - but it doesn't have to.
Transactions explicitly refer to which UTXOs they are spending.
You can construct a transaction which only spends one of the two 5-BTC UTXOs, and sends 2 BTC to the destination and 3 BTC to a (possibly new) address of yourself.
You can also construct a transaction which spends both, and sends 8 BTC back to yourself. Or it could have multiple outputs that send funds back to yourself, summing up to 8 BTC.
In short: there is nothing special about the two UTXOs that share an address, apart from the fact that the same key can sign for both - but it doesn't have to.
answered yesterday
Pieter WuillePieter Wuille
47.2k399158
47.2k399158
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited). Please, Correct me if I'm wrong, Peter
– FKrauss
9 hours ago
add a comment |
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited). Please, Correct me if I'm wrong, Peter
– FKrauss
9 hours ago
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Thank you for this clear explanation of the wonderful flexibility of the UTXO model.
– Simon O'Hanlon
yesterday
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.
5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited) . Please, Correct me if I'm wrong, Peter– FKrauss
9 hours ago
Remember to also leave some room for the mining fee as it is, by definition the diff between the utxo set minus the spend tx.
5 utxo = 2btc tx + 2.9 btc tx( change) +(0.1 btc miner fee is not expicited) . Please, Correct me if I'm wrong, Peter– FKrauss
9 hours ago
add a comment |
Simon O'Hanlon is a new contributor. Be nice, and check out our Code of Conduct.
Simon O'Hanlon is a new contributor. Be nice, and check out our Code of Conduct.
Simon O'Hanlon is a new contributor. Be nice, and check out our Code of Conduct.
Simon O'Hanlon is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Bitcoin Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f85113%2fare-all-utxos-locked-by-an-address-spent-in-a-transaction%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
As an aside, this question helps exemplify why address reuse is very bad for privacy: the person you pay 2 BTC to will be able to see that you control an address that holds many UTXOs, rather than just seeing the single UTXO that you spent to pay them. So with address reuse, you grant anyone you transact with the ability to see a much larger portion of your financial history.
– chytrik
yesterday