Questions tagged [utxo]
Unspent Transaction Outputs (UTXOs) are created by transactions and allow the owner of an associated address to spend a specific amount.
308
questions
2
votes
1
answer
64
views
Most efficient way to check if utxos are consumed in mempool txs using core rpc and rust
I try to concurrently monitor a bunch of signed but non published transactions. I want to detect asap if any of the inputs into these bond transactions have been used in another transaction in my ...
1
vote
1
answer
94
views
How Does the Blockchain Recognize Locked UTXOs in a PSBT if the PSBT Isn't Stored On-Chain?
I'm currently exploring the use of Partially Signed Bitcoin Transactions (PSBTs) and have a question about the locking mechanism of UTXOs during the signing process. I understand that as a first ...
0
votes
1
answer
38
views
Must input UTXO references be unique in a transaction, and/or unique in a block?
Must input UTXO references (txid + vout) be unique in a transaction, and/or be unique in a block?
Put another way, is it a rule that UTXOs can be consumed piecemeal in transactions and blocks, so long ...
1
vote
2
answers
118
views
How to avoid "Unconfirmed UTXOs are available, but spending them creates a chain of transactions that will be rejected by the mempool"?
I'm encountering an issue with Bitcoind where I frequently get the error:
"Unconfirmed UTXOs are available, but spending them creates a chain of transactions that will be rejected by the mempool.&...
5
votes
1
answer
515
views
Can an unconfirmed transaction be confirmed several years later?
Suppose that I make a transaction, but due to a low fee it is not confirmed even after several weeks. The transaction is then removed from the mempool of most nodes (and also my wallet disregards the ...
1
vote
1
answer
58
views
I can't parse the UTXO from the chainstate
I have a problem with reading tx out from the Bitcoin Core LevelDB chainstate storage. I know that the structure of the current version of the chainstate is key => value where the key is a prefix (...
0
votes
1
answer
90
views
How many nodes and edges does the UTXO-coinbase graph have?
Imagine a graph where the leaf nodes are the UTxOs, the intermediate nodes are spent TxOs (vout), the root nodes are the blockheaders and coinbase merklepairs, and the edges are the data required to ...
1
vote
2
answers
129
views
What's max possible tx/second right now?
What's max possible tx/second right now, if we use all the latest Bitcoin tech multi-sig, MAST + Taproot, without increasing block size? Let's say our goal is simple tx finality and 10b utxo.
How do ...
3
votes
1
answer
75
views
When chains branch, are there multiple UTXO sets?
If there are "fork" chains coming off a block, how do we keep track of the UTXOs of different public keys?
Would I just store UTXOs derived from the longest chain and recalculate if another &...
0
votes
1
answer
225
views
What is arbitrary witness data and unspent transaction output?
I'm learning about bitcoin, and I keep seeing arbitrary witness data and I'm confused what it really means. Like what do they mean about arbitrary, does that just mean the data can be anything you ...
2
votes
1
answer
133
views
What does a utxo output or vout of 0 mean?
If I sent myself bitcoin to a new address on a different hardware wallet and it was all of my funds with no change, is it normal for the utxo output or "vout" to be 0?
It is my understanding ...
0
votes
2
answers
88
views
Fragmentation of UTXOs?
Every Bitcoin transaction results in a transaction split, as we know: a) receiving amount and b) transaction fee. Transaction fees are usually a few thousand satoshis. Then there's c) the 'change' ...
4
votes
1
answer
150
views
Is there a way to push the output value of a UTXO to the stack in Bitcoin script?
When defining the spending conditions for a UTXO can one use the output value in a script by pushing it to the stack?
1
vote
0
answers
140
views
Chain 2 transactions in same block with bitcoinlib in Python
I asked yesterday if it's possible to have a tx from A to B then B to C in the same block, with the second tx spending the UTXO of the first one (with initial balance of B is 0)
Apparently it is : Can ...
5
votes
1
answer
317
views
How can I cheaply consolidate P2PKH outputs?
I have thousands of UTXOs that were created for experimental purposes back in 2016, programmatically, using P2PKH transactions, each generating hundreds of 10K-ish sat outputs.
Since these are now ...