Skip to main content

Questions tagged [utxo]

Unspent Transaction Outputs (UTXOs) are created by transactions and allow the owner of an associated address to spend a specific amount.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

Pycoin/Python spending part UTXO

I have a little App for me that uses the xpub to scan for all received coins. I am using Blockchain to collect the info. This is working fine, now I am facing the issue that when coins are spent, i ...
donbolli's user avatar
0 votes
1 answer
65 views

Please explain this weird bitcoin transaction

I am an EVM blockchain engineer and I started learning Bitcoin few days ago. this is my friend's address of bitcoin wallet: bc1pfatr7dvkz65y6p6xxv84anesttxc7q9etez8em5uyvll5kk8atpqrx3r2s and what ...
Matija's user avatar
  • 1
3 votes
2 answers
425 views

Is it possible to spend unconfirmed UTXO?

Is it possible to create transaction with input being an unconfirmed UTXO? If yes, what happens, if such a transaction has a higher fee than the fee of the transaction, that created the unconfirmed ...
Maxgmer's user avatar
  • 159
1 vote
2 answers
222 views

How do I know which UTXOs are safe to spend?

When we do a transaction, we pick UTXOs we want to spend. Sounds simple, just pick UTXOs with total value >= the amount you want to spend. But then inscriptions, rare sats etc. come into play. Now, ...
Maxgmer's user avatar
  • 159
2 votes
1 answer
82 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 ...
f321x's user avatar
  • 35
1 vote
1 answer
97 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 ...
Nerses Asaturyan's user avatar
0 votes
1 answer
46 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 ...
Lee's user avatar
  • 958
1 vote
2 answers
147 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.&...
Mikhail Yevchenko's user avatar
5 votes
1 answer
563 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 ...
n00p's user avatar
  • 151
1 vote
1 answer
66 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 (...
Novak's user avatar
  • 41
0 votes
1 answer
93 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 ...
Lee's user avatar
  • 958
1 vote
2 answers
130 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 ...
vi.su.'s user avatar
  • 1,852
3 votes
1 answer
82 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 &...
Shay's user avatar
  • 33
0 votes
1 answer
285 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 ...
Mark's user avatar
  • 9
2 votes
1 answer
140 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 ...
John's user avatar
  • 41
0 votes
2 answers
97 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' ...
richey's user avatar
  • 157
4 votes
1 answer
151 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?
Poseidon's user avatar
  • 673
1 vote
0 answers
148 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 ...
sgbbfbf's user avatar
  • 11
5 votes
1 answer
320 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 ...
nakwa's user avatar
  • 153
1 vote
0 answers
47 views

Indexing Spent UTXOs

I want to do analytics on bitcoin data and for this I would need to be able to check in what tx a spent UTXO is spent. For this Im going to index all spent UTXOs in a database and I need help with ...
bittzz's user avatar
  • 11
4 votes
1 answer
107 views

What's the mechanism preventing ASP to steal small virtual utxos on Ark?

According to https://www.arkpill.me/, a vUTXO owner is able to: Send the vUTXO with ASP collaboration. Unilaterally redeem the vUTXO using the pre-signed set of redeem transactions. If the vUTXO ...
Louis Singer's user avatar
3 votes
1 answer
166 views

What's causing the number of utxos to increase so quickly?

I was using gettxoutsetinfo a couple weeks ago (maybe a bit longer, can't remember) and the total number of txouts was something like 115 million. Now it's sitting at around 124 million. What's up ...
Marco's user avatar
  • 395
0 votes
1 answer
123 views

Script evaluated without error but finished with a false/empty top stack element (Electrum gives error)

My raw Transaction ...
Tepan's user avatar
  • 3
1 vote
0 answers
78 views

Error when trying to broadcast multi input tx (Programming Bitcoin by Jimmy Song)

I am reading Programming Bitcoin (chapter 7 exercise 5) and I have created a 2 inputs 1 output transaction on testnet which I have signed and it now verifies as true. When I go broadcast the ...
user144329's user avatar
1 vote
1 answer
1k views

How would I go about consolidating my UTXOs from DCA? [duplicate]

In the past one and half year, I've amassed a collection of 18 Unspent Transaction Outputs (UTXOs) through dollar cost averaging every month. Now, I hope to optimize these UTXOs by merging them into ...
Mani T's user avatar
  • 205
0 votes
1 answer
255 views

How to get UTXOs Data from the network Using python?

I want to have the Bitcoin Network UTXOs only for a data analysis project and the purpose is visualization of the time series of 1>BTC wallets . how can I do it using python ? ( or is there any ...
user143828's user avatar
3 votes
1 answer
128 views

Different balances between fullnode and bitcoin explorer

I looked up Block 200 at https://www.blockchain.com/explorer/blocks/btc/200 and found out that coinbase transaction was made and sent 50 BTC to 1HwmP33SaknLYShXfjVU8KmVThU3JiuVgH. But if I check utxos ...
Jin's user avatar
  • 61
6 votes
1 answer
674 views

What was the largest UTXO ever created in bitcoin’s entire history?

In transaction ID 8f8210694d3631a88ff410c573d80caf57db1d8af397bd47687aa4e4c1802464, mined in Block 104770, from early 2011, someone consolidated exactly 400000.00000000 BTC. Was this the biggest chunk ...
deyw's user avatar
  • 560
0 votes
2 answers
62 views

How can one make a transaction that any address can claim it just by solving the scriptPubKey?

I just learned that Mike Hearn created a Bitcoin Puzzle transaction where the first person to solve its scriptPubKey, could claim that transaction's amount as a reward. The thing is... Aren't all the ...
Pedro D.'s user avatar
0 votes
1 answer
52 views

Bitcoin-qt constructing a transaction and choosing the index of the ins and outs

While using Bitcoin-qt I understand there is the "Coin Selection" option. Is there also a way to choose the ordering index of the utxo's for the inputs or outputs? I'm trying to avoid the ...
Michael Tidwell's user avatar
1 vote
1 answer
118 views

About missing utxo in chainstate

I'm trying to obtain up-to-date database of the UTXO and keep updating it as new block is added. And for this, I want to use chainstate as a starting point of synching. I parsed chainstate to obtain ...
Jin's user avatar
  • 61
2 votes
1 answer
113 views

When does chainstate get updated?

What i'm trying to do now is reading LevelDB at chainstate folder to save all utxos at my own DB, and keep tracking the changes of utxos by looking at chainstate folder frequently. However, what i ...
Jin's user avatar
  • 61
2 votes
1 answer
3k views

python-bitcoin-utils - sendrawtransaction RPC error: {"code":-25,"message":"bad-txns-inputs-missingorspent"} when trying to broadcast my tx?

I am trying to create a bitcoin transaction to send all of the funds from tb1qj6zz96g8xgrwpgmdlvmkrjlwzz54sf47086yc9 to tb1qxgm8j0cq7tnftef3t563psl56gtmzxanm5c9uy. ...
ChristianOConnor's user avatar
2 votes
1 answer
138 views

Create offline bitcoin tx for p2pkh address in a user-friendly way?

You created vanity p2pkh-addresses in the past, you have access to the private keys (WIF) and addresses (1...). Now you want to spend the funds securely and in an offline way (you do not want to ...
hodddl's user avatar
  • 101
0 votes
1 answer
91 views

What happens if I `sendrawtransaction` but tx is invalid?

I manually select from my UTXOs, sign the tx (offline programmatical signing, not with wallet) and only interact with bitcoind when I call sendrawtransaction. But in the meantime another process might ...
thalisk's user avatar
  • 483
-1 votes
1 answer
194 views

How to implement stake.com model of deposit & withdraw flow for my crypto poker casino?

In stake.com for each user they generate separate bech32 address for deposit & displays the deposited amount as balance in top of the navigation bar. Similarly for withdraw they just ask for the ...
Kimi Raikkonen 9790's user avatar
2 votes
1 answer
54 views

How Wallet Mobile Softwares deal with Wallet Balance and Transaction history?

I'm trying to build a mobile software Wallet made in Flutter with a Bitcoin Core Full node that communicates with a Node.js backend. The problem I can't find the answer to is: how can wallet ...
Francesc0's user avatar
3 votes
1 answer
368 views

Optimising blockchain parsing with rpc + python

I have a python app to track and store utxo in a simple/flat structure that looks like this... from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException # track the utxo trackUtxoList = [] ...
d3wannabe's user avatar
  • 275
2 votes
2 answers
259 views

Selection of inputs from UTXO's who are not used by other unconfirmed transaction

How to prevent selection of unspent transaction from UTXO's which is already used in another unconfirmed transaction ? I am fetching list of UTXO's from here - https://mempool.space/testnet/docs/api/...
coder123's user avatar
1 vote
2 answers
494 views

Do know which UTXO fees are chosen from? Need help on an inscription in a native segwit wallet

I have a UTXO with an inscription that is now valuable, but I accidentally received it into a non-Taproot (bech32, native segwit) wallet. I'm now aware that because of this, I can't use Ordinal theory ...
souper fooly's user avatar
1 vote
1 answer
71 views

Transaction with txin, which ran out of money

How does transaction validation verify that I am not trying to send transactions with the same txin? Does transaction validation go through all the blocks and make sure I'm not trying to write off ...
6blBaJlblu reoJlor's user avatar
2 votes
2 answers
155 views

How should Bitcoin exchanges complete their UTXO consolidations and what factors should they consider?

How should Bitcoin exchanges complete their UTXO consolidations and what factors should they consider i.e. regularity, fixed or variable intervals, consolidate into how many UTXOs etc?
Michael Folkson's user avatar
1 vote
0 answers
73 views

latest UTXO databases received

There are many repositories that allow you to turn blockchain into UTXO. But I can't find where I could download ready-made UTXOs. I only find instructions on how to get such a database myself. ...
accountnujen's user avatar
0 votes
1 answer
43 views

Block Some UTXO [closed]

Is it possible to block some UTXO like PIVX, does is possible in bitcoin? if yes then how and doesn't it reduce supply from total supply of bitcoin? Let's Assume that account A got 5 bitcoin from Some ...
kishan's user avatar
  • 1
1 vote
0 answers
164 views

LND: How to use whole UTXO to open a channel?

How can I use an UTXO completely to open a Channel? Do I have to calculate the fees by hand to do this? If so, what would it be if I have a 1 million sat UTXO and set fees to 3sat/vB?
Luffy's user avatar
  • 11
2 votes
2 answers
208 views

Does an uneconomical output need to be kept in the UTXO set?

Even though it is consensus valid to spend a UTXO of an amount that is lower than the extra fees it would cost to include it in a transaction, most nodes wouldn't relay them because of the ...
leslie's user avatar
  • 52
0 votes
1 answer
121 views

Where to look for the lost BTC

My Tx on btc-testnet seems not transact all the BTC, but there's no UTXO back to my address. How to find the rest of the BTC? Tx 7e0cc1e5c944355e6d448de19a67421eef2a6b4ca4ed58fcd990ce75f66d07a9 1 ...
Paul Yu's user avatar
  • 35
0 votes
1 answer
280 views

Repeating identical outputs in bitcoin transaction

I am building a script that is indexing all bitcoin transactions in real time with all their details etc. But I am looking here at this transaction - https://www.blockchain.com/btc/tx/...
Dan's user avatar
  • 27
-1 votes
2 answers
76 views

How does the Bitcoin network "tie" bitcoins together to form UTXOs?

How does the Bitcoin network "tie" bitcoins together to form UTXOs? Why doesn't the Bitcoin Network just remember everyone's balance? What even is a Bitcoin, is it a string of code that can ...
Jamo's user avatar
  • 167
0 votes
1 answer
265 views

I can't figure out how to use importpubkey

I have been trying to import a public key into my bitcoin[1] node, but it keeps saying that it isn't valid. The address '18uLJohita1yWTAcDpoLPpd2vNAtnsLW4E' publishes front-pages of the New York times ...
John Rigler's user avatar

1
2 3 4 5
7